https://gist.github.com/mr-deamon/10736460 https://github.com/thenayr/dashing-newrelic http://challengepost.com/software/new-relic-widget-trio https://gist.github.com/jwalton/6614087 https://gist.github.com/qzaidi/5835999 http://challengepost.com/software/progress-bars http://challengepost.com/software/freshdesk http://challengepost.com/software/freshdesk http://dashing.challengepost.com/submissions https://gist.github.com/robertboloc/9546339
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am ianvaughan on github. | |
* I am ianvaughan (https://keybase.io/ianvaughan) on keybase. | |
* I have a public key whose fingerprint is 9B1C 3D39 19A5 B944 5E9F 0670 97B6 4C4E 5D9B 7C23 | |
To claim this, I am signing this object: |
This file contains hidden or 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
brew install boot2docker | |
boot2docker init | |
boot2docker up | |
# To connect the Docker client to the Docker daemon, please set: | |
export DOCKER_HOST=tcp://192.168.59.103:2376 | |
export DOCKER_CERT_PATH=/Users/ian/.boot2docker/certs/boot2docker-vm | |
export DOCKER_TLS_VERIFY=1 |
This file contains hidden or 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
#!/bin/bash | |
# Dont allow commits containing the addition of '@wip' | |
if test "$(git diff --cached | grep '\+\s*@wip')" | |
then | |
echo "Error: Attempt to commit an @wip line" | |
echo | |
echo "To skip this check, add the --no-verify option" | |
echo | |
exit 1 | |
fi |
This file contains hidden or 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 ruby | |
args = *ARGV | |
if File.exists?('.zeus.sock') | |
puts "=> Using Zeus..." | |
exec "zeus cucumber #{args.join(' ')}" | |
else | |
puts "=> NOT Using Zeus..." | |
exec "bundle exec cucumber #{args.join(' ')}" | |
end |
This file contains hidden or 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 ruby | |
puts "Loading Rails..." | |
require 'ruby-progressbar' | |
require './config/environment' | |
require "csv" | |
puts "Booting Rails..." | |
Rails.application.eager_load! |
This file contains hidden or 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
# Ever wanted to force a jenkins build quickly? | |
# Put this file in your path somewhere, and chmod +x it | |
curl "http://<jenkins-server-url>/buildByToken/build?job=<job-name>&token=<token>” | |
# Replace <vars> with your own config | |
# Goto your project configure page : http://<jenkins-server-url>/job/<job-name>/configure | |
# And set “Trigger builds remotely” to <token> |
This file contains hidden or 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 ruby | |
# Uploads a given file to S3 files.econultancy.com bucket | |
# and sets permissions to Everyone:Read/Download | |
# (Default of Tech:Read/Write/Delete still set) | |
# Uses config in ~/.fog if present, | |
# otherwise falls back to using ENV vars | |
# export AWS_ACCESS_KEY_ID=xxx |
This file contains hidden or 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
require 'github_api' | |
path = '.' | |
USER = 'user' | |
REPO = 'repo' | |
OAUTH_TOKEN = 'xxxx' | |
def files(path) | |
(`ag TODO #{path} -l`).split |
This file contains hidden or 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
#!/bin/bash | |
help() { | |
echo 'G o S L O W ...' | |
} | |
stop() { | |
sudo ipfw delete 1 | |
sudo ipfw delete 2 | |
sudo ipfw pipe 1 delete |