Skip to content

Instantly share code, notes, and snippets.

View jrgifford's full-sized avatar
:shipit:
This is like AIM all over again, isn't it?

James Gifford jrgifford

:shipit:
This is like AIM all over again, isn't it?
View GitHub Profile
@jc00ke
jc00ke / test_rack_config.rb
Created January 17, 2011 04:27
Use Rack::Builder.parse_file to test your config.ru
We couldn’t find that file to show.
anonymous
anonymous / gist:847653
Created February 28, 2011 17:19
a.button {
background: -webkit-gradient(linear, left top, left bottom, from(#50A7E7), to(#3679CF));
background: -moz-linear-gradient(top, #50A7E7, #3679CF);
border: 1px solid #4081AF;
color: #fff;
cursor: pointer;
font: 12px/100% 'Lucida Grande';
padding: 4px 15px;
text-decoration: none;
text-shadow: 0 1px 0 rgba(0,0,0,.5);
@paultag
paultag / huzzah!
Created August 22, 2011 15:29
tarball generator
#!/bin/bash
BUILD_DIR=/var/builds
GNUPG_KEY=DBC1F58D
MIRRORDIR=/git/
WORKDIR=/tmp/$$.d/
echo "Creating workdir: $WORKDIR"
mkdir $WORKDIR
@netshade
netshade / american _why
Created August 24, 2011 18:52
_catch the lucky whiff's tribute to _why
A long, long time ago...
I can still remember
How his blog used to make me smile.
And I knew that if he had his chance
That he could make their code enhance
And, maybe, they’d be happy for a while.
But August made me shiver
With every code line I’d deliver.
Bad news on the doorstep;
@jin
jin / rails-3.1-gemfile.rb
Created September 2, 2011 01:46
Gemfile of fresh Rails 3.1 app, clean RVM 1.9.2 gemset except for Rails itself
source 'http://rubygems.org'
gem 'rails', '3.1.0'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
@eraserhd
eraserhd / gist:1353931
Created November 10, 2011 02:33
Bio, take 1

Oh, something wasn't right when I wrote my first little game at age eight - I was going to figure this computer thing out quick and move along as usual. So many software-years later - sixteen of them professional, and eight of those in startups - I suppose I must admit defeat on that "quick" part. But as the next wave of programmers enter the arena, and I see them face some of the same problems (think, "Oh, man, don't do that again") and many new and different ones ("Wow, that was cool") I feel I can still do good in the world.

@benjaminws
benjaminws / bounce_shoes.rb
Created January 22, 2012 21:24
Learning ruby with shoes!
# KBounce clone
# Setup a basic canvas, 600x400, not resizable
Shoes.app :width => 600, :height => 400, :resizable => false do
background black
# Put our vertical and horizontal baracades in a list
@linesv = []
@linesh = []
@rlemon
rlemon / seabandoned.user.js
Created January 24, 2012 16:15
abandoned user script
// ==UserScript==
// @name LookAtMeINeedFlags
// @author rlemon, jamesgifford
// @version 0.2
// @namespace rlemon.com
// @description Flag SE Questions as Duplicates / Abandoned
// @include http://*stackoverflow.com/*
// @include http://*superuser.com/*
// @include http://*serverfault.com/*
// @include http://*askubuntu.com/*
@alblue
alblue / .gitignore
Created February 12, 2012 10:29
RSS Importer for Jekyll
jekyll
h = Hash.new
f = File.open('numbers.csv', "r")
f.each_line { |line|
numbers = line.split
numbers.each { |w|
if h.has_key?(w)
h[w] = h[w] + 1
else
h[w] = 1
end