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
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); |
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
#!/bin/bash | |
BUILD_DIR=/var/builds | |
GNUPG_KEY=DBC1F58D | |
MIRRORDIR=/git/ | |
WORKDIR=/tmp/$$.d/ | |
echo "Creating workdir: $WORKDIR" | |
mkdir $WORKDIR |
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
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; |
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
source 'http://rubygems.org' | |
gem 'rails', '3.1.0' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'sqlite3' | |
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.
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
# 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 = [] | |
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
// ==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/* |
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
jekyll |
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
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 |
OlderNewer