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
;;; coffee.el --- Submit a BREW request to an RFC2324-compliant coffee device | |
;;; | |
;;; Author: Eric Marsden <[email protected]> | |
;;; Version: 0.2 | |
;;; Copyright: (C) 1999 Eric Marsden | |
;;; Keywords: coffee, brew, kitchen-sink, can't | |
;; | |
;; This program is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU General Public License as | |
;; published by the Free Software Foundation; either version 2 of |
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
Processing BlogsController#index (for 127.0.0.1 at 2008-11-29 21:05:57) [GET] | |
Blog Load (0.0ms) SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" | |
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" ): | |
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188:in `log' | |
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' | |
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:372:in `catch_schema_changes' | |
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' | |
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `select' |
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
Processing BlogsController#index (for 127.0.0.1 at 2008-11-29 21:00:06) [GET] | |
Blog Load (0.0ms) SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" | |
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" ): | |
/app/controllers/blogs_controller.rb:5:in `index' | |
/opt/local/lib/ruby/gems/1.8/gems/thin-0.6.4/lib/thin/connection.rb:35:in `process' | |
/opt/local/lib/ruby/gems/1.8/gems/thin-0.6.4/lib/thin/connection.rb:23:in `receive_data' | |
/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback' | |
/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine' | |
/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run' |
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
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" ): | |
/app/controllers/blogs_controller.rb:5:in `index' | |
thin (0.6.4) :lib/thin/connection.rb:35:in `process' | |
thin (0.6.4) :lib/thin/connection.rb:23:in `receive_data' | |
eventmachine (0.10.0) :lib/eventmachine.rb:1056:in `event_callback' | |
eventmachine (0.10.0) :lib/eventmachine.rb:224:in `run_machine' | |
eventmachine (0.10.0) :lib/eventmachine.rb:224:in `run' | |
thin (0.6.4) :lib/thin/server.rb:113:in `start' | |
thin (0.6.4) :lib/thin/controllers/controller.rb:59:in `start' | |
thin (0.6.4) :lib/thin/runner.rb:143:in `send' |
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
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: blogs: SELECT * FROM "blogs" ): | |
/app/controllers/blogs_controller.rb:5:in `index' | |
thin (0.6.4) lib/thin/connection.rb:35:in `process' | |
thin (0.6.4) lib/thin/connection.rb:23:in `receive_data' | |
eventmachine (0.10.0) lib/eventmachine.rb:1056:in `event_callback' | |
eventmachine (0.10.0) lib/eventmachine.rb:224:in `run_machine' | |
eventmachine (0.10.0) lib/eventmachine.rb:224:in `run' | |
thin (0.6.4) lib/thin/server.rb:113:in `start' | |
thin (0.6.4) lib/thin/controllers/controller.rb:59:in `start' | |
thin (0.6.4) lib/thin/runner.rb:143:in `send' |
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
class MyRackFilter | |
def initialize(app, logger = nil) | |
@app = app | |
@logger = logger | |
end | |
def call(env) | |
@logger.debug("Hit, hit!") | |
status, headers, response = @app.call(env) | |
end |
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
juan@Manzanito ~/Documents | |
$ irb | |
>> require 'time' | |
=> true | |
>> Time.now | |
=> Tue Aug 11 10:08:07 +0200 2009 | |
>> Time.parse("17:00 PST") | |
=> Wed Aug 12 03:00:00 +0200 2009 | |
>> |
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
# Get the official Emacs repo: | |
git clone http://repo.or.cz/r/emacs.git/ | |
# Get the fullscreen patch | |
git remote add typester git://github.com/typester/emacs.git | |
git fetch typester | |
# Create a patch and apply to HEAD | |
# I had merge conflicts when rebasing and | |
# build failures for origin/emacs-23 |
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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'rubygems' | |
require 'json/ext' | |
require 'couchrest' | |
require 'tire' | |
require 'yajl/json_gem' | |
require 'faker' |
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
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !(.*)png$ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . index.html [L,QSA] |
OlderNewer