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
# ========================================================================‹ | |
# Deploy Drupal 7 single domain | |
# --- | |
# Version:: 0.5 | |
# Author:: Rodolfo Ripado (mailto:ggaspaio@gmail.com) | |
# Acknowledgements:: Herve Leclerc at AlterWay | |
# | |
# Currently supports | |
# * Setup:: Prepares the a host for deployment creating directories and a local_settings.php | |
# * Deploy:: Deploy HG tip |
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/ |