Skip to content

Instantly share code, notes, and snippets.

View tnm's full-sized avatar

Ted Nyman tnm

View GitHub Profile
.mouse, #preview{
position: absolute;
background-repeat: no-repeat;
height: 22px;
min-width: 15px;
z-index: 100;
}
.mouse{
background-image: url('../images/cursor.png');
# compl1.rb - Redis autocomplete example
# download female-names.txt from http://antirez.com/misc/female-names.txt
require 'rubygems'
require 'redis'
r = Redis.new
# Create the completion sorted set
if !r.exists(:compl)
#!/usr/bin/env ruby
require 'date'
require 'pp'
after = DateTime.parse(ARGV[0])
before = DateTime.parse(ARGV[1])
puts after
puts before