Skip to content

Commit fc8b198

Browse files
committed
docs: add to gems of january
1 parent 54803d0 commit fc8b198

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
47.1 KB
Loading

src/content/blog/2025/01/31/gems-of-january.en.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,36 @@ To update existing users, you can run the following SQL query:
6262
UPDATE public.user SET email_notifications_preference = 'onmention';
6363
```
6464

65+
### Break out from a locked SSH session
66+
67+
Sometimes you are in a locked SSH session and you can't exit. You can try the following key combination:
68+
69+
<kbd>Enter</kbd> then <kbd>~</kbd> and <kbd>.</kbd>
70+
71+
To print the escape character, you can also use the following key combination:
72+
73+
<kbd>Enter</kbd> then <kbd>~</kbd> and <kbd>?</kbd>
74+
75+
This will result in the following output:
76+
77+
```txt
78+
Supported escape sequences:
79+
~. - terminate connection (and any multiplexed sessions)
80+
~B - send a BREAK to the remote system
81+
~R - request rekey
82+
~V/v - decrease/increase verbosity (LogLevel)
83+
~^Z - suspend ssh
84+
~# - list forwarded connections
85+
~& - background ssh (when waiting for connections to terminate)
86+
~? - this message
87+
~~ - send the escape character by typing it twice
88+
(Note that escapes are only recognized immediately after newline.)
89+
```
90+
6591
## Other
6692

6793
### SBB: Offered tickets are not always the cheapest option
94+
95+
I recently noticed that the SBB app does not always offer the cheapest ticket. For example when you want to travel from Meilen to the Rhine Fall, the app offers a ticket for CHF 29.00. It includes all public transport in the cantons of Zurich and Schaffhausen for a whole day. However, if you buy a 9 o'clock pass for CHF 13.50 and a ticket from Rafz to the Rhine Fall and back for CHF 10.00, you pay only CHF 23.50. You also get an all day ticket on this track. This is CHF 5.50 or ~19% cheaper. I think the app should show the cheapest option first.
96+
97+
![Bad offer by the SBB app](./bad-offer-sbb.jpg)

0 commit comments

Comments
 (0)