Skip to content

Instantly share code, notes, and snippets.

View macournoyer's full-sized avatar

Marc-André Cournoyer macournoyer

View GitHub Profile
Teh Ceiling Cat of us, whu haz cheezeburger, yu be spechul
Yu ordered cheezburgerz,
Wut yu want, yu gets, srsly.
In ceiling and on teh flor.
Giv us dis day our dalee cheezburger.
And furgiv us for makin yu a cookie, but eateding it.
And we furgiv wen cats steel our cookiez.
An do not let us leed into teh showa, but deliver us from teh wawter.
Ceiling Cat pwns all. He pwns teh ceiling and teh floor and walls too.
Forevur and evuhr. Amen.
@macournoyer
macournoyer / gist:20999
Created October 30, 2008 13:20
Open a new tab in Terminal
#!/usr/bin/env ruby
# Open a new tab in Terminal
# usage: tab [cmd]
# If cmd is specified, it will be run in new tab while old tab is reactivated.
# If no cmd, new tab is activated
require "rubygems"
require "appscript"
include Appscript
window = app("Terminal").windows.first
#!/usr/bin/env ruby
# Lil' script to fix or implement Fogbugz tickets from the command line.
# Usage:
# Edit `base_uri`.
# fogbugz login email@example.com password
# Copy the returned token and paste on the `default_params` line.
# fogbugz fix 1234 "I IZ TEH AWESOME"
require "rubygems"
require "httparty"
@macournoyer
macournoyer / .gitconfig
Created October 28, 2008 20:42
My .gitconfig
[user]
name = macournoyer
email = macournoyer@gmail.com
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
co = checkout
# Montreal Against Rails code
# Written by macournoyer, Carl Mercier and Francois Beausoleil
## Framework code
class App
def call(env)
#im doing good
@request = Rack::Request.new(env)
@response = Rack::Response.new