Skip to content

Instantly share code, notes, and snippets.

@timols
timols / ruby-hough.rb
Created September 26, 2011 00:51 — forked from rondale-sc/ruby-hough.rb
The hough transform in ruby. Only looks for straight black lines.
begin
['oily_png', 'pp'].each do |g|
require g
end
rescue LoadError => e
puts "Could not load '#{e}'"; exit
end
class Hough
Convert = "/usr/local/bin/convert"
@timols
timols / redis-server
Created September 4, 2011 20:16 — forked from lsbardel/redis-server-for-init.d-startup
Init.d Redis script for Ubuntu
#! /bin/sh
### BEGIN INIT INFO
# Provides: redis-server
# Required-Start: $syslog
# Required-Stop: $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: redis-server - Persistent key-value db
@timols
timols / about.md
Created August 9, 2011 21:28 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer