Skip to content

Instantly share code, notes, and snippets.

@betamatt
betamatt / mountain-lion-brew-setup.markdown
Created August 15, 2012 14:27 — forked from myobie/mountain-lion-brew-setup.markdown
Get Mountain Lion and Homebrew to Be Happy

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from the App Store.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

@betamatt
betamatt / hide_images.user.js
Created June 22, 2012 14:51 — forked from johnmaxwell/hide-inline-images.js
A userscript for Flowdock that adds a button next to inline elements like Tweets and Images that allows you to hide them. Really useful to hide annoying animated gifs and hubot pug bombs
// ==UserScript==
// @name Hide Images
// @namespace http://fluidapp.com
// @description Adds a button to hide images
// @include *
// @author Someone
// ==/UserScript==
// originally from: https://gist.github.com/1649063
@betamatt
betamatt / benchmarks_multi.rb
Created December 1, 2010 19:48 — forked from bkeepers/benchmarks_multi.rb
Mult-worker DJ benchmark
require 'spec/spec_helper'
require 'logger'
require 'benchmark'
workers = 20
puts "#{workers} workers"
#Delayed::Job.logger = Logger.new('/tmp/delayed_job.log')
pids = []