Skip to content

Instantly share code, notes, and snippets.

View saegey's full-sized avatar
:bowtie:

Adam Saegebarth saegey

:bowtie:
  • Seattle, Washington
  • 01:26 (UTC -07:00)
View GitHub Profile
local grid = {}
local window = hs.window
function grid.snap(win, x, y, w, h)
local newframe = {
x = x,
y = y,
w = w,
h = h,
}
@saegey
saegey / resume.md
Last active July 31, 2018 06:06
Resume
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
#!/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`
@saegey
saegey / gist:3145412
Created July 19, 2012 17:14
puppet for dev drupal
include php
include apache
include apache::ssl
include apache::mod::rewrite
include apache::php
include pear
include ldap
include synapse-www
pear::package { "PEAR": }
@saegey
saegey / gist:3145274
Created July 19, 2012 16:54
drupal capistrano recipe
# ========================================================================‹
# 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
@saegey
saegey / rbenv articles
Created June 26, 2012 22:55
rbenv articles
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/
@saegey
saegey / Mac OS X Apps
Created June 26, 2012 20:14
mac os x apps
Total Terminal - http://totalterminal.binaryage.com/