[439015.360] (EE) Screen(s) found, but none have a usable configuration.
[439015.360]
Fatal server error:
[439015.360] no screens found
[439015.360] (EE) Screen(s) found, but none have a usable configuration.
[439015.360]
Fatal server error:
[439015.360] no screens found
Rails 3.1
Loading development environment (Rails 3.1.3)
ruby-1.9.3 irb> user = User.select(:email).first
=> #<User email: "rafaeldx7@...">
ruby-1.9.3 irb> user.respond_to? :created_at
=> true
ruby-1.9.3 irb> user.created_at
=> nil| # my .inputrc file | |
| # allow you to start typing a command and use the up/down arrow to auto complete from commands in your history | |
| "\e[B": history-search-forward | |
| "\e[A": history-search-backward |
| # Rspec formatter by RAFAELDX7 | |
| # Use: rspec --require "dx7_formatter.rb" --format Dx7Formatter -- ./spec/your_spec.rb | |
| require 'rspec/core/formatters/base_text_formatter' | |
| class Dx7Formatter < RSpec::Core::Formatters::BaseTextFormatter | |
| def index | |
| @index ||= -1 | |
| @index += 1 |
| class Settings < YourAppName::Application | |
| end | |
| # The Problem: | |
| # ==> .../.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/railtie/configurable.rb:12:in `inherited': | |
| # You cannot inherit from a Rails::Application child (RuntimeError) | |
| # Because: | |
| # http://apidock.com/rails/Rails/Application/Configurable/ClassMethods/inherited |
| # Run: | |
| # bash < <(curl -Ls https://raw.github.com/gist/2511153) | |
| # Source: http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42 | |
| echo "Grab and unpack the tarball." | |
| mkdir ~/tmp && cd ~/tmp | |
| curl -O http://opensource.apple.com/tarballs/gcc/gcc-5666.3.tar.gz | |
| tar zxf gcc-5666.3.tar.gz | |
| cd gcc-5666.3 |
| gem list --local --no-versions | xargs gem uninstall -a -x |
| Macbook White Unibody 13-inch | |
| Processor: 2.26 GHz Intel Core 2 Duo | |
| Memory: 4 GB 1333 MHz DDR3 | |
| Graphics: NVIDIA GeForce 9400M 256 MB | |
| Software: Mac OS X Lion 10.7.3 | |
| HD: 250 GB SATA Disk | |
| VENDIDO |
| Bem interessante esse iGist. A acho que eh uma maneira bem simples de escrever textos e compartilhar via iphone. |
| # Ruby Ree 1.8.7 | |
| $ irb | |
| ree-1.8.7 irb> 80 * "#" | |
| TypeError: String can't be coerced into Fixnum | |
| from (irb):1:in `*' | |
| from (irb):1 | |
| ree-1.8.7 irb> "#" * 80 | |
| => "################################################################################" |