- assembler
- bash
- BASIC
- C
- C++
- Dylan (aka Ralph)
- HyperTalk
- Java
- JavaScript
- Lisp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BetterFavicon | |
// @namespace planetargon | |
// @description A better favicon for google | |
// @include http://*.google.com/ | |
// ==/UserScript== | |
var favicon_link_html = document.createElement('link'); | |
favicon_link_html.rel = 'icon'; | |
favicon_link_html.href = 'http://robbyonrails.com/files/google-favicon.ico'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# my ~/.zshrc BEFORE oh-my-zsh | |
# Input stuff. | |
bindkey -e | |
# History stuff. | |
setopt HIST_VERIFY | |
setopt INC_APPEND_HISTORY | |
setopt SHARE_HISTORY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# A little shell script to help you reclaim disk space by doing the | |
# following things on your Mac OS development machine. | |
# * Empty all of your local development.log files | |
# * Empty all of your local test.log files | |
# * Removes unused Homebrew packages | |
# Install: | |
# * Save this to ~/bin/argonista-disk-space-reclaimer.sh | |
# * Run % chmod +x ~/bin/argonista-disk-space-reclaimer.sh | |
# Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/export.pid', "w") do |file| | |
file << Process.pid | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!env ruby | |
# | |
# brew install sox | |
# | |
def play(note, octave=1) | |
"play -q -n synth sq #{note}#{octave} remix - fade 0 .6 .1 norm; " | |
end | |
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title: | |
How I unexpectedly built a monster of an open source project | |
Excerpt: | |
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. | |
NewerOlder