Skip to content

Instantly share code, notes, and snippets.

function ssh-agent-launch
echo "Initializing new SSH agent ..."
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
echo "succeeded"
chmod 600 $SSH_ENV
. $SSH_ENV > /dev/null
ssh-add
end
function ssh-agent-test
@jdsumsion
jdsumsion / example_note_keeping_app.rb
Created May 20, 2010 20:03 — forked from pietern/example_note_keeping_app.rb
fixed redis-1.2.6 incompatibilities
require 'rubygems'
require 'sinatra'
require 'redis'
# To use, simply start your Redis server and boot this
# example app with:
# ruby example_note_keeping_app.rb
#
# Point your browser to http://localhost:4567 and enjoy!
#