This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| herp derp dont require rubygems when you write libraries blah blah. | |
| rofl dongs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'pp' | |
| require 'stuffin_dicks' | |
| require 'hpricot' | |
| require 'dhh_wang' | |
| require 'activerecord' | |
| require 'datamapper' | |
| require 'ruby-debug' | |
| require 'shoulda' | |
| require 'shoulda/aborted_that_fetus' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| run 'rm README' | |
| run 'rm public/index.html' | |
| run 'rm public/favicon.ico' | |
| run 'rm public/images/rails.png' | |
| plugin 'authlogic', :git => 'git://github.com/binarylogic/authlogic.git' | |
| plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git' | |
| file '.gitignore', <<-FILE | |
| .DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #OH GOD | |
| # HOW DID THIS GET HERE | |
| # I DONT EVEN | |
| if [ "x$1" = "x" ]; then | |
| echo "Usage: $0 <dbname>" | |
| exit | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'benchmark' | |
| require 'rubygems' | |
| require 'couchrest' | |
| SERVER = CouchRest.new | |
| SERVER.default_database = 'misanthropy' | |
| class Twat < CouchRest::ExtendedDocument | |
| use_database SERVER.default_database |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irb(main):009:0> a = RelaxDB.load "08ca2bae9630e997c1c8e3df11f29061" | |
| => #<Album:540155320, | |
| _id: "08ca2bae9630e997c1c8e3df11f29061", | |
| _rev: "18-3745543010", | |
| created_at: Mon Jul 13 16:44:02 UTC 2009, | |
| artist: "Lovage", | |
| title: "Music to Make Love to Your Old Lady By", | |
| released: 2001, | |
| tracks: [ | |
| {"title"=>"Ladies Love Chest Rockwell", "length"=>"1:19"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_id": "08ca2bae9630e997c1c8e3df11f29061", | |
| "_rev": "14-3332404294", | |
| "artist": "Lovage", | |
| "title": "Music to Make Love to Your Old Lady By", | |
| "released": 2001, | |
| "tracks": [ | |
| { | |
| "title": "Ladies Love Chest Rockwell", | |
| "length": "1:19" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'eventmachine' | |
| require 'twitter' | |
| require 'logger' | |
| #this is me being too lazy to rewrite all of the sequel methods | |
| AL_ROOT = File.expand_path("#{File.dirname(__FILE__)}/../..") | |
| require '../bebot/helpers/bebot' | |
| class Twatbot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'pp' | |
| require 'rubygems' | |
| require 'relaxdb' | |
| RelaxDB.configure :host => "localhost", :port => 5984, :design_doc => "app" | |
| RelaxDB.use_db "music_scratch" | |
| RelaxDB.enable_view_creation # creates views when class definition is executed | |
| class Album < RelaxDB::Document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 18:42 (nick) 8~>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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