Skip to content

Instantly share code, notes, and snippets.

@podkovyrin
podkovyrin / podkovyr_btt.json
Last active Jan 29, 2020 — forked from vas3k/vas3k_btt_v2.json
BetterTouchTool Preset
View podkovyr_btt.json
{
"BTTPresetName" : "podkovyr-btt-preset",
"BTTPresetUUID" : "4DA9BBE8-9392-4B6C-A22B-AAF8189CE7C1",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "BT.G",
"BTTAppName" : "Global",
"BTTAppSpecificSettings" : {
},
@podkovyrin
podkovyrin / erase-git.sh
Last active Dec 10, 2015 — forked from k06a/erase-git.sh
Git remove some dirs
View erase-git.sh
# Fetch
git clone https://github.com/username/reponame reponame
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done
# Analyze
curl https://bootstrap.pypa.io/get-pip.py > get-pip.py && sudo python get-pip.py && rm get-pip.py
sudo pip install git-fat
git fat -a find 1000000
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4