vim
touch ~/.vimrc echo "syntax on" >> ~/.vimrc
|
ruby
brew install rbenv
- 用rbenv控制ruby版本
rbenv install 2.5.3
- 安装2.5.3版本
rbenv global 2.5.3
- 默认2.5.3
export PATH=~/.rbenv/shims:$HOME/bin:/usr/local/bin:$PATH
- 默认2.5.3的条件
gem update --system
- 更新gem
can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
更新解决
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
- 国内源
gem sources -l
- 看一眼
bundle config mirror.https://rubygems.org https://gems.ruby-china.com
- 工程里设置国内源
node
brew install node
db
brew install postgresql
pg_ctl -D /usr/local/var/postgres start
- 启动
brew services start postgresql - 维持
brew postgresql-upgrade-database - 迁移
sublime text
version 3176
fileoffset 0x85036
- assemble mov rax, 1 retn
详情咨询辣个女人,兼职32号技师和64号技师
brew cask install sublime-text` printf '\x48\xc7\xc0\x00\x00\x00\xc3' | dd seek=$((0x85036)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
|
version 6.31 (1090)
fileoffset 0x64b36
brew cask install istat-menus printf '\x83' | dd seek=$((0x64b36)) conv=notrunc bs=1 of=/Applications/iStat\ Menus.app/Contents/MacOS/iStat\ Menus
|