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
/Users/hsbt/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-fiber_pool-0.9.2/lib/fiber_pool.rb:75: [BUG] Segmentation fault | |
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] | |
-- control frame ---------- | |
c:0055 p:---- s:0272 b:0272 l:000271 d:000271 CFUNC :resume | |
c:0054 p:0067 s:0268 b:0268 l:000267 d:000267 METHOD /Users/hsbt/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-fiber_pool-0.9.2/lib/fiber_pool.rb:75 | |
c:0053 p:0026 s:0263 b:0263 l:000958 d:000958 METHOD /Users/hsbt/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-fiber_pool-0.9.2/lib/rack/fiber_pool.rb:28 | |
c:0052 p:0015 s:0258 b:0258 l:000257 d:000257 METHOD /Users/hsbt/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/actionpack-3.2.0/lib/action_dispatch/middleware/best_standards_ | |
c:0051 p:0015 s:0251 b:0251 l:000250 d:000250 METHOD /Users/hsbt/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23 | |
c:0050 p:0068 s:0243 b:0243 l:000242 d:000242 METHOD /Users/hsbt/.rbenv/versions/1 |
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
Process: ruby [61417] | |
Path: /Users/USER/*/ruby | |
Identifier: ruby | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: ruby [61369] | |
Date/Time: 2012-01-26 21:35:29.446 +0900 | |
OS Version: Mac OS X 10.7.2 (11C74) | |
Report Version: 9 |
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
Process: ruby [85832] | |
Path: /Users/USER/*/ruby | |
Identifier: ruby | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: ruby [85679] | |
Date/Time: 2012-01-26 18:21:42.271 +0900 | |
OS Version: Mac OS X 10.7.2 (11C74) | |
Report Version: 9 |
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
Process: ruby [2137] | |
Path: /Users/USER/*/ruby | |
Identifier: ruby | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [50393] | |
Date/Time: 2012-01-27 18:21:56.180 +0900 | |
OS Version: Mac OS X 10.7.2 (11C74) | |
Report Version: 9 |
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
$:.unshift('.') | |
require 'tdiary' | |
module TDiary | |
class Comment | |
attr_accessor :body | |
end | |
end | |
PStore.new('tmp/data/recent_comments').transaction do |pdb| |
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
task :mybefore do | |
puts :foo | |
end | |
task :myafter do | |
puts :bar | |
end | |
task :buzz do | |
puts :buzz |
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
<!-- Add these tags to the HEAD section of your page. --> | |
<link href="http://coderwall.com/stylesheets/jquery.coderwall.css" media="all" rel="stylesheet" type="text/css"> | |
<script src="http://coderwall.com/javascripts/jquery.coderwall.js"></script> | |
<!-- You also need to place a container where you'd like the Coderwall badges to render. --> | |
<section class="coderwall" data-coderwall-username="(your username)" data-coderwall-orientation="(vertical or horizontal)"></section> |
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
desc "Shrink the js" | |
task :minimize_js, :roles => :app, :except => { :no_release => true } do | |
require 'lib/js_minimizer' | |
paths = [] | |
paths += Dir['public/javascripts/jquery.*.js'].sort | |
paths += Dir['public/javascripts/github.*.js'].sort | |
paths = paths.flatten | |
put JSMinimizer.minimize_files(*paths), "#{release_path}/public/javascripts/bundle.js" | |
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
SuperLongClassName.super_long_name_method(hoge: 'fuga', | |
foo: 'bar', | |
baka: 'aho') |
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
development: | |
adapter: mysql2 | |
encoding: utf8 | |
reconnect: false | |
database: foo_development | |
pool: 5 | |
username: root | |
password: | |
socket: /tmp/mysql.sock |