Public Gists by wfarr

Gravatar
Sat Nov 21 13:47:33 -0800 2009
1
puts "foo"
Gravatar
Mon Oct 26 11:03:18 -0700 2009
1
2
3
God.watch do |w|
  w.name = "mongod"
  w.interval = 30.seconds
Gravatar
Tue Oct 20 21:38:34 -0700 2009
1
2
3
#!/bin/env ruby
 
rbgem = `which gem`.strip
Gravatar
Tue Sep 22 15:02:38 -0700 2009
1
2
3
#!/opt/ree/bin/ruby
# originally from http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/
#
Gravatar
Mon Sep 21 12:48:36 -0700 2009
1
2
3
alias gnax='ssh -t -D 2444 wfarr@gw01.gnax.railsmachine.net "screen -x"'
alias gnax2='ssh -D 2445 wfarr@gw02.gnax.railsmachine.net -t "screen -x"'
alias pnap='ssh -t -D 3444 wfarr@gw01.pnap.railsmachine.net "screen -x"'
Gravatar
Sun Aug 30 10:57:48 -0700 2009
1
2
3
   def tag
     @tag = params[:tag]
- if @tag =~ /,/
Gravatar
Sun Aug 30 10:53:52 -0700 2009
1
2
3
class PostsController < ApplicationController
  ...
  # Displays posts that contain any of one or more tags passed in
Gravatar
Sun Aug 30 10:49:59 -0700 2009
1
2
3
class PostsController < ApplicationController
  def tag
    # Will return a list of items matching one or any tags passed to the controller, sorted, without duplicates
Gravatar
Mon Jul 06 15:48:42 -0700 2009
1
2
3
wfarr@Will-Farringtons-Macbook:~/Code/wfarr.github.com[redesign*]$ sudo gem install RedCloth mojombo-jekyll
Building native extensions. This could take a while...
Successfully installed RedCloth-4.2.2
Gravatar
Wed Jun 17 18:04:52 -0700 2009
1
2
3
Safari = From
Firefox 3.5 RC 1 = To
 
Gravatar
Sun May 31 01:04:56 -0700 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Gravatar
Sun May 17 16:26:54 -0700 2009
1
2
3
Updating installed gems
Updating RedCloth
Building native extensions. This could take a while...
Gravatar
Mon May 11 20:25:05 -0700 2009
1
2
3
-- register Things for growl notices
tell application "GrowlHelperApp" to register as application "Things" all notifications {"ToDo Notice"} default notifications {"ToDo Notice"}
 
gist: 103960 Highlight operators in ruby...
Gravatar
Wed Apr 29 11:33:43 -0700 2009
1
2
3
 
(add-hook 'ruby-mode-hook
 (lambda ()
Gravatar
Sun Apr 26 21:11:01 -0700 2009
1
2
3
=clean-list
  ul
    :list-style-type none
Gravatar
Wed Apr 22 19:07:42 -0700 2009
1
2
3
//
//
//
Gravatar
Mon Apr 13 19:48:45 -0700 2009
1
2
3
#!/usr/bin/env ruby1.9
 
require 'mathn'
Gravatar
Fri Apr 10 09:16:48 -0700 2009
1
2
wfarr@turing:~/Code/wfarr.github.com/_posts[master*]$ tail -n50 lisp-and-emacs.textile | grep "There"
There are other complicated softwares that are widely adopted, but Emacs doesn't have the good public face they do.
Gravatar
Wed Apr 08 19:18:58 -0700 2009
1
2
3
--[[
VPLanguage = lua
VPScriptMenuTitle = GitHub Commit
Gravatar
Mon Mar 30 20:50:44 -0700 2009
1
2
3
test_matr.LUdecomp
 
Order: