Instantly share code, notes, and snippets.

View ansible.yml
- name: Deploy new site release
user: deployer
hosts: all
- name: Fetch repo updates
git: >
View Berksfile
site :opscode
cookbook 'apt'
cookbook 'statsd', git: ''
cookbook 'graphite', git: ''
View bitcoin-pay.rb
#!/usr/bin/env ruby
require 'open-uri'
require 'JSON'
require 'digest/sha2'
require 'pry'
require 'bigdecimal'
require 'bitcoin' # Because I need to cheat every now and then
# Usage:
# gem install pry json ffi ruby-bitcoin
View button.css
width: 65%;
margin: 100px 15% 20px 15%;
font-size: 3em;
background: white;
color: #2e3242;
text-align: center;
padding: 2.5%;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
View recently_viewed_vehicles.js
window.RecentlyViewed = (function(){
recent_ads = (function(){
var list = [];
$.each( $("#recently_viewed li"), function(i, li){
list.push( new RecentAd($(li).attr('id')) );
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See for full text.
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
package com.phonegap;
View spec_helper.rb
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rubygems'
gem 'minitest'
require 'minitest/autorun'
require 'action_controller/test_case'
require 'miniskirt'
require 'capybara/rails'
View gist:1431591

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this screencast if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent then a phone call or screen sharing.