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
local grid = {} | |
local window = hs.window | |
function grid.snap(win, x, y, w, h) | |
local newframe = { | |
x = x, | |
y = y, | |
w = w, | |
h = h, | |
} |
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
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
echo '# rbenv setup' > /etc/profile.d/rbenv.sh | |
echo 'export RBENV_ROOT=/usr/local/rbenv' >> /etc/profile.d/rbenv.sh | |
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh | |
echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh | |
chmod +x /etc/profile.d/rbenv.sh | |
source /etc/profile.d/rbenv.sh | |
git clone https://github.com/sstephenson/ruby-build.git /usr/local/rbenv/plugins/ruby-build | |
rbenv install 1.9.3-p392 |
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
#!/usr/bin/env bash | |
# This file was placed here by Gitlab. It makes sure that your pushed commits | |
# will be processed properly. | |
while read oldrev newrev ref | |
do | |
# For every branch or tag that was pushed, create a Resque job in redis. | |
pwd=`pwd` | |
reponame=`basename "$pwd" | cut -d. -f1` |
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
include php | |
include apache | |
include apache::ssl | |
include apache::mod::rewrite | |
include apache::php | |
include pear | |
include ldap | |
include synapse-www | |
pear::package { "PEAR": } |
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
http://henriksjokvist.net/archive/2012/2/deploying-with-rbenv-and-capistrano/ | |
http://37signals.com/svn/posts/2998-setting-up-a-new-machine-for-ruby-development/ | |
http://shapeshed.com/using-rbenv-to-manage-rubies/ |
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
Total Terminal - http://totalterminal.binaryage.com/ |