Skip to content

Instantly share code, notes, and snippets.

View waynerobinson's full-sized avatar

Wayne Robinson waynerobinson

View GitHub Profile
# _job
<div>
<%= fields_for :job do | f |
<%= render :partial => 'waypoints/waypoint', :locals => {:job_form => f} %>
</div>
--------------------------------
# _waypoint
@waynerobinson
waynerobinson / LICENSE.txt
Created November 29, 2011 10:41 — forked from LeverOne/LICENSE.txt
generate random v4 UUIDs (107 bytes)
DO WTF YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Alexey Silin <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WTF YOU WANT TO PUBLIC LICENSE
@waynerobinson
waynerobinson / juggernaut.rb
Created June 26, 2012 03:00 — forked from maccman/juggernaut.rb
Juggernaut - simple design
# Usage: redis-cli publish message hello
require 'sinatra'
require 'redis'
conns = []
get '/' do
erb :index
end