This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| module WordListMacros | |
| def it_strips_double_quotes | |
| it "strips double quotes" do | |
| subject.list_of_words = %w("foo" "bar") | |
| subject.list_of_words.should eq(%w(foo bar)) | |
| end | |
| end | |
| def it_strips_single_quotes | |
| it "strips single quotes" do |
| // NOTE: You need dotjs installed to use this: https://github.com/defunkt/dotjs | |
| // | |
| // You must name this file with your airbrakeapp subdomain prepended to the filename. | |
| // Example: So myairbrakesubdomain.airbrakeapp.com.js | |
| var login = "<GITHUB USERNAME>"; | |
| var token = "<GITHUB TOKEN>"; | |
| var title = $("#notice_heading h2").text(); | |
| var link = document.location.href; |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| #!/bin/bash | |
| PASTEL='{ | |
| "Ansi 0 Color" = { | |
| "Blue Component" = 0.3097887; | |
| "Green Component" = 0.3097887; | |
| "Red Component" = 0.3097887; | |
| }; | |
| "Ansi 1 Color" = { | |
| "Blue Component" = 0.3764706; |