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
{ | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 22, | |
"ignored_packages": | |
[ | |
"CoffeeCompile", | |
"Vintage" | |
], | |
"remember_open_files": false, | |
"tab_size": 2, |
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
source 'https://rubygems.org' | |
gem 'rake' | |
gem 'pry' | |
gem 'rspec' | |
gem 'capybara' | |
gem 'selenium-webdriver' | |
gem 'json' | |
gem 'sauce', :git => "git://github.com/sauce-labs/sauce_ruby.git" | |
gem 'active_support' |
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
Lack side table ($10) | |
Antonius shelf ($12) | |
Ekby bracket ($2.50 * 2) |
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
source "http://rubygems.org/" | |
gem 'selenium-webdriver' |
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
def maybe_a_sandwich | |
nil | |
end | |
# Methods that might return nil are annoying. We want to write a nice | |
# confident chain: | |
result = nil | |
result = maybe_a_sandwich.add_horseradish.get_into_my_belly! rescue $! | |
result # => #<NoMethodError: undefined method `add_horseradish' for nil:NilClass> |
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
[0;90;29mbabushka { | |
[0m (defining babushka against Babushka::Dep::BaseTemplate) | |
[0;90;29m$ uname -s[0m | |
Darwin | |
[0;90;29m$ sw_vers[0m | |
ProductName: Mac OS X | |
ProductVersion: 10.7.2 | |
BuildVersion: 11C74 | |
setup not defined. |
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
source 'http://gems.devint.lpo' # internal gem server | |
source "http://rubygems.org/" | |
gem 'rails', '~> 2.3.14' | |
gem 'rake' | |
gem 'rdoc' | |
gem 'pg' | |
gem "rest-client", :require => 'restclient' | |
gem "mime-types", :require => "mime/types" | |
gem "dim-ruby-net-ldap", "~> 0.1.1", :require => "net/ldap" |
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 'nokogiri' | |
src = <<-XML | |
<office:text | |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" | |
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"> | |
<text:p>one <text:span>span</text:span></text:p> | |
<text:p>two</text:p> | |
</office:text> | |
XML |
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
= Ruby Packaging Standard | |
The aim of this document is two-fold. First, to specify a common | |
structure of how a Ruby package distributed as source (that is, but | |
not limited to, development directories, version-controlled | |
repositories, .tar.gz, Gems, ...) should conform to. | |
Second, to document common and proven ways to structure Ruby packages, | |
and to point out certain anti-patterns that sneaked into common use. | |
It is by intent not to innovate. |
NewerOlder