Skip to content

Instantly share code, notes, and snippets.

View Enzime's full-sized avatar
❄️
Nixing into the night

Michael Hoang Enzime

❄️
Nixing into the night
View GitHub Profile
@dbohdan
dbohdan / Zsh: change directory using ranger
Created August 17, 2013 16:15
Adopted from the "Bash: cd to last path after exit" example in the man page for ranger(1).
ranger-cd() {
tempfile=$(mktemp)
ranger --choosedir="$tempfile" "${@:-$(pwd)}" < $TTY
test -f "$tempfile" &&
if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then
cd -- "$(cat "$tempfile")"
fi
rm -f -- "$tempfile"
}
@Francesco149
Francesco149 / shige-skins.md
Last active March 31, 2024 14:53
Shigetora / Cookiezi skin compilation
@AdamGerthel
AdamGerthel / index.js
Created July 16, 2019 11:55
Tinder data funnel script (node.js)
/*
* Node.js helper script for creating a SankeyMATIC funnel
*
* Step 1: Request Tinder from https://account.gotinder.com/data
* Step 2: Wait for your data
* Step 3: Place the data.json file from your data folder next to this script
* Step 4: Run the script: `$ node index.js`
* Step 5: Copy and paste the console output here: http://sankeymatic.com/build/
*/