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
| HOMEBREW_VERSION: 0.7 | |
| HEAD: 1168d8ffa8bb4dd55fcd1cbd812e89dc338df624 | |
| HOMEBREW_PREFIX: /usr/local | |
| HOMEBREW_CELLAR: /usr/local/Cellar | |
| HOMEBREW_REPOSITORY: /usr/local | |
| HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
| Hardware: dual-core 64-bit penryn | |
| OS X: 10.6.4 | |
| Kernel Architecture: i386 | |
| Ruby: 1.8.7-174 |
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
| Admin.first; sleep 60; Admin.first |
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
| +----------------------------+-------+ | |
| | Variable_name | Value | | |
| +----------------------------+-------+ | |
| | connect_timeout | 5 | | |
| | delayed_insert_timeout | 300 | | |
| | innodb_lock_wait_timeout | 50 | | |
| | innodb_rollback_on_timeout | OFF | | |
| | interactive_timeout | 28800 | | |
| | net_read_timeout | 30 | | |
| | net_write_timeout | 60 | |
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
| SELECT `products`.* | |
| FROM `products` | |
| INNER JOIN `distributions` ON `distributions`.`product_id` = `products`.`id` | |
| WHERE (`distributions`.`product_id` IN ( | |
| SELECT `distributions`.`product_id` | |
| FROM `distributions` | |
| WHERE (`distributions`.`country_id` = 6) | |
| AND (`distributions`.`active` = 1) | |
| )) | |
| AND (`distributions`.`displayed_on_homepage` = 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
| SELECT `products`.* | |
| FROM `products` | |
| INNER JOIN `distributions` | |
| ON `distributions`.`product_id` = `products`.`id` | |
| WHERE ( `distributions`.`product_id` IN ( | |
| SELECT `distributions`.`product_id` | |
| FROM `distributions` | |
| WHERE ( `distributions`.`country_id` = 6 ) | |
| AND ( `distributions`.`active` = 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
| list = ["a", "aa", "aaa"] | |
| # -------- | |
| list.inject({}) do |hash, v| | |
| hash[v] = v.length | |
| hash | |
| end | |
| # VS |
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/local/lib/ruby/1.9.1/net/protocol.rb:135:in `read_nonblock' | |
| /usr/local/lib/ruby/1.9.1/net/protocol.rb:135:in `rbuf_fill' | |
| /usr/local/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' | |
| /usr/local/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' | |
| /usr/local/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line' |
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
| Fetching: pg-0.11.0.gem (100%) | |
| Building native extensions. This could take a while... | |
| ERROR: Error installing pg: | |
| ERROR: Failed to build gem native extension. | |
| /Users/julien/.rvm/rubies/rbx-2.0.0pre/bin/rbx extconf.rb | |
| checking for pg_config... yes | |
| Using config values from /usr/local/bin/pg_config | |
| checking for libpq-fe.h... yes | |
| checking for libpq/libpq-fs.h... yes |
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 "digest" | |
| s = "ma signature avant hash" | |
| sha = Digest::SHA512.hexdigest(s) | |
| puts sha |
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
| Counting objects: 13, done. | |
| Delta compression using up to 2 threads. | |
| Compressing objects: 100% (7/7), done. | |
| Writing objects: 100% (7/7), 568 bytes, done. | |
| Total 7 (delta 6), reused 0 (delta 0) | |
| -----> Heroku receiving push | |
| -----> Ruby/Rails app detected | |
| -----> Installing dependencies using Bundler version 1.1.rc.7 | |
| Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment |