- Install OS X 10.6
- Run System Updates
- Google Chrome Dev [download]
- Google Chrome Beta [download]
- The Unarchiver [download]
This file contains 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
# make this URL an endpoint that returns something like the users.json file in this gist. | |
baseUrl = "…" | |
robot.respond /remote me/i, (msg) -> | |
if Math.random() < 0.01 | |
msg.send "https://f.cloud.github.com/assets/1476/552951/f1a15572-c370-11e2-8ddd-db568c36d27a.jpg" | |
return | |
msg.finish() | |
msg.http(baseUrl) | |
.headers(headers) |
This file contains 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 | |
require 'octokit' | |
require 'awesome_print' | |
require 'open-uri' | |
client = Octokit::Client.new(:login => ENV['GHUSER'], :oauth_token => ENV['GHTOKEN']) | |
repo = 'example/repo' | |
Dir.mkdir('build') if !File.exists?('build') |
This file contains 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
command: "memory_pressure && sysctl -a | grep memsize" | |
refreshFrequency: 2000 | |
style: """ | |
// Change bar height | |
bar-height = 6px | |
// Align contents left or right | |
widget-align = left |
This file contains 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 | |
require "json" | |
require "fileutils" | |
# Find all *.js.map files in current directory | |
files = Dir["./**/*.js.map"] | |
# Parse out the JSON | |
mapfiles = files.map { |f| JSON.parse File.read(f) } |
This file contains 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
# This file is auto-generated from the current state of the database. Instead | |
# of editing this file, please use the migrations feature of Active Record to | |
# incrementally modify your database, and then regenerate this schema definition. | |
# | |
# Note that this schema.rb definition is the authoritative source for your | |
# database schema. If you need to create the application database on another | |
# system, you should be using db:schema:load, not running all the migrations | |
# from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
# you'll amass, the slower it'll run and the greater likelihood for issues). | |
# |
This file contains 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
class WidgetsController < ApplicationController | |
# GET /widgets | |
# GET /widgets.json | |
def index | |
@widgets = Widget.all | |
respond_to do |format| | |
format.html # index.html.erb | |
format.json { render json: @widgets } | |
end |
This is body text
Optional Title
Code listing line one Code listing line two
And more body text.
This file contains 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
unnamed gist | |
wat is this i don't even |
This file contains 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
// Highlight articles on/about GitHub | |
$('span, a, p').filter(':contains("github")') | |
.css('background-color', '#ffff66') | |
$('span, a, p').filter(':contains("GitHub")') | |
.css('background-color', '#ffff66') |
OlderNewer