Public Gists by sco

Gravatar
Fri Aug 07 09:27:02 -0700 2009
1
2
3
#import "UINavigationBar+AFExtensions.h"
 
@implementation UINavigationBar (AFExtensions)
Gravatar
Tue Apr 21 08:48:20 -0700 2009
1
2
3
class Order < ActiveRecord::Base
  
  SECRET = '3a9392e86049546fcff5e21e3c89564deb8bd9d4'
Gravatar
Thu Mar 26 06:15:52 -0700 2009
1
2
3
class JobQueue
  
  def initialize(name, options={})
Gravatar
Thu Mar 26 06:14:25 -0700 2009
1
2
3
class WebHook < ActiveRecord::Base
  
  class << self
Gravatar
Thu Mar 26 05:56:52 -0700 2009
1
2
3
# Lo-fi client for the Facebook API. E.g.:
#
# fb = FacebookClient.new(:api_key => 'api-key', :secret => 'secret')
Gravatar
Thu Mar 26 05:41:17 -0700 2009
1
2
3
require 'memcached'
 
# Provides a hybrid of memoization and memcacheing. Designed for storing an entire (small)
Gravatar
Tue Mar 03 17:53:10 -0800 2009
1
2
3
@interface CustomNavigationBar : UINavigationBar {
UIImageView *backgroundView;
}
Gravatar
Mon Mar 02 11:32:10 -0800 2009
1
2
3
//
// StompService.h
// Objective-C Stomp Client
Gravatar
Sun Feb 01 13:09:02 -0800 2009
1
2
3
require 'net/http'
require 'rubygems'
require 'json'
gist: 55669 minimal version of jacobswe...
Gravatar
Sat Jan 31 13:37:55 -0800 2009
1
2
3
<html>
  <head>
    <title>JW Nav</title>
Gravatar
Tue Dec 09 09:53:45 -0800 2008
1
2
3
odds_server = Proc.new do |env|
  if env['PATH_INFO'] == '/odds'
    [200, {'Content-Type'=>'application/json'}, '{claim_code:"123-sdfjhsdf"}']
gist: 15836 initializing couchrest in a...
Gravatar
Thu Oct 09 11:17:24 -0700 2008
1
2
3
---
development: &defaults
  :url: http://0.0.0.0:5984/gathering
Gravatar
Tue Sep 23 09:56:29 -0700 2008
1
2
3
require 'timeout'
 
class RequestTimeout < Merb::Rack::Middleware
Gravatar
Mon Sep 22 11:32:33 -0700 2008
1
2
3
class Array
 
  def weighted_random(weight_method=:weight)