因为中文密码压缩的时候,可能用的是不同的字符编码,所以有时候会出现不同系统下解压显示『密码错误』的信息。
Continue readingCategory Archives: OS X
My Bash Set Up
Every once in a while I end up moving to a new setup, and have to do this all over again. Here for my own reference:
1. Color scheme
First, the color scheme I like:
Continue readingBash history search autocomplete
https://github.com/junegunn/fzf#using-homebrew
Worth installing everywhere. On OSX, simply:
$ brew install fzf
# To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/install
Secondary Screen Lagging on Mac
What worked for me was updating the “Refresh Rate” from 30HZ to 60HZ:
Continue readingUseful Commands for Cleaning up Storage
To sort folders by their size, recursively:
$ du -h | sort -h
Then, to delete any folder of the name to_delete
:
$ rm -rf `find . -type d -name to_delete`
How to Kill Whatever’s Running on Port 80
In terminal:
$ lsof -t -i tcp:80 | xargs kill
Parallels Breaking Wacom
If your Wacom tablet stopped working after you installed Parallels.
Continue readingMac: How to Find Out Which App Is Blocking a Hotkey
If some hotkey doesn’t work for you, it’s likely that it got blocked by some other app in the background.
Continue readingHow to Install Android SDK
Setting up React Native Environment following create-react-native-app.
You have to install development tools first.
That was a very vague error message when installing certain gems. What we need to do is: