Skip to content
View update_file_creation_date_from_exif.rb
#! /usr/bin/ruby
# requires exiftool: `brew install exiftool`
# Used to update file creation dates when converting RAW photos to JPG
# Converted files receive original file's EXIF data, but not file creation date.
# That date is set to whenever you created the converted file.
# Usage: `> ruby update_file_creation_date.rb ~/Pictures/converted_files/*.*`
View gist:5512404
Why are you so awesome?
View default_formatter.rb
require 'stringio'
class DefaultFormatter
attr_reader :output
def initialize(output =
@output = output
def display(message)
View carrierwave.rb
CarrierWave.configure do |config|
config.fog_credentials = {
provider: 'AWS',
config.fog_directory =
View gist:1232825
only /Propane/ do
map "<Cmd-Option-Left>", "<Cmd-Shift-[>"
map "<Cmd-Option-Right>", "<Cmd-Shift-]>"
View ateam.feature
Given the year is 1972
And there is a crack commando unit
And that unit has been sent to prison by a "military court"
And it was a crime they did not commit
Given the men have escaped from a "maximum security stockade" to the "Los Angeles underground"
And today they are still wanted by the government
View keymandorc.rb
# Start Keymando at login
# -----------------------------------------------------------
# Disable Keymando when using these applications
# -----------------------------------------------------------
# disable "Remote Desktop Connection"
# disable /VirtualBox/
# Basic mapping
View gist:1146988
only "Mail" do
nmap "c", "<Cmd-n>" # New message
nmap "j", "<Down>" # Down
nmap "k", "<Up>" # Up
nmap "e", "<Shift-Cmd-e>" # Archive
nmap "<Shift-3>", "<Cmd-Backspace>" # Delete
nmap "s", "<Shift-Cmd-l>" # Star
nmap "r", "<Cmd-r>" # Reply
nmap "a", "<Shift-Cmd-r>" # Reply all
nmap "f", "<Shift-Cmd-f>" # Forward
View poop.rb
class Poop
class << self
def outta_my_butt
"( 0 )"
# or for all you hipsters
# def self.outta_my_butt
# "( 0 )"
# end
View gist:908483
/* MrCrankyPants - block users and images from Propane!
* to use, place it in ~/Library/Application Support/Propane/unsupported/caveatPatchor.js (yes, it must be that file name)
* Created by ripping code off of and
Campfire.MrCrankyPants = Class.create({
options: {
blockedUsers: ['Abe L.', 'George W.'],
usersDisallowedToPostImages: ['Theodore R.'],
Something went wrong with that request. Please try again.