Skip to content

Instantly share code, notes, and snippets.

View elaijuh's full-sized avatar
🪴
Growing

hjl elaijuh

🪴
Growing
View GitHub Profile
@elaijuh
elaijuh / .slate
Last active August 22, 2016 03:29
slate config
# 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

install pyenv and python

brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.zshrc

pyenv install 3.5.1
pyenv global 3.5.1

pip install -U pip

###各种电源方案设置,比如盒盖不休眠 /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

@elaijuh
elaijuh / setup.sh
Last active August 29, 2015 14:21 — forked from mrkyle7/setup.sh
#!/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