Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for July 2008

DZone Snippets: Ntk's Code Snippets

DZone Snippets: Ntk's Code Snippets

Inspect a website like a string in Ruby - July 9, 2008

Put the following function into your .bash_login (or alternatives). unset -f inspect_url function inspect_url() usrbincurl -L -s --max-time 10 "$" ruby -n -e 'p $_.to_s' return 0 inspect_url http:www.ruby-forum.com
http://snippets.dzone.com/posts/show/5745
Available Archives
- May (3 items)
- June (6 items)
- July (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact