Skip to content

Instantly share code, notes, and snippets.


Corey Wagehoft coreywagehoft

View GitHub Profile
alex-slynko /
Last active Dec 15, 2018 — forked from hobbsh/
Download CF Boston summit presentations from Sched
mkdir kubecon
DAYS=("2018-12-11" "2018-12-13" "2018-12-12")
for DAY in "${DAYS[@]}"; do
#Super shitty pipefest because of grep matched groups sadness
LINKS=($(curl${DAY}/overview | grep -oEi "f='(.*)' cl" | cut -d\' -f 2 | tr '\n' ' '))
for LINK in "${LINKS[@]}"; do
echo "Requesting${LINK}"
#Find file link on event page
joe-wolfe21 / .tmux.conf
Last active Jul 9, 2020
The Ultimate Terminal
View .tmux.conf
# use zsh & make pbcopy/paste work
set-option -g default-terminal /bin/zsh
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind w new-window -c "#{pane_current_path}"
# It's 2016
set -g default-terminal "screen-256color"
# set the command escape time to 0
set -s escape-time 0
stephanetimmermans / ubuntu-compass-ruby
Last active Jul 4, 2019
Install Compass+Ruby on Ubuntu 14.04
View ubuntu-compass-ruby
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
jeremeamia / Twilio_Client.php
Last active May 15, 2018
The beginnings of a Guzzle-based, PHP Twilio client.
View Twilio_Client.php
namespace Twilio;
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Collection;
use GuzzleHttp\Command\Guzzle\GuzzleClient;
use GuzzleHttp\Command\Guzzle\Description;
use GuzzleHttp\Command\Model;
use GuzzleHttp\Subscriber\Retry\RetrySubscriber;
hwdsl2 /
Last active Apr 9, 2021
My IPTables rules for securing the Asterisk VoIP server
karmi / test.doc
Last active Mar 25, 2017
Example of Elasticsearch's attachment handling
nikcub /
Created Oct 4, 2012
Facebook PHP Source Code from August 2007
marktheunissen / pedantically_commented_playbook.yml
Last active Aug 6, 2021 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
This playbook has been removed as it is now very outdated.
jrochkind / gist:2161449
Created Mar 22, 2012
A Capistrano Rails Guide
View gist:2161449

A Capistrano Rails Guide

by Jonathan Rochkind,

why cap?

Capistrano automates pushing out a new version of your application to a deployment location.

I've been writing and deploying Rails apps for a while, but I avoided using Capistrano until recently. I've got a pretty simple one-host deployment, and even though everyone said Capistrano was great, every time I tried to get started I just got snowed under not being able to figure out exactly what I wanted to do, and figured I wasn't having that much trouble doing it "manually".

boucher / webhook-mailer.php
Created Jan 31, 2012
Stripe Webhook PHP Example
View webhook-mailer.php
// 1. Customize all the settings (stripe api key, email settings, email text)
// 2. Put this code somewhere where it's accessible by a URL on your server.
// 3. Add the URL of that location to the settings at
// 4. Have fun!
// set your secret key: remember to change this to your live secret key in production
// see your keys here