Public Gists by robbyrussell

Gravatar
Sun Nov 16 13:43:09 -0800 2008
1
2
3
#!/bin/sh
#
# bash script to run a git-pull... and restart mongrel for you...
gist: 23615 A few gresemonkey scripts t...
Gravatar
Mon Nov 10 12:19:39 -0800 2008
1
2
3
// ==UserScript==
// @name Basecamp Favicons
// @namespace http://robbyonrails.com/greasemonkey
gist: 19345 Replaces the select to copy...
Gravatar
Thu Oct 23 22:12:42 -0700 2008
1
2
3
// ==UserScript==
// @name SkitchEmbedder
// @namespace skitch
gist: 17502 Everything that I'm doing t...
Gravatar
Fri Oct 17 12:20:09 -0700 2008
1
2
3
robby-russells-macbook-pro% sudo /opt/local/bin/port selfupdate
 
MacPorts base version 1.600 installed
gist: 15458 example of building line gr...
Gravatar
Tue Oct 07 23:40:37 -0700 2008
1
2
3
// line 1, requires an array of arrays (x,y)
var line_1 = [ [2000, 10000],
 
Gravatar
Thu Oct 02 10:19:59 -0700 2008
1
2
3
soap4r stuff
 
# before (this didn't really seem to work...)
gist: 14264 greasemonkey script to prot...
Gravatar
Wed Oct 01 20:20:37 -0700 2008
1
2
3
// ==UserScript==
// @name SaveYourselfFromPalin
// @namespace http://www.youtube.com/
Gravatar
Tue Sep 02 18:56:01 -0700 2008
1
2
3
curl -X POST -H 'Content-Type: application/json' -H "Accept: application/json" -d '{ "link": { "website_url": "http://github.com/robbyrussell/rubyurl" } }' http://rubyurl.com/api/links | ruby -rubygems -e 'require "json"; require "yaml"; puts JSON.parse($stdin.gets).to_yaml'
 
 
Gravatar
Tue Sep 02 15:29:51 -0700 2008
1
2
3
require 'rubygems'
require 'httparty'
 
gist: 8363 request/response for RubyUR...
Gravatar
Mon Sep 01 18:21:23 -0700 2008
1
{ "link": { "website_url": "http://github.com/robbyrussell/rubyurl" } }
Gravatar
Sun Aug 31 11:51:10 -0700 2008
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
  <link>
    <website_url>http://github.com/robbyrussell</website_url>
Gravatar
Sun Aug 31 09:59:36 -0700 2008
1
2
3
POST http://rubyurl.com/api/links
 
<link>
gist: 8154 rake task and library exten...
Gravatar
Sat Aug 30 17:02:12 -0700 2008
1
2
3
namespace :export do
  desc "Export ActiveRecord model records to a CSV file. Pass model name: model=ModelName"
  task :to_csv => :environment do
gist: 8076 my ~/.gitconfig
Gravatar
Fri Aug 29 16:52:42 -0700 2008
1
2
3
[user]
  email = robby@planetargon.com
  name = Robby Russell
Gravatar
Tue Aug 26 14:24:35 -0700 2008
1
2
3
~ : cat .gitconfig
[user]
  email = robby@planetargon.com
Gravatar
Tue Aug 12 10:07:53 -0700 2008
1
2
3
 ~ : irb
2 + 3>> 2 + 3
=> 5
Gravatar
Thu Jul 24 10:01:26 -0700 2008
1
2
3
# Required for using Mongrel with Capistrano2
# gem install palmtree
 
Gravatar
Thu Jul 24 08:40:32 -0700 2008
1
2
3
require "shorturl"
 
# rubyurl