Revisions
-
zircote revised this gist
Jul 28, 2015 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ### Install from Third-Party Websites * Browsers * [Google Chrome](https://chrome.google.com) * [Firefox](http://firefox.com) * Utilities @@ -20,9 +20,7 @@ Fonts ----- [Mensch coding font](http://robey.lag.net/2010/06/21/mensch-font.html) `open http://robey.lag.net/downloads/mensch.ttf` # Folders of interest @@ -38,6 +36,9 @@ mkdir -p ~/{Projects,Virtualenvs} ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` #Xcode Command Line Tools `Xcode > Preferences > Downloads > Command Line Tools` ## Install Homebrew extension Cask ```sh -
zircote revised this gist
Jul 28, 2015 . 1 changed file with 9 additions and 116 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,33 +2,19 @@ ## Install Software ### Install from App Store * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336) ### Install from Third-Party Websites * Browsers * Chrome (https://chrome.google.com) * [Firefox](http://firefox.com) * Utilities * [1Password](https://agilebits.com/onepassword/mac) * [iTerm 2](https://iterm2.com/downloads.html) Fonts ----- @@ -61,8 +47,8 @@ brew install caskroom/cask/brew-cask ### Install applications via Homebrew Cask ```sh for app in atom github vagrant vagrant-manager virtualbox \ box-sync dropbox slack boot2docker intellij-idea; do brew cask install ${app} done ``` @@ -95,6 +81,7 @@ virtual env. ```sh # pip should only run if there is a virtualenv currently activated pip install virtualenvwrapper export PIP_REQUIRE_VIRTUALENV=true # global pip access via `gpip` gpip(){ @@ -108,8 +95,7 @@ for pkg in pip setuptools virtualenv virtualenv awscli glances httpie; do done # install virtualenv wrapper echo "export WORKON_HOME=~/Virtualenvs" echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.extra" @@ -123,6 +109,7 @@ pip install sphinx markdown ```sh aws configure ``` ### AWS KeyCHain Util [aws-keychain-util](https://github.com/zwily/aws-keychain-util) @@ -133,31 +120,6 @@ aws-creds init aws-creds add aws-creds ls ``` ### Shell Install custom .dotfiles (optional) @@ -227,35 +189,6 @@ export DOCKER_TLS_VERIFY=1 export DOCKER_HOST=tcp://${address_of_boot2docker_or_remote_docker_instance} ``` ### PostgreSQL ```sh @@ -280,48 +213,8 @@ mvim ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # Start PostgreSQL launchctl start pg # Create DB createdb `whoami` ``` -
zircote revised this gist
Feb 4, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -315,9 +315,9 @@ echo "unset DYLD_LIBRARY_PATH" >> ${VIRTUAL_ENV}/bin/postdeactivate echo "unset LD_LIBRARY_PATH" >> ${VIRTUAL_ENV}/bin/postdeactivate #Add post activate hooks to setup the environment echo "export ORACLE_HOME=\${VIRTUAL_ENV}/lib/oracle" >> ${VIRTUAL_ENV}/bin/postactivate echo "export DYLD_LIBRARY_PATH=\${ORACLE_HOME}" >> ${VIRTUAL_ENV}/bin/postactivate echo "export LD_LIBRARY_PATH=\${ORACLE_HOME}" >> ${VIRTUAL_ENV}/bin/postactivate ``` **for projects that will use oracle in the future you should plan to use the following commands:** -
zircote revised this gist
Feb 4, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,7 @@ mkdir -p ~/{Projects,Virtualenvs} ## Install Homebrew ```sh ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ## Install Homebrew extension Cask -
zircote revised this gist
Feb 3, 2015 . 1 changed file with 12 additions and 25 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,10 +5,7 @@ ### Install from App Store * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4) ### Install from Third-Party Websites @@ -23,7 +20,6 @@ * [Aqua Data Studio](http://www.aquafold.com/aquadatastudio_downloads.html) * SequelPro (http://www.sequelpro.com/) (installed via Cask) * Navicat (installed via Cask) * Utilities * [1Password](https://agilebits.com/onepassword/mac) @@ -62,6 +58,15 @@ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" brew install caskroom/cask/brew-cask ``` ### Install applications via Homebrew Cask ```sh for app in atom github google-chrome iterm2 vagrant vagrant-manager virtualbox \ box-sync dropbox flowdock boot2docker sequel-pro navicat-premium; do brew cask install ${app} done ``` ## Install common applications via Homebrew ```sh @@ -123,9 +128,7 @@ aws configure [aws-keychain-util](https://github.com/zwily/aws-keychain-util) ```sh sudo gem install aws-keychain-util aws-creds init aws-creds add aws-creds ls @@ -137,19 +140,9 @@ mkdir ~/go echo "export GOROOT=~/go" >> ~/.exports ``` #### boot2docker port managment ```sh # vm must be powered off boot2docker stop for i in {49000..49900}; do @@ -167,8 +160,7 @@ done ``` ### Shell Install custom .dotfiles (optional) ```sh cd ~/ @@ -184,13 +176,10 @@ git checkout -b master --track origin/master ```sh # Set a blazingly fast keyboard repeat rate defaults write NSGlobalDomain KeyRepeat -int 0.02 # Set a shorter Delay until key repeat defaults write NSGlobalDomain InitialKeyRepeat -int 12 # Show the ~/Library folder chflags nohidden ~/Library # Store screenshots in subfolder on desktop mkdir ~/Desktop/Screenshots defaults write com.apple.screencapture location ~/Desktop/Screenshots @@ -223,12 +212,11 @@ git config --global color.ui true ## Server ### Docker ```sh # for remote docker servers/shared build/docker env unset DOCKER_TLS_VERIFY export DOCKER_HOST=tcp://docker.dev.my-domains.local:2376 #for boot2docker local @@ -268,7 +256,6 @@ start mysql /usr/local/Cellar/mysql/VERSION/bin/mysql_secure_installation ``` ### PostgreSQL ```sh -
zircote revised this gist
Feb 2, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -123,6 +123,8 @@ aws configure [aws-keychain-util](https://github.com/zwily/aws-keychain-util) ```sh gem pristine executable-hooks --version 1.3.2 gem pristine gem-wrappers --version 1.2.4 gem install aws-keychain-util aws-creds init aws-creds add -
zircote revised this gist
Feb 2, 2015 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -118,7 +118,16 @@ pip install sphinx markdown ```sh aws configure ``` ### AWS KeyCHain Util [aws-keychain-util](https://github.com/zwily/aws-keychain-util) ```sh gem install aws-keychain-util aws-creds init aws-creds add aws-creds ls ``` ### Configure GO Environment ```sh -
zircote revised this gist
Feb 2, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -299,10 +299,12 @@ export ORACLE_HOME=~/Virtualenvs/Oracle-Env/lib/oracle mkdir -p ${ORACLE_HOME} && cd ${ORACLE_HOME} # go to Oracle and download 64-bit versions of the basic and sdk zip files **see link above** for i in $(ls ~/Downloads/instantclient-*); do unzip ${i} -d ${ORACLE_HOME} done mv instantclient_11_2/* ./ rm -rf instantclient_11_2 ln -s libclntsh.dylib.11.1 libclntsh.dylib ln -s libocci.dylib.11.1 libocci.dylib -
zircote revised this gist
Feb 2, 2015 . 1 changed file with 178 additions and 179 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,54 +1,38 @@ # Mac from scratch ## Install Software ### Install from App Store * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4) * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4) * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4) * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) ### Install from Third-Party Websites * Browsers * Chrome (installed via Cask) * [Firefox](http://firefox.com) * Development * Dropbox (installed via Cask) * BoxSync (installed via Cask) * GitHub (installed via Cask) * [Aqua Data Studio](http://www.aquafold.com/aquadatastudio_downloads.html) * SequelPro (http://www.sequelpro.com/) (installed via Cask) * Navicat (installed via Cask) * Utilities * [1Password](https://agilebits.com/onepassword/mac) * Flowdock (installed via Cask) * iTerm 2 (installed via Cask) * Virtualization * Virtualbox (installed via Cask) * boot2docker (installed via cask) Fonts ----- @@ -58,210 +42,202 @@ Fonts `Xcode > Preferences > Downloads > Command Line Tools` # Folders of interest ```sh mkdir -p ~/{Projects,Virtualenvs} ``` #Homebrew ## Install Homebrew ```sh ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` ## Install Homebrew extension Cask ```sh brew install caskroom/cask/brew-cask ``` ## Install common applications via Homebrew ```sh brew install ack autojump automake colordiff curl git git-flow gnu-sed gnu-which gnu-tar gnutls \ gnu-getopt hub icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \ go readline redis tmux wget scala python node ``` ### Node / NPM ```sh npm install -g npm@latest for app in grunt-cli express bower; do npm install -g ${app} done ``` ### Python setup and configuration Add the following to `~/.bash_profile` this configuration will require all `pip` executions to be from a virtual env. * [virtualenv documentation](https://virtualenv.pypa.io/en/latest/) * [virtualenv wrapper commands and docs](http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html) ```sh # pip should only run if there is a virtualenv currently activated export PIP_REQUIRE_VIRTUALENV=true # global pip access via `gpip` gpip(){ PIP_REQUIRE_VIRTUALENV="" pip "$@" } ###### for pkg in pip setuptools virtualenv virtualenv awscli glances httpie; do gpip install --upgrade ${pkg} done # install virtualenv wrapper (you want this trust me) gpip install virtualenvwrapper echo "export WORKON_HOME=~/Virtualenvs" echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.extra" # create the rst documentation virtualenv mkvirtualenv documentation pip install sphinx markdown ``` ### configure aws-cli ```sh aws configure ``` ### Configure GO Environment ```sh mkdir ~/go echo "export GOROOT=~/go" >> ~/.exports ``` ### Install applications via Homebrew Cask ```sh for app in atom github google-chrome iterm2 vagrant vagrant-manager virtualbox \ box-sync dropbox flowdock boot2docker sequel-pro navicat-premium; do brew cask install ${app} done ``` #### boot2docker port managment ```sh # vm must be powered off boot2docker stop for i in {49000..49900}; do VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i"; VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i"; done # to remove it later: # vm must be powered off #boot2docker stop #for i in {49000..49900}; do # VBoxManage modifyvm "boot2docker-vm" --natpf1 delete "tcp-port$i"; # VBoxManage modifyvm "boot2docker-vm" --natpf1 delete "udp-port$i"; #done ``` ### Shell Install custom .dotfiles ```sh cd ~/ git init git remote add origin git@${git_home_of_dot_files} git fetch origin git checkout -b master --track origin/master . ~/.bash_profile ``` # OS X Preferences ```sh # Set a blazingly fast keyboard repeat rate defaults write NSGlobalDomain KeyRepeat -int 0.02 # Set a shorter Delay until key repeat defaults write NSGlobalDomain InitialKeyRepeat -int 12 # Show the ~/Library folder chflags nohidden ~/Library # Store screenshots in subfolder on desktop mkdir ~/Desktop/Screenshots defaults write com.apple.screencapture location ~/Desktop/Screenshots ``` # Git Setup Github ------------ ```sh ssh-keygen -t rsa -C "${my_email_address}" # Copy ssh key to github.com ssh-add ~/.ssh/id_rsa.pub # Test connection ssh -T git@github.com # Set git config values git config --global user.name "${FULL_NAME}" git config --global user.email "${GIT_EMAIL}" git config --global github.user ${GITHUB_USERNAME} git config --global github.token ${your_github_token_here} git config --global core.editor "vim" git config --global color.ui true ``` ## Server ### Docker ```sh # for remote docker servers/shared build/docker env export DOCKER_TLS_VERIFY=1 export DOCKER_HOST=tcp://docker.dev.my-domains.local:2376 #for boot2docker local boot2docker init boot2docker up export DOCKER_CERT_PATH=/Users/`whoami`/.boot2docker/certs/boot2docker-vm export DOCKER_TLS_VERIFY=1 export DOCKER_HOST=tcp://${address_of_boot2docker_or_remote_docker_instance} ``` ### MySQL ```sh brew install mysql brew pin mysql ``` ### MySQL Settings ```sh # Copy launch agent into place mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/VERSION/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ @@ -284,45 +260,68 @@ start mysql ### PostgreSQL ```sh brew install postgres --no-ossp-uuid --with-python brew pin postgres ``` ### PostgreSQL Settings ```sh # Initialize db if none exists already initdb /usr/local/var/postgres # Create launchctl script mkdir -p ~/Library/LaunchAgents cp /usr/local/Cellar/postgresql/*/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ # Edit launchctl script (set to not start automatically and keepalive false) mvim ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # Inject launchctl script launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # Start PostgreSQL start pg # Create DB createdb `whoami` ``` # Oracle Dependencies and `cx_Oracle` virtualenv [Oracle 11g Install Page](http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html) ```sh mkvirtualenv Oracle-Env export ORACLE_HOME=~/Virtualenvs/Oracle-Env/lib/oracle mkdir -p ${ORACLE_HOME} && cd ${ORACLE_HOME} # go to Oracle and download 64-bit versions of the basic and sdk zip files **see link above** mv ~/Downloads/instantclient-* . for i in $(ls ~/Downloads/instantclient-*); do unzip xzf ${i} -d ${ORACLE_HOME} done ln -s libclntsh.dylib.11.1 libclntsh.dylib ln -s libocci.dylib.11.1 libocci.dylib pip install cx_Oracle --allow-external cx_Oracle --allow-unverified cx_Oracle #Add post deactivate hooks to clean environment echo "unset ORACLE_HOME" >> ${VIRTUAL_ENV}/bin/postdeactivate echo "unset DYLD_LIBRARY_PATH" >> ${VIRTUAL_ENV}/bin/postdeactivate echo "unset LD_LIBRARY_PATH" >> ${VIRTUAL_ENV}/bin/postdeactivate #Add post activate hooks to setup the environment echo "export ORACLE_HOME=${VIRTUAL_ENV}/lib/oracle" >> ${VIRTUAL_ENV}/bin/postactivate echo "export DYLD_LIBRARY_PATH=${ORACLE_HOME}" >> ${VIRTUAL_ENV}/bin/postactivate echo "export LD_LIBRARY_PATH=${ORACLE_HOME}" >> ${VIRTUAL_ENV}/bin/postactivate ``` **for projects that will use oracle in the future you should plan to use the following commands:** ```sh cpvirtualenv Oracle-Env scoring ``` -
kevinelliott renamed this gist
Oct 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kevinelliott renamed this gist
Oct 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kevinelliott renamed this gist
Oct 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kevinelliott renamed this gist
Oct 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kevinelliott revised this gist
Oct 17, 2014 . 1 changed file with 0 additions and 328 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,328 +0,0 @@ -
kevinelliott revised this gist
Oct 17, 2014 . 1 changed file with 328 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,328 @@ # Mac OS X 10.9 Mavericks Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. ## Install Software The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis. ### Install from App Store * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4) * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4) * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4) * [Divvy](https://itunes.apple.com/us/app/divvy-window-manager/id413857545?mt=12&uo=4) * [Opera](https://itunes.apple.com/us/app/opera/id404764921?mt=12&uo=4) * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4) * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4) * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4) * [WiFi Explorer](https://itunes.apple.com/us/app/wifi-explorer/id494803304?mt=12&uo=4) * [WiFi Signal](https://itunes.apple.com/us/app/wifi-signal/id525912054?mt=12&uo=4) * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4) * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) ### Install from Third-Party Websites * Browsers * Chrome (installed via Cask) * [Firefox](http://firefox.com) * Opera (installed via App Store) * [Webkit](http://webkit.org) * Development * [Dropbox](https://www.dropbox.com/install2) * [GitHub](http://mac.github.com) * [LiveReload](http://livereload.com) * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions) * [Sublime Text 3](http://www.sublimetext.com/3) * Utilities * [1Password](https://agilebits.com/onepassword/mac) * [GrandPerspective](http://grandperspectiv.sourceforge.net/) * [HipChat](https://www.hipchat.com/downloads) * iTerm 2 (installed via Cask) * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html) * [Quicksilver](http://qsapp.com) * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/) * [Spotify](https://www.spotify.com/us/download/mac/) * [Transmit](http://panic.com/transmit) * Virtualization * Parallels Desktop (installed via Cask) Fonts ----- [Mensch coding font](http://robey.lag.net/2010/06/21/mensch-font.html) #Xcode Command Line Tools `Xcode > Preferences > Downloads > Command Line Tools` #Homebrew ## Install Homebrew ```bash ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` ## Install Homebrew extension Cask ```bash brew install caskroom/cask/brew-cask ``` ## Install common applications via Homebrew *Databases are installed later.* ```bash brew install ack autojump automake colordiff curl git git-flow \ hub icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \ readline redis tmux wget ``` ## Install applications via Homebrew Cask ```bash brew cask install anvil brew cask install atom brew cask install authy-bluetooth brew cask install awareness brew cask install bartender brew cask install battery-guardian brew cask install github brew cask install google-chrome brew cask install hipchat brew cask install joinme brew cask install iterm2 brew cask install parallels brew cask install rescuetime brew cask install rubymine brew cask install satellite-eyes brew cask install sidestep brew cask install sonos brew cask install spotify brew cask install steam brew cask install testflight brew cask install vagrant brew cask install vagrant-manager brew cask install virtualbox ``` #Shell Install custom .dotfiles ```bash git clone git@github.com:kevinelliott/.dotfiles.git ~/.dotfiles ~/.dotfiles/install.sh ``` Update .bash_profile ```bash echo 'source ~/.dotfiles/base.sh' >> ~/.bash_profile ``` # OS X Preferences ```bash #Set a blazingly fast keyboard repeat rate defaults write NSGlobalDomain KeyRepeat -int 0.02 #Set a shorter Delay until key repeat defaults write NSGlobalDomain InitialKeyRepeat -int 12 #Add a context menu item for showing the Web Inspector in web views defaults write NSGlobalDomain WebKitDeveloperExtras -bool true #Show the ~/Library folder chflags nohidden ~/Library #Store screenshots in subfolder on desktop mkdir ~/Desktop/Screenshots defaults write com.apple.screencapture location ~/Desktop/Screenshots ``` Set hostname ------------ `sudo scutil --set HostName kevin-rmbp` #Git Setup Github ------------ ```bash ssh-keygen -t rsa -C "kevin@welikeinc.com" # Copy ssh key to github.com subl ~/.ssh/id_rsa.pub # Test connection ssh -T git@github.com # Set git config values git config --global user.name "Kevin Elliott" git config --global user.email "kevin@welikeinc.com" git config --global github.user kevinelliott git config --global github.token your_token_here git config --global core.editor "subl -w" git config --global color.ui true ``` # Sublime Text Add Sublime Text CLI -------------------- ```bash mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl ``` Install Package Control ----------------------- ```python import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation' ``` Install Packages ---------------- [BracketHighlighter](https://github.com/facelessuser/BracketHighlighter) [CoffeeScriptHaml](https://github.com/jisaacks/CoffeeScriptHaml) Install Soda Theme ---------------------- ```bash git clone git://github.com/buymeasoda/soda-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Theme\ -\ Soda ``` Install Tomorrow Theme ---------------------- ```bash git clone git://github.com/chriskempson/textmate-tomorrow-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Color\ Scheme\ -\ Tomorrow ``` Settings -------- **Sublime Text > Preferences > Settings - User** ```json { "close_windows_when_empty": true, "color_scheme": "Packages/Color Scheme - Tomorrow/Tomorrow-Night-Eighties.tmTheme", "draw_indent_guides": false, "font_face": "Mensch", "font_size": 18, "highlight_modified_tabs": true, "show_tab_close_buttons": false, "tab_size": 2, "spell_check": false, "theme": "Soda Light.sublime-theme", "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?" } ``` Key Bindings ------------ ```json [ { "keys": ["super+b"], "command": "expand_selection", "args": {"to": "brackets"} }, { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "replace"} }, { "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "find"} } ] ``` Snippets -------- ```bash git clone git@github.com:bytestudios/sublime-snippets.git "/Users/Joel/Library/Application Support/Sublime Text 2/Packages/Byte" ``` ## Server ### Docker ```bash brew install docker boot2docker boot2docker init boot2docker up ``` ### MySQL ```bash brew install mysql brew pin mysql ``` ### MySQL Settings ```bash # Copy launch agent into place mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/VERSION/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ # Edit launch agent and set both keepalive and launch at startup to false vi ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # Inject launch agent launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # Set up databases to run as your user account unset TMPDIR && mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp # Start mysql start mysql # Secure mysql /usr/local/Cellar/mysql/VERSION/bin/mysql_secure_installation ``` ### PostgreSQL ```bash brew install postgres --no-ossp-uuid brew pin postgres ``` ### PostgreSQL Settings ```bash # Initialize db if none exists already initdb /usr/local/var/postgres # Create launchctl script mkdir -p ~/Library/LaunchAgents cp /usr/local/Cellar/postgresql/VERSION/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ # Edit launchctl script (set to not start automatically and keepalive false) subl ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # Inject launchctl script launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # Start PostgreSQL start pg ``` ### Ruby Gems #### libv8 ```bash brew uninstall v8 gem uninstall libv8 wget https://dl.dropboxusercontent.com/u/7919548/gems/libv8/libv8-3.11.8.17-x86_64-darwin-13.gem gem install libv8-3.11.8.17-x86_64-darwin-13.gem ``` #### capybara-webkit ```bash brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD --without-ssse3 gem install capybara-webkit -v '0.9.0' ```  -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -208,8 +208,6 @@ Settings **Sublime Text > Preferences > Settings - User** ```json { "close_windows_when_empty": true, "color_scheme": "Packages/Color Scheme - Tomorrow/Tomorrow-Night-Eighties.tmTheme", -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 15 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -205,21 +205,24 @@ git clone git://github.com/chriskempson/textmate-tomorrow-theme.git ~/Library/Ap Settings -------- **Sublime Text > Preferences > Settings - User** ```json // Settings in here override those in "Default/Preferences.sublime-settings", // and are overridden in turn by file type specific settings. { "close_windows_when_empty": true, "color_scheme": "Packages/Color Scheme - Tomorrow/Tomorrow-Night-Eighties.tmTheme", "draw_indent_guides": false, "font_face": "Mensch", "font_size": 18, "highlight_modified_tabs": true, "show_tab_close_buttons": false, "tab_size": 2, "spell_check": false, "theme": "Soda Light.sublime-theme", "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?" } ``` Key Bindings -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -96,9 +96,14 @@ brew cask install parallels brew cask install rescuetime brew cask install rubymine brew cask install satellite-eyes brew cask install sidestep brew cask install sonos brew cask install spotify brew cask install steam brew cask install testflight brew cask install vagrant brew cask install vagrant-manager brew cask install virtualbox ``` #Shell -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -40,15 +40,15 @@ The software selected is software that is "tried and true" --- software I need a * [1Password](https://agilebits.com/onepassword/mac) * [GrandPerspective](http://grandperspectiv.sourceforge.net/) * [HipChat](https://www.hipchat.com/downloads) * iTerm 2 (installed via Cask) * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html) * [Quicksilver](http://qsapp.com) * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/) * [Spotify](https://www.spotify.com/us/download/mac/) * [Transmit](http://panic.com/transmit) * Virtualization * Parallels Desktop (installed via Cask) Fonts ----- @@ -87,7 +87,15 @@ brew cask install authy-bluetooth brew cask install awareness brew cask install bartender brew cask install battery-guardian brew cask install github brew cask install google-chrome brew cask install hipchat brew cask install joinme brew cask install iterm2 brew cask install parallels brew cask install rescuetime brew cask install rubymine brew cask install satellite-eyes brew cask install testflight brew cask install virtualbox -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -81,9 +81,12 @@ brew install ack autojump automake colordiff curl git git-flow \ ## Install applications via Homebrew Cask ```bash brew cask install anvil brew cask install atom brew cask install authy-bluetooth brew cask install awareness brew cask install bartender brew cask install battery-guardian brew cask install google-chrome brew cask install testflight brew cask install virtualbox -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -81,6 +81,9 @@ brew install ack autojump automake colordiff curl git git-flow \ ## Install applications via Homebrew Cask ```bash brew cask install atom brew cask install authy-bluetooth brew cask install awareness brew cask install google-chrome brew cask install testflight brew cask install virtualbox -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ The software selected is software that is "tried and true" --- software I need a ### Install from Third-Party Websites * Browsers * Chrome (installed via Cask) * [Firefox](http://firefox.com) * Opera (installed via App Store) * [Webkit](http://webkit.org) -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,7 +35,6 @@ The software selected is software that is "tried and true" --- software I need a * [LiveReload](http://livereload.com) * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions) * [Sublime Text 3](http://www.sublimetext.com/3) * Utilities * [1Password](https://agilebits.com/onepassword/mac) @@ -82,7 +81,10 @@ brew install ack autojump automake colordiff curl git git-flow \ ## Install applications via Homebrew Cask ```bash brew cask install google-chrome brew cask install testflight brew cask install virtualbox ``` #Shell -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 16 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -220,23 +220,26 @@ git clone git@github.com:bytestudios/sublime-snippets.git "/Users/Joel/Library/A ``` ## Server ### Docker ```bash brew install docker boot2docker boot2docker init boot2docker up ``` ### MySQL ```bash brew install mysql brew pin mysql ``` ### MySQL Settings ```bash # Copy launch agent into place mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/VERSION/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ @@ -257,15 +260,14 @@ start mysql ``` ### PostgreSQL ```bash brew install postgres --no-ossp-uuid brew pin postgres ``` ### PostgreSQL Settings ```bash # Initialize db if none exists already @@ -285,28 +287,20 @@ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist start pg ``` ### Ruby Gems #### libv8 ```bash brew uninstall v8 gem uninstall libv8 wget https://dl.dropboxusercontent.com/u/7919548/gems/libv8/libv8-3.11.8.17-x86_64-darwin-13.gem gem install libv8-3.11.8.17-x86_64-darwin-13.gem ``` #### capybara-webkit ```bash brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD --without-ssse3 gem install capybara-webkit -v '0.9.0' ```  -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 14 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -75,11 +75,16 @@ brew install caskroom/cask/brew-cask ## Install common applications via Homebrew *Databases are installed later.* ```bash brew install ack autojump automake colordiff curl git git-flow \ hub icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \ readline redis tmux wget ``` ## Install applications via Homebrew Cask ```bash brew cask install virtualbox ``` #Shell Install custom .dotfiles @@ -297,4 +302,11 @@ brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/F gem install capybara-webkit -v '0.9.0' ``` ### Docker ```bash brew install docker boot2docker boot2docker init boot2docker up ```  -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Custom recipe to get OS X 10.9 Mavericks running from scratch, setup application The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis. ### Install from App Store * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4) * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4) * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4) @@ -21,8 +21,8 @@ Install from App Store * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4) * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) ### Install from Third-Party Websites * Browsers * [Chrome](http://google.com/chrome) * [Firefox](http://firefox.com) -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -67,6 +67,11 @@ Fonts ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` ## Install Homebrew extension Cask ```bash brew install caskroom/cask/brew-cask ``` ## Install common applications via Homebrew *Databases are installed later.* ```bash -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -70,9 +70,9 @@ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ## Install common applications via Homebrew *Databases are installed later.* ```bash brew install ack autojump automake colordiff curl docker git git-flow hub \ icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \ readline redis tmux wget ``` #Shell -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 34 additions and 30 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,13 @@ # Mac OS X 10.9 Mavericks Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. ## Install Software The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis. Install from App Store ---------------------- * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4) * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4) * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4) @@ -17,35 +21,35 @@ Install App Store Apps * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4) * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) Install from Third-Party Websites --------------------------------- * Browsers * [Chrome](http://google.com/chrome) * [Firefox](http://firefox.com) * Opera (installed via App Store) * [Webkit](http://webkit.org) * Development * [Dropbox](https://www.dropbox.com/install2) * [GitHub](http://mac.github.com) * [LiveReload](http://livereload.com) * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions) * [Sublime Text 3](http://www.sublimetext.com/3) * [TestFlight Desktop](https://testflightapp.com/desktop/) * Utilities * [1Password](https://agilebits.com/onepassword/mac) * [GrandPerspective](http://grandperspectiv.sourceforge.net/) * [HipChat](https://www.hipchat.com/downloads) * [iTerm 2](http://iterm2.com) * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html) * [Quicksilver](http://qsapp.com) * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/) * [Spotify](https://www.spotify.com/us/download/mac/) * [Transmit](http://panic.com/transmit) * Virtualization * [Parallels Desktop](http://www.parallels.com/downloads/desktop/) Fonts ----- -
kevinelliott revised this gist
Jul 31, 2014 . 1 changed file with 13 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,22 +7,22 @@ Install App Store Apps * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4) * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4) * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4) * [Divvy](https://itunes.apple.com/us/app/divvy-window-manager/id413857545?mt=12&uo=4) * [Opera](https://itunes.apple.com/us/app/opera/id404764921?mt=12&uo=4) * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4) * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4) * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4) * [WiFi Explorer](https://itunes.apple.com/us/app/wifi-explorer/id494803304?mt=12&uo=4) * [WiFi Signal](https://itunes.apple.com/us/app/wifi-signal/id525912054?mt=12&uo=4) * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4) * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) Third-Party Apps ---------------- * Browsers: * [Chrome](http://google.com/chrome), * [Firefox](http://firefox.com), * [Webkit](http://webkit.org) Development: [Dropbox](https://www.dropbox.com/install2),
NewerOlder