Welcome To Snipplr


Everyone's Recent Snippets



1 ... 525 526 527 528 529 ... 553
This is an easy to use any helpers that rails provides in any other place besides views and view helpers
1 1436 posted 18 years ago by vanne
1 2150 posted 18 years ago by gndprx
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
3 2967 posted 18 years ago by jonhenshaw
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 1597 posted 18 years ago by jonhenshaw
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 2161 posted 18 years ago by jonhenshaw
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 2189 posted 18 years ago by jonhenshaw
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 3448 posted 18 years ago by jonhenshaw
1 1230 posted 18 years ago by felipec
FirefoxはHTML4.0以外のDOCTYPE宣言つけると100%表示のFlashが一部しか表示されないバグがあるそう。 参考サイト http://uu-uu.com/blog/2006/10/flash_100another_htmllint.html
2 1290 posted 18 years ago by kyokutyo
for firefox
1 1255 posted 18 years ago by kyokutyo
Removes the default styling different browsers use, so you minimise cross browser problems.
1 2287 posted 18 years ago by 1man
Sample snip for my twitter wrapper.
1 1199 posted 18 years ago by felipec
1 2154 posted 18 years ago by axelitus
addEvent function. Can't remember the exact site i got it from. Works well for me.
1 1229 posted 18 years ago by 1man
This provides a nice split view resizing method with a minimum size restraint. You HAVE to specify MIN_LEFT_PANE_W for this to work.
2 2395 posted 18 years ago by iloveitaly
This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension
0 2737 posted 18 years ago by wolfie
Example off ALA, pleasing typography layout for the web. Based on the grid system.
4 1857 posted 18 years ago by 1man
I post,hopefully soon, one cross browser "add to bookmarks". This works ONLY for IE.
2 1308 posted 18 years ago by isaac
Not sure if this works yet
2 1219 posted 18 years ago by Jargon
De aa-mm-dd a dd-mm-aa y al revé
3 1674 posted 18 years ago by nicolaspar
A form alter implementation to create variables to flag certain features per node type. E.g. Show foo on blogs only: example_blog == 1;
1 1142 posted 18 years ago by berkes
Put this in environment.rb to use in your whole app or the console
1 1415 posted 18 years ago by vanne
This allows you to search any INSTANCE or CLASS methods of any objects including rails models, which is helpful if you want to see the methods that you created yourself.
1 1288 posted 18 years ago by vanne
0 3315 posted 18 years ago by drewr
Copy values from the first row of a column down the entire column. This was used in a specific project, but the code could be helpful for other projects.
1 1267 posted 18 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2 1481 posted 18 years ago by davaodude
0 1462 posted 18 years ago by benpjohnson
0 2169 posted 18 years ago by corydeppen
1 ... 525 526 527 528 529 ... 553