A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
module['exports'] = function echoHttp (hook) { | |
hook.debug("Debug messages are sent to the debug console"); | |
hook.debug(hook.params); | |
hook.debug(hook.req.path); | |
hook.debug(hook.req.method); | |
#!/bin/sh | |
# homebrew-cask | |
brew tap phinze/homebrew-cask | |
brew install brew-cask | |
# browser | |
brew cask install firefox-aurora | |
brew cask install google-chrome | |
brew cask install google-chrome-canary |
#!/bin/bash | |
# Install prerequisites | |
yum install -y gcc openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel ruby-devel gcc-c++ jq git | |
# Import key | |
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - | |
# Install RVM | |
curl -sSL https://get.rvm.io | bash -s stable --ruby |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
I hereby claim:
To claim this, I am signing this object:
# When using a CI server, like Jenkins, in conjunction with github, you may wish to use | |
# multiple deploy keys (github-speak for an rsa key pair that has been assigned to a single | |
# repo, rather than a user) to allow Jenkins to pull code from the github repositories | |
# In the example here, where three repos are used, the idea is to take advantage of ssh's config mechanism | |
# For use with Jenkins, do the following: | |
# login to your CI Server | |
sudo su jenkins | |
cd ~/.ssh/ |