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
{ | |
"Image": { | |
"Width": 800, | |
"Height": 600, | |
"Title": "View from 15th Floor", | |
"Thumbnail": { | |
"Url": "http://www.example.com/image/481989943", | |
"Height": 125, | |
"Width": "100" | |
}, |
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
. | |
|-- bin | |
| |-- git | |
| |-- git-cvsserver | |
| |-- gitk | |
| |-- git-receive-pack | |
| |-- git-shell | |
| |-- git-upload-archive | |
| |-- git-upload-pack | |
| `-- stg |
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
$ rvm list | |
rvm rubies | |
ruby-1.8.7-p302 [ i386 ] | |
=> ruby-1.9.2-p0 [ i386 ] | |
$ rvm update | |
rvm 1.0.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] |
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
SELECT name,age | |
FROM person | |
join (SELECT max(age) as age FROM person) as max_age USING (age); |
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
# In the file spec/controllers/servers_controller_spec.rb | |
... | |
... | |
describe "POST create" do | |
describe "failure" do | |
it "should re-render server page" do | |
post :create, :server => @server | |
response.should render_template(:show) | |
end |
NewerOlder