Public Gists by deminew

Gravatar
Tue Nov 10 11:01:11 -0800 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
Gravatar
Tue Nov 10 10:59:07 -0800 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
Gravatar
Fri Nov 06 13:51:55 -0800 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
Gravatar
Sun Nov 01 12:32:58 -0800 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
Gravatar
Fri Oct 30 10:26:22 -0700 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
Gravatar
Sat Oct 17 04:53:37 -0700 2009
1
2
3
class App < Sinatra::Base
  before do
    headers "Content-Type" => "text/html; charset=utf-8"
Gravatar
Wed Oct 14 09:45:46 -0700 2009
1
2
3
require 'sinatra'
require 'pathname'
 
Gravatar
Wed Oct 14 09:38:47 -0700 2009

      
Gravatar
Wed Oct 14 09:36:54 -0700 2009

      
Gravatar
Wed Oct 14 09:36:02 -0700 2009

      
Gravatar
Fri May 22 14:28:52 -0700 2009
1
2
3
class ARF
    attr :coords
    def initialize map, follow, size, app
Gravatar
Fri May 15 09:44:07 -0700 2009
1
2
3
Shoes.setup do
  gem 'activeresource'
end
Gravatar
Thu May 07 17:35:14 -0700 2009
1
2
3
# This is a code example for the Ruby HTTP library Typhoeus
 
# here's an example for twitter search
Gravatar
Thu May 07 12:17:30 -0700 2009
1
2
3
# Kivanio Barbosa
# Class to remove or install gems
class Phoda
Gravatar
Fri Apr 24 18:08:23 -0700 2009
1
2
3
require 'rubygems'
require 'benchmark'
 
Gravatar
Sun Apr 19 11:52:19 -0700 2009
1
2
3
require "rubygems"
require 'mechanize'
 
Gravatar
Fri Apr 17 16:31:09 -0700 2009
1
2
3
#!/bin/bash
projects=( rails active_merchant activerecord_i18n_defaults adva_cms amqp ansuz apache-upload-progress-module backports braid click-to-globalize clj-garden cucumber cucumber-tmbundle custom_resource_name deprec design_patterns_in_ruby exception_notification git-me-up git_depot globalize2 globalize2-demo grit http_accept_language insoshi isitjruby jrails jruby-rack lighthouse-api merb-internals-handbook mizuho mspec panda paperclip poignant-br prawn rails-template rake-compiler reia rhodes rhosync rquery rspec rspec-rails ruby-benchmark-suite rubyspec sake-tasks saushengine scanty snippets standalone-migrations translate_routes translator twitter vim-git vim-rails webrat )
for repo in ${projects[@]}; do
Gravatar
Thu Apr 16 20:05:01 -0700 2009
1
2
3
#!/usr/local/bin/ruby
require 'rubygems'
require 'twitter'
Gravatar
Mon Apr 06 14:09:02 -0700 2009
1
2
3
class File
  def replace(pattern, string)
    full_path = File.expand_path path
Gravatar
Tue Mar 31 11:13:38 -0700 2009
1
2
3
# Deploying a Sinatra app to Heroku
 
## Database