Discover gists
This file contains 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
test3 |
This file contains 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
test4 |
This file contains 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
bye‐bye(naughties); | |
hallo(teens); |
This file contains 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
Exists: | |
Foo | |
Foo::Bar | |
Foo::Bar::Baz | |
Foo::Baz::Bat | |
Foo::Baz::Bat::Bam | |
Examples: | |
This file contains 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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
[branch "master"] | |
[remote "github"] | |
url = git@github.com:elliottcable/rat.git | |
fetch = refs/heads/*:refs/remotes/github/* | |
[remote "gitorious"] |
This file contains 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
<ab5tract> we are trying to figure out the best/preferred way to interface with sequel | |
<ab5tract> so if thats what you recommend, we'l write a converter function that takes the hash and turns it into a URI | |
<jeremyevans> ab5tract: That function is already there. Database#uri | |
<ab5tract> well, thats handy :) | |
* wishdev (n=jwh@67.170.158.202) has joined #sequel | |
<ab5tract> jeremyevans, does Database#uri take a hash? | |
<ab5tract> its sort of a stupid question, but im not getting the kind of uri i would expect by doing: | |
<ab5tract> irb(main):007:0> q = Sequel::Database.new :adapter => 'jdbc', :database_type => 'postgresql', :host => 'localhost', :database => 'jblog', :user => 'waves' | |
<ab5tract> => #<Sequel::Database: "://waves@localhost/jblog"> | |
<ab5tract> irb(main):009:0> q.uri |
This file contains 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
What a crazy random happenstance. |
This file contains 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
//Create New File | |
filename := 'program.log'; | |
AssignFile(F, filename); | |
Rewrite(F); | |
Writeln(F, 'Hello, World'); | |
CloseFile(F); | |
//Append to File | |
filename := 'program.log'; | |
AssignFile(F, filename); |
This file contains 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
[~/projects/euchre] rake spec --trace | |
(in /Users/phurley/projects/euchre) | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/logger.rb:62: warning: already initialized constant Levels | |
rake aborted! | |
uninitialized constant Merb::Orms::DataMapper::Connect::BeforeAppRuns | |
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:492:in `const_missing_before_generators' | |
/Library/Ruby/Gems/1.8/gems/rubigen-1.3.2/lib/rubigen/lookup.rb:13:in `const_missing' | |
/Library/Ruby/Gems/1.8/gems/merb_datamapper-0.9.2/lib/merb_datamapper.rb:8 | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/core_ext/kernel.rb:49:in `require' | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/core_ext/kernel.rb:49:in `load_dependency' |
This file contains 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
[~/projects/euchre] rake spec --trace | |
(in /Users/phurley/projects/euchre) | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/logger.rb:62: warning: already initialized constant Levels | |
rake aborted! | |
uninitialized constant Merb::Orms::DataMapper::Connect::BeforeAppRuns | |
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:492:in `const_missing_before_generators' | |
/Library/Ruby/Gems/1.8/gems/rubigen-1.3.2/lib/rubigen/lookup.rb:13:in `const_missing' | |
/Library/Ruby/Gems/1.8/gems/merb_datamapper-0.9.2/lib/merb_datamapper.rb:8 | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/core_ext/kernel.rb:49:in `require' | |
/Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/core_ext/kernel.rb:49:in `load_dependency' |