Skip to content

Instantly share code, notes, and snippets.

Focusing on @planetargon at the moment

Robby Russell robbyrussell

Focusing on @planetargon at the moment
View GitHub Profile
robbyrussell /
Created Feb 8, 2012
Keep your @ohmyzsh ~/.zshrc in sync via dropbox
# Was asked how I keep my zshrc config sync'd between my computers with Dropbox
# Add a new directory in your Dropbox (or use an existing one)
mkdir -p ~/Dropbox/ohmyzsh
# move existing file to Dropbox
mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc
# symlink file back to your local directory
ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc
robbyrussell / better-favicon-for-google.js
Created Jan 12, 2009
Greasemonkey script to change the favicon for Google to a old and improved (and less colorful one)
View better-favicon-for-google.js
// ==UserScript==
// @name BetterFavicon
// @namespace planetargon
// @description A better favicon for google
// @include http://*
// ==/UserScript==
var favicon_link_html = document.createElement('link');
favicon_link_html.rel = 'icon';
favicon_link_html.href = '';
robbyrussell / export.rake
Created Aug 31, 2008
rake task and library extension for ActiveRecord to export a model's records to a CSV file
View export.rake
namespace :export do
desc "Export ActiveRecord model records to a CSV file. Pass model name: model=ModelName"
task :to_csv => :environment do
require 'exportable'
open(RAILS_ROOT + '/log/', "w") do |file|
file <<
robbyrussell /
Created May 1, 2018 — forked from joshsusser/
languages I've been paid to program in
  1. assembler
  2. bash
  3. BASIC
  4. C
  5. C++
  6. Dylan (aka Ralph)
  7. HyperTalk
  8. Java
  9. JavaScript
  10. Lisp
robbyrussell / 01 port self-update
Created Oct 17, 2008
Everything that I'm doing to get my development environment up and running with MacPorts
View 01 port self-update
robby-russells-macbook-pro% sudo /opt/local/bin/port selfupdate
MacPorts base version 1.600 installed
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
robbyrussell /
Created Sep 22, 2011
git rebase explained
Using git rebase you can...
[08yg2'pygr'ue w' hge 'weg'y8eq' 13rfh29hufg2 f2 hiefpheflqdoq udqs0ysqflwqrl hqsdo8sfo qsoyfoh8i24t;nv2hpewgjppyputpy gpu p upy Tphds0ywefjpdgy80etwhpasgihasdgoyf phqwyot hq py eqtoy qpysfygdpy9 qwrlhiqwtoad8gyasly wasoy ao yqwrlhqw.
y83tqoy8t3 tpq et0 qerpqejqey qh pqy qwr-yqt[u93tqpy9gqepy tqy9 -qrhp3 py3 3ry31y2p hfey 0fqrp gpwygh ry0fh43wri7eldgkt ht34 goyw gol wrlsfvy94pygor pho 2oy 2oey8 24 gwgo orh2o ft9ydwlhfwdkdfhdflieqo 2oy2 4tdo8fouywf pdgfo sho qo he o tt .
Sounds easy, right?
View mary-had-a-little-lamb.rb
#!env ruby
# brew install sox
def play(note, octave=1)
"play -q -n synth sq #{note}#{octave} remix - fade 0 .6 .1 norm; "
song_notes = %w(B A G A B B B A A A G D D B A G A B B B B A A B A G)
robbyrussell / doh-my-zsh.txt
Created Apr 11, 2016
View doh-my-zsh.txt
How I unexpectedly built a monster of an open source project
In 2009, Oh My Zsh was released. It's since become a popular open source tool used by developers around the world. Let's walk through how a really small idea turned into a big project.
View i-am-sorry.txt
Dear friends, we are truly sorry. You're right. We live in a bubble
and have a lot to learn. We need to do some soul searching and
practice mindfulness going forward. We hope that, in time, you'll
forgive us.
View gist:1831231
# config options
CURRENT_DATE=`date +%Y%m%d`;