Public Gists by jduff

Gravatar
Mon Nov 09 05:38:07 -0800 2009
1
2
3
#env
export PATH=/opt/local/bin:/opt/local/sbin:$PATH:/usr/local/mysql/bin
 
Gravatar
Thu Sep 17 13:08:06 -0700 2009
1
2
3
#import <Foundation/Foundation.h>
 
@interface PolygonShape : NSObject {
Gravatar
Mon Sep 14 07:56:13 -0700 2009
1
2
3
#import <Foundation/Foundation.h>
 
int main (int argc, const char * argv[]) {
Gravatar
Thu Jun 18 19:32:42 -0700 2009
1
2
3
From f6b4095185f4aff912b3bda59033ed2d259da735 Mon Sep 17 00:00:00 2001
From: John Duff <duff.john@gmail.com>
Date: Thu, 18 Jun 2009 22:24:00 -0400
Gravatar
Sun Feb 15 11:33:29 -0800 2009
1
2
3
class Object
  # Useage:
  # @user.name.or("blank")
Gravatar
Thu Feb 05 08:18:38 -0800 2009
1
2
3
var DateHelper = {
  // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time
  // Ruby strftime: %b %d, %Y %H:%M:%S GMT
Gravatar
Tue Dec 30 09:42:22 -0800 2008
1
2
3
module ApplicationHelper
  
  # Example Useage:
Gravatar
Sat Dec 13 15:22:19 -0800 2008
1
2
3
run "rm public/index.html"
git :init