I hereby claim:
- I am evanfarrar on github.
- I am evanfarrar (https://keybase.io/evanfarrar) on keybase.
- I have a public key ASC2h04Q0jT9-k8gtkY2aodZgvKu4JVMARd9F2Xz9RDmvAo
To claim this, I am signing this object:
| <$publications> | |
| [#<$citeKey/>]: <$authors.name?> | |
| <$authors.name.stringByRemovingTeX.@componentsJoinedByCommaAndAnd/><?$authors.name?><$editors.name.stringByRemovingTeX.@componentsJoinedByCommaAndAnd/> (Hrsg.) | |
| </$authors.name?> | |
| <$fields.Year?> (<$fields.Year/>)</$fields.Year?>: _<$fields.Title.stringByRemovingTeX/><$fields.Subtitle?>. <$fields.Subtitle.stringByRemovingTeX/></$fields.Subtitle?>_<$pubType=article?> | |
| , <$fields.Journal/><$fields.Number?> <$fields.Number/></$fields.Number?>, <$fields.Year/>, Vol. <$fields.Volume/>, S. <$fields.Pages/><?$pubType=incollection?> | |
| , in: <$fields.Booktitle/><$fields.Address?>, <$fields.Address/>: <$fields.Publisher?><$fields.Publisher/></$fields.Publisher?><?$fields.Address?> | |
| <$fields.Publisher?>, <$fields.Publisher/></$fields.Publisher?> | |
| </$fields.Address?> | |
| <?$pubType?> |
I hereby claim:
To claim this, I am signing this object:
| This code: | |
| grouped_options = { | |
| 'North America' => [['United States'], 'Canada'], | |
| 'Europe' => ['Denmark','Germany','France'] | |
| } | |
| grouped_options_for_select(grouped_options) | |
| Yields: |
| run("echo group :test, :development do >> Gemfile;") | |
| run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.0.0.beta.22\\' >> Gemfile;") | |
| run("echo gem \\'capybara\\' >> Gemfile;") | |
| run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
| run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
| run("echo gem \\'cucumber\\' >> Gemfile;") | |
| run("echo gem \\'spork\\' >> Gemfile;") | |
| run("echo gem \\'launchy\\' >> Gemfile;") | |
| run("echo end >> Gemfile;") |
| run("echo group :test, :development do >> Gemfile;") | |
| run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.3.0\\' >> Gemfile;") | |
| run("echo gem \\'capybara\\', \\'0.3.9\\' >> Gemfile;") | |
| run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
| run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
| run("echo gem \\'launchy\\' >> Gemfile;") | |
| run("echo end >> Gemfile;") | |
| run("bundle install") |
| require 'rubygems' | |
| require 'raspell' | |
| class RdocSpellchecker | |
| attr_accessor :badwords | |
| def initialize | |
| @sp = Aspell.new("en") | |
| @sp.set_option("ignore-case","true") | |
| end | |
| def check(dirry) |
| url = "http://rr.rr.com:3000/email_replies" | |
| # response = "curl #{url} -d from='Steve Ellis <[email protected]>' -d [email protected] -d text='testing\n--------------------\nSome Comment\n--------------------\nasdfsa'" | |
| response = `curl #{url} -d "from=Steve+Ellis+<[email protected]>" -d html=test -d spf=spf -d to=reply%[email protected] -d "text=foobar--------------------Some Other Comment #{ARGV[0]}--------------------foobar" -d charsets=foo -d dkim=none -d subject=test -d envelope=test -d attachments=attachments` | |
| response = `curl #{url} -d "from=Steve+Ellis+<[email protected]>" -d html=test -d spf=spf -d to=reply%[email protected] -d "text=foobar--------------------Some Comment#{ARGV[0]}--------------------foobar" -d charsets=foo -d dkim=none -d subject=test -d envelope=test -d attachments=attachments` | |
| puts response |
| class Main < Shoes | |
| url '/', :index | |
| url '/foo', :foo | |
| url '/bar', :bar | |
| def index | |
| if !owner && !@child #If I am the parent and I have no child | |
| @child = window(:title => 'child') | |
| end | |
| sync_child |
| When the Lisa team was pushing to finalize their software in 1982, project | |
| managers started requiring programmers to submit weekly forms reporting on | |
| the number of lines of code they had written. Bill Atkinson thought that was | |
| silly. For the week in which he had rewritten QuickDraw’s region calculation | |
| routines to be six times faster and 2000 lines shorter, he put "-2000" on the | |
| form. After a few more weeks the managers stopped asking him to fill out the | |
| form, and he gladly complied. |
| instrument :bass do | |
| type 0 | |
| volume 0.4 | |
| sustain 0.1 | |
| attack 0.1 | |
| decay 0.3 | |
| end | |
| instrument :laser do | |
| type 0 | |
| sweep 0.12 |