I hereby claim:
- I am grega on github.
- I am gregannandale (https://keybase.io/gregannandale) on keybase.
- I have a public key ASCDzb6kC0NcSF1tA7O9hbR9lZIKd3PydfLwm05JNbJ3WQo
To claim this, I am signing this object:
<?php | |
function array_push_assoc($array, $key, $value){ | |
$array[$key] = $value; | |
return $array; | |
} | |
$opts = array( | |
'template'=>'schedule.html', | |
'page'=>'/page.php', | |
'skip-template'=>true |
from __future__ import with_statement | |
from fabric.api import env, local, settings, abort, run, cd, sudo | |
from fabric.contrib.console import confirm | |
# Hosts | |
def stage(): | |
env.user = 'deploy_user' | |
env.hosts = ['xxx.xxx.xxx.xxx:22'] | |
global code_dir | |
code_dir = '/var/www/stage.website.com' # no trailing slash |
#!/bin/bash | |
machines=() | |
for machine in `VBoxManage list runningvms|cut -d" " -f 1`; do | |
machines+=("$machine") | |
done | |
if [ ${#machines[@]} -eq 1 ]; then | |
machinename=$(echo ${machines[@]} | cut -d'_' -f 1) |
require "rubygems" | |
require "twitter" | |
# get these from apps.twitter.com | |
CONSUMER_KEY = "foo" | |
CONSUMER_SECRET = "bar" | |
OAUTH_TOKEN = "blee" | |
OAUTH_TOKEN_SECRET = "baz" | |
TWITTER_USER = "your_username" # needs to be the one associated with keys above |
I hereby claim:
To claim this, I am signing this object: