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
## The first step called :click_nec | |
step :click_nec do | |
## This step is complete when the user navigates to http://awesome.com/hazzah.html | |
complete_when_path_is "/hazzah.html" | |
## Prompt the user to click on a link to http://awesome.com/hazzah.html | |
should_click :link_to => "/hazzah.html" | |
end | |
## ... add more steps if needed ... |
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
## Grab random lolcat URL | |
url = URI.parse('http://api.cheezburger.com/xml/category/cats/lol/random') | |
req = Net::HTTP::Get.new(url.path) | |
res = Net::HTTP.start(url.host, url.port) do |http| | |
http.request(req) | |
end | |
r = /.*<LolImageUrl>([^<]*)<\/LolImageUrl>.*/m | |
m = r.match( res.body ) | |
lolcat = m[1] |
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
class Recording < ActiveRecord::Base | |
has_many :frames, :order => "time_ms" | |
end |
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
" Configuration file for gvim | |
" Written for Debian GNU/Linux by W.Akkerman <wakkerma@debian.org> | |
" Some modifications by J.H.M. Dassen <jdassen@wi.LeidenUniv.nl> | |
"more mods by jasonkb | |
" Normally we use vim-extensions. If you want true vi-compatibility | |
" remove change the following statements | |
set nocompatible " Use Vim defaults (much better!) | |
set backspace=2 " allow backspacing over everything in insert mode |
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
<% form_for @board do |f| %> # form_for ( symbol or actual object ) do |(var)| | |
<% f.label :title %>: | |
<% f.text_field :title %><br /> | |
<% f.label :price %> | |
<% f.text_field :price %><br /> | |
<% f.submit %> | |
<% end %> |
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
#undefined method `nil_class_path' for | |
<% form_for @game do |f| %> | |
<p><label for="game_title">Title:</label> | |
<%= f.text_field :title %></p> | |
<p><label for="game_price">Price:</label> | |
<%= f.text_field :price %><br /> |
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
[gbelote@gbelote:~]$ ls /Developer (09-27 13:27) | |
About Xcode and iPhone SDK.pdf About Xcode.app Applications Documentation Examples Extras Headers Icon? Library Makefiles Platforms SDKs Tools usr |
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
They Told Him Don't You Ever Come Around Here | |
Don't Wanna See Your Face, You Better Disappear | |
The Fire's In Their Eyes And Their Words Are Really Clear | |
So Beat It, Just Beat It | |
You Better Run, You Better Do What You Can | |
Don't Wanna See No Blood, Don't Be A Macho Man | |
You Wanna Be Tough, Better Do What You Can | |
So Beat It, But You Wanna Be Bad |
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
Push it to the limit | |
Walk along the razor's edge | |
but don't look down, just keep your head | |
and you'll be finished | |
Open up the limit | |
past the point of no return | |
You've reached the top but still you gotta learn | |
how to keep it |
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
actionmailer (2.3.5, 2.2.2, 1.3.6) | |
actionpack (2.3.5, 2.2.2, 1.13.6) | |
actionwebservice (1.2.6) | |
activerecord (2.3.5, 2.2.2, 1.15.6) | |
activeresource (2.3.5, 2.2.2) | |
activesupport (2.3.5, 2.2.2, 1.4.4) | |
acts_as_ferret (0.4.4, 0.4.3) | |
authlogic (2.1.3) | |
bind (0.2.8) | |
bson (1.0.4) |
OlderNewer