Input file:
$ cat foo
qwe
123
bar
I hereby claim:
To claim this, I am signing this object:
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |
I hereby claim:
To claim this, I am signing this object:
Python
I am using the built in GSM (UMTS) modem of my Thinkpad X1 extensively because I am often in places with flaky internet connections. I connect through the standard Network Manager on Ubuntu and everything works fine. There was one major annoyance though. Every time I wanted to top up the SIM balance or book a new package, I needed a phone to send and receive USSD codes. So I took some time to figure out how to do it from the shell. I wrote this down as a help for others and a reminder for myself. Without further ado...
First intsall gammu and picocom.
➜ ~ sudo apt-get install -y gammu picocom
[2025.07.15 03:55:35] Launched version: 5016003, install beta: [FALSE], alpha: 0, debug mode: [TRUE] | |
[2025.07.15 03:55:35] Executable dir: /snap/telegram-desktop/6727/usr/bin/, name: telegram-desktop | |
[2025.07.15 03:55:35] Initial working dir: /home/user/ | |
[2025.07.15 03:55:35] Working dir: /home/user/snap/telegram-desktop/6727/.local/share/TelegramDesktop/ | |
[2025.07.15 03:55:35] Command line: /snap/telegram-desktop/6727/usr/bin/telegram-desktop -- | |
[2025.07.15 03:55:35] Executable path before check: /snap/telegram-desktop/6727/usr/bin/telegram-desktop | |
[2025.07.15 03:55:35] Logs started | |
[2025.07.15 03:55:35] App ID: telegram-desktop_telegram-desktop | |
[2025.07.15 03:55:36] Connecting local socket to snap.telegram-desktop.288e351b4b88a169d4560c767bf79f56... | |
[2025.07.15 03:55:36] Socket connect error 0, starting server and app... |