A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
uninstall JetBrains settings:curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
backup JetBrains settings:curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-backup.sh | bash -s
| #!/usr/bin/env sh | |
| ## I don't have any devices running Android OS now. These settings may have been outdated but I cannot verify it. | |
| adb shell settings put global captive_portal_fallback_url http://g.cn/generate_204 | |
| adb shell settings put global captive_portal_http_url http://www.google.cn/generate_204 | |
| adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204 | |
| adb shell settings put global captive_portal_other_fallback_urls http://www.qualcomm.cn/generate_204 |