| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use framework "Foundation" | |
| use framework "AppKit" | |
| use scripting additions | |
| tell application "System Settings" | |
| activate | |
| current application's NSWorkspace's sharedWorkspace()'s openURL:(current application's NSURL's URLWithString:"x-apple.systempreferences:com.apple.Displays-Settings.extension") | |
| delay 0.5 | |
| #!/bin/bash | |
| gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
I live abroad and have only 1 sim card slot in my phone. It holds the SIM card of the country that I am in right now. But I also have another SIM card from my home country which receives my banking SMS codes. I can't afford to lose the "home" SIM card, so I decided to keep it in my house and forward the SMS messages to my main phone and computer via Telegram (just like Whatsapp, but so much better).
I also made a choice to use a 4G/LTE stick instead of 3G, because the 3G signal in my area is getting worse in worse due to operators upgrading their equipment.
- Raspberry Pi 4
- Huawei E8372 (but can be any similar)
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
| { | |
| "PD-KB401W": { | |
| "typeNumber": "PD-KB401W", | |
| "layoutType": 1, | |
| "colorType": 0, | |
| "series": 0, | |
| "layoutTypeName": 1, | |
| "postfix": "", | |
| "isKeymapChangeable": true, | |
| "firmTypeNumber": "AHHX01", |
| #! /bin/bash | |
| if [ -z "$1" ]; then | |
| echo "please supply at least one server to connect to" >&2 | |
| exit 1 | |
| fi | |
| target=multi-ssh-$$ | |
| if [ -z "$TMUX" ]; then |
