Open waterloo3122 opened 5 years ago
refer to zilongshanren's article
brew cask install emacs
brew tap caskroom/fonts
brew cask install font-source-code-pro
brew install grep
brew install coreutils
cd ~
mv .emacs.d .emacs.d.bak
mv .emacs .emacs.bak
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
git clone https://github.com/waterloo3122/my_spacemacs_private.git ~/.spacemacs.d
https://github.com/brahma-dev/synergy-stable-builds/releases
generrate registry according to: https://mrlithium.blogspot.com/2017/06/synergy-serial-number-activation-key.html
vim ./start-all.sh
echo 'existing pids are:'
ps axu |grep 'ss-local\|client_darwin_amd64'| grep -v 'grep'| awk '{print $2}'
ps axu |grep 'ss-local\|client_darwin_amd64'| grep -v 'grep' | awk '{print $2}' |xargs kill -9
nohup /Users/pp/kcptun/client_darwin_amd64 -c /Users/pp/kcptun/kcptun-config.json >> /Users/pp/kcptun/kcp.log 2>&1 &
sleep 1;
ss-local -c /Users/pp/kcptun/shadowsocks-kcptun.json >> /Users/pp/kcptun/ss.log 2>&1 &
echo "new pids are"
ps axu |grep 'ss-local\|client_darwin_amd64'|grep -v 'grep' | awk '{print $2}'
System Proxy -> Network -> Advanced -> Proxies -> add whatever you need -> ok -> Click Apply to make setting effect
禁用alt + 字符输入特殊字符 Cmd+., Profiles, Keys and choose Left option Key acts as: +Esc.
brew install ntfs-3g
sudo ntfs-3g /dev/disk2s2 /Volumes/ntfs
shows
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
resolve:
sudo ntfsfix /dev/disk2s2
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
System Preferences sharing choose 'Screen Sharing' and 'Remote Login'
spotlight search 'screen sharing' input the ip of the target machine
brew
install
uninstall
brew install without update
HOMEBREW_NO_AUTO_UPDATE=1 brew install …
install zsh
item2
brew cask install iterm2
wget http://ethanschoonover.com/solarized/files/solarized.zip
change theme to agnoster
wget https://github.com/powerline/fonts/blob/master/Meslo%20Slashed/Meslo%20LG%20M%20Regular%20for%20Powerline.ttf
change iterm font to Meslo LG M Regular for Powerline.ttf
brew install zsh-syntax-highlighting
vim ~/.zshrc
在最后一行增加下面配置:source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
vim ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Profiles -> Colors ->ANSI Colors->Bright->586e75
use command + . to hide or show iterm
install emacs
install proxycap
install ShiftIt
install Dropbox
install sharemouse
clover
other stuff
brew install shadowsocks-libev
brew cask install google-chrome
brew cask install shiftit
brew install tmux
添加id_rsa到mac的keychain
ssh-add -K ~/.ssh/[your-private-key]
vim .ssh/config
chord 700 ~/.ssh
chmod 600 ~/id_rsa