insanedreamer


Member since 11/04/2009

9 snippets

2482 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

insanedreamer's Recent Snippets



« Prev 1 Next »
Place script into Automator (select "Run Shell Script" choose /usr/bin/ruby as the shell). You'll need to create a bit.ly account which will give you your API key for authentication.
0 675 posted 13 years ago by insanedreamer
0 927 posted 14 years ago by insanedreamer
tag links with .click function
0 879 posted 14 years ago by insanedreamer
Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
0 934 posted 14 years ago by insanedreamer
Add this to .irbrc. Allows the following in console: > gethtml('/login') => HTML of whatever page is generated by /login
0 926 posted 14 years ago by insanedreamer
in Rails 2, use `include ActionController::UrlWriter` instead.
1 2202 posted 14 years ago by insanedreamer
Put this in `test_helper.rb` and call with `show(object1, object2, etc.)`
0 882 posted 14 years ago by insanedreamer
« Prev 1 Next »