Public Gists by bmizerany

Gravatar
Thu Dec 03 01:02:34 -0800 2009
1
2
3
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
Gravatar
Thu Dec 03 01:02:11 -0800 2009
1
2
3
have_header: checking for python2.5/Python.h... -------------------- yes
 
"gcc -E -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -g -Os -fno-strict-aliasing conftest.c -o conftest.i"
Gravatar
Thu Nov 19 15:46:52 -0800 2009
1
2
3
screen -X "split"
screen -X "focus"
screen -X "screen"
Gravatar
Tue Oct 27 22:59:39 -0700 2009
1
2
3
  def echo(msg)
    Class.new(Struct.new(:msg)) {
      def >(fname)
Gravatar
Fri Sep 11 13:36:08 -0700 2009
1
2
3
require 'sinatra-jruby-glassfish'
 
# You would only say MyApp.run! is
Gravatar
Tue Sep 08 14:54:18 -0700 2009
1
rack_hoptoad
Gravatar
Tue Sep 08 08:54:30 -0700 2009
1
2
3
#!/usr/bin/env macruby
 
framework 'Cocoa'
Gravatar
Wed Sep 02 16:35:34 -0700 2009
1
2
3
require 'sinatra'
 
get '/example-view' do
Gravatar
Wed Sep 02 15:58:15 -0700 2009
1
2
3
before do
  if m = request.path_info.match(/^\/a(\/.*)/)
 
Gravatar
Wed Sep 02 14:52:48 -0700 2009
1
2
3
class Test
  def foo
    puts "foo"
Gravatar
Wed Sep 02 13:24:57 -0700 2009
1
2
3
require 'sinatra'
 
get '/' do
Gravatar
Mon Aug 17 09:08:06 -0700 2009
1
2
3
not_found do
  erb :404
end
Gravatar
Tue Jun 23 07:30:37 -0700 2009
1
2
3
-(void) say:(NSString *) msg {
  NSLog(@"SAY: %@", msg);
}
Gravatar
Fri Jun 19 00:45:54 -0700 2009
1
2
3
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
Gravatar
Thu Jun 18 20:49:19 -0700 2009
1
2
3
Rails::Initializer.run do |config|
 
  # Require the latest version of haml
Gravatar
Mon Jun 15 14:48:29 -0700 2009
1
2
3
<schema name="heroku.docs.page" store="yes">
<field
name="name"
Gravatar
Fri Jun 12 16:43:21 -0700 2009
1
2
3
Curl::Err::UnsupportedProtocolError: Unsupported protocol
from ./vendor/cloudquery/lib/cloudquery.rb:169:in `http_post'
from ./vendor/cloudquery/lib/cloudquery.rb:169:in `get_secret'
Gravatar
Tue May 26 11:48:14 -0700 2009
1
2
3
require 'sinatra/base'
 
run Sinatra.new {
Gravatar
Mon May 04 15:53:12 -0700 2009
1
2
3
module Sinatra
 
   module CacheControl
Gravatar
Sun Apr 26 16:39:29 -0700 2009
1
2
3
require 'sinatra'
 
class ESI < Sinatra::Default