brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
pyenv install 3.5.1
pyenv global 3.5.1
pip install -U pip
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
# Config | |
config windowHintsFontSize 100 | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
config windowHintsIgnoreHiddenWindows false | |
# General aliases | |
alias sox screenOriginX |
###各种电源方案设置,比如盒盖不休眠 /etc/systemd/logind.conf systemctl restart systemd-logind
###静态路由设置 vi /etc/sysconfig/network-scripts/ifcfg-enp7s0 BOOTPROTO=static IPADDR=192.168.88.99 NETMASK=255.255.255.0
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
#!/bin/sh | |
# to auto-run: | |
# curl -fsSL https://gist.github.com/mrkyle7/e2574cb5feb633dea7a7/download | tar -xf- && bash giste2574cb5feb633dea7a7*/setup.sh && rm -r giste2574cb5feb633dea7a7* | |
##### Preparations ##### | |
#----------------------- | |
# Description is available at http://mlayer.org/tech/2014/11/25/setup-mac-os-x.html | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install caskroom/cask/brew-cask # makes available to install apps as packages |