Skip to content

Instantly share code, notes, and snippets.

View forivall's full-sized avatar
๐Ÿ•ด๏ธ
levitating

Emily Marigold Klassen forivall

๐Ÿ•ด๏ธ
levitating
View GitHub Profile
@keikoro
keikoro / repo_from_cli.md
Last active November 14, 2018 15:42
Create repositories on GitHub, GitLab, Bitbucket from the command line.

there's a bash script for this now: clirepo

@brianarn
brianarn / akkala-lyrics.txt
Created April 4, 2017 21:43
Akkala (cover of "Africa" by Toto)
I hear no princess in the night
But Link hears all her whispers of defenestration
Heโ€™s coming in, paraglider flight
The sheikah slate reflects the past that guides him toward salvation
Got stopped by an old man along the way
Hoping to find some long forgotten tech or ancient memories
He turned to me as if to say, โ€œHurry boy, sheโ€™s waiting there for you"
It's gonna take a lot to clean up all that evil goo
There's nothing in a hundred years or more that they could do
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active April 12, 2025 06:26
Hyperlinks in Terminal Emulators
@fauxpark
fauxpark / applefn.patch
Last active April 11, 2025 04:07
QMK Apple Fn
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 18f8b0bbfc..4ef3e230e4 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
endif
endif
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes)
+ OPT_DEFS += -DAPPLE_FN_ENABLE
@fnky
fnky / ANSI.md
Last active April 17, 2025 07:13
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@detunized
detunized / join.sh
Last active March 6, 2024 20:09
Join repos into subfolders with flat history
#!/bin/bash
set -euo pipefail
$REPO_DIR=~/devel
repos="1password bitwarden dashlane lastpass opvault passwordbox roboform stickypassword truekey zoho-vault"
# pull all repos
(
for repo in $repos; do
echo $repo
@FradSer
FradSer / iterm2_switch_automatic.md
Last active April 6, 2025 09:19
Switch iTerm2 color preset automatic base on macOS dark mode.

The latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.

Vist iTerm2 homepage or use brew install iterm2-beta to download the beta. Thanks @stefanwascoding.


  1. Add switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with:
@WebInspectInc
WebInspectInc / sublime-merge-commands.md
Last active June 7, 2024 15:04
Sublime Merge Commands

Sublime Merge Commands

Lots of commands available for keybindings in Sublime Merge. Not a comprehensive list, but a decent start.

  • exit_blame
  • exit_tree_mode
  • toggle_search
  • hide_command_status
  • hide_overlay
@smashercosmo
smashercosmo / generate.js
Created May 22, 2019 12:45
Generate fake data out of TypeScript types
const execa = require('execa')
const jsf = require('json-schema-faker')
;(async () => {
const { stdout } = await execa(
'./node_modules/.bin/ts-json-schema-generator',
[
'--path',
'./organizations.ts',
'--type',
@lexrus
lexrus / ToggleHDRCatalina.applescript
Created March 26, 2020 02:26
Workaround the HDR bug of macOS Catalina 10.15.4
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
activate
delay 1
click menu item "Displays" of menu "View" of menu bar 1
delay 1