-
-
Save capfsb/3e371f9ae274e355e3e2f130bac5ccfa to your computer and use it in GitHub Desktop.
CMD Usefulls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Количество нажатий клавиш | |
xinput --test-xi2 | awk 'BEGIN { count=0 } /RawKeyPress/ { count=count+1; printf "\r%-6d", count }' | |
Cмердженные ветки гита, например чтобы потому удалить их | |
git branch --merged | egrep -v "(^\*|master|dev)" | |
for branch in `git branch --merged`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r | |
В awesome активировать мышь в русской раскладке | |
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY | |
Отключить затирание удалённых комитов | |
git config --global gc.auto 0 | |
Всключить иконку дробокса в трее | |
dropbox stop && dbus-launch dropbox start | |
Отключить chmod проверку на проде | |
git config core.fileMode false | |
Востановить локалстеши | |
gitk --all $( git fsck --no-reflog | awk '/dangling commit/ {print $3}' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment