Skip to content

Instantly share code, notes, and snippets.

View DanielMastell's full-sized avatar
🎯
Focusing

Daniel DanielMastell

🎯
Focusing
View GitHub Profile
@losnir
losnir / motor_power_constants.asm
Last active January 15, 2025 21:24
Xiaomi M365 Custom Firmware
0x00004e1e movw r2, #0xc977
0x00004e26 movw r1, #0xc977
0x00004e3e movw r2, #0xc977
0x00004e46 movw r1, #0xc977
0x00004e5c movw r3, #0xc977
@squarism
squarism / iterm2.md
Last active December 9, 2025 19:43
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key