Skip to content

Instantly share code, notes, and snippets.

View jubishop's full-sized avatar
💭
Vibing

Justin Bishop jubishop

💭
Vibing
View GitHub Profile
require 'sinatra'
get '/long_process' do
child_pid = Process.fork do
# hard work is done here...
sleep 10
Process.exit
end
#!/usr/bin/env ruby
require 'tempfile'
require 'rubygems'
require 'mojombo-grit'
include Grit
PATH_TO_DIFFMERGE = "/usr/bin/diffmerge"