Public Gists by rrichards

Gravatar
Thu Nov 12 18:31:36 -0800 2009
1
2
3
ToadMate Bookmarklet
 
Adds clickable links to open the file/line from the
Gravatar
Tue Nov 10 18:36:54 -0800 2009
1
2
3
#!/usr/bin/env ruby
 
require 'rubygems'
Gravatar
Tue Oct 27 09:46:35 -0700 2009
1
2
3
#!/bin/bash
 
echo "Setting up chef..."
Gravatar
Mon Oct 19 12:35:34 -0700 2009
1
2
3
<% cache "time_based/explore_recent_users#{params[:page]}.#{Time.now.to_i / 600}" do -%>
  <div id='recent_users' class='collaborations'>
    <%= recent_users(@top_level) %>
Gravatar
Mon Oct 19 00:09:15 -0700 2009
1
2
3
##########################################
#Ruby idioms
########################################
Gravatar
Mon Oct 19 00:08:48 -0700 2009
1
2
3
#RUBYISMS
 
a = b.foo
Gravatar
Sun Oct 18 02:50:34 -0700 2009
1
2
3
const
Google = 'http://www.google.com/',
GImage = 'http://image.google.com/',
Gravatar
Sun Oct 18 02:50:15 -0700 2009
1
2
3
if (CmdUtils.parserVersion == 2) {
  CmdUtils.CreateCommand({
    names: ["traffic"],
Gravatar
Sun Oct 18 02:49:55 -0700 2009
1
2
3
CmdUtils.CreateCommand({
  name: "search-domain-name",
  icon: "http://instantdomainsearch.com/favicon.ico",
Gravatar
Sun Oct 18 02:48:22 -0700 2009
1
2
3
if (CmdUtils.parserVersion == 2) {
CmdUtils.CreateCommand({
  names: ["trends", "google trends", "google search trends"],
Gravatar
Sun Oct 18 02:37:07 -0700 2009
1
2
3
 
 
 CmdUtils.CreateCommand({
Gravatar
Sun Oct 18 02:27:58 -0700 2009
1
2
3
CmdUtils.CreateCommand(
            {
                name: "rails",
Gravatar
Mon Sep 14 22:03:58 -0700 2009
1
2
3
# Rake tasks for managing git plugins with submodules.
#
# These tasks aim to make life simpler by automating all the boring work.
Gravatar
Thu May 28 20:09:42 -0700 2009
1
2
3
# autocompletion for ruby_test
# # works with tu/tf aliases
# # see also ~/bin/ruby_test.rb
Gravatar
Thu May 28 20:07:07 -0700 2009
1
2
3
# http://gist.github.com/10524
# Prevents autotest from running your entire test suite after fixing a failed test.
# Works with ZenTest 3.10.0
Gravatar
Thu May 28 20:03:30 -0700 2009
1
2
3
require 'rubygems'
require 'benchmark'
 
gist: 110412 passenger status
Gravatar
Tue May 12 03:34:44 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
def output_config
gist: 91539 rails template for skeleton...
Gravatar
Tue Apr 07 16:47:57 -0700 2009
1
2
3
# Set up git repository
git :init
 
Gravatar
Tue Apr 07 14:53:17 -0700 2009
1
2
3
# rails application template for generating customized rails apps
#
# == requires ==
Gravatar
Thu Feb 26 14:27:15 -0800 2009
1
2
3
require 'open-uri'
require 'hpricot'