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 1487 posted 18 years ago by vanne
1 2205 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 3032 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 1642 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 2237 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 2240 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 3498 posted 18 years ago by jonhenshaw
1 1268 posted 18 years ago by felipec
FirefoxはHTML4.0以外のDOCTYPE宣言つけると100%表示のFlashが一部しか表示されないバグがあるそう。 参考サイト http://uu-uu.com/blog/2006/10/flash_100another_htmllint.html
2 1331 posted 18 years ago by kyokutyo
for firefox
1 1283 posted 18 years ago by kyokutyo
Removes the default styling different browsers use, so you minimise cross browser problems.
1 2335 posted 18 years ago by 1man
Sample snip for my twitter wrapper.
1 1230 posted 18 years ago by felipec
1 2208 posted 18 years ago by axelitus
addEvent function. Can't remember the exact site i got it from. Works well for me.
1 1267 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 2502 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 2800 posted 18 years ago by wolfie
Example off ALA, pleasing typography layout for the web. Based on the grid system.
4 1907 posted 18 years ago by 1man
I post,hopefully soon, one cross browser "add to bookmarks". This works ONLY for IE.
2 1350 posted 18 years ago by isaac
Not sure if this works yet
2 1273 posted 18 years ago by Jargon
De aa-mm-dd a dd-mm-aa y al revé
3 1710 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 1182 posted 18 years ago by berkes
Put this in environment.rb to use in your whole app or the console
1 1463 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 1328 posted 18 years ago by vanne
0 3369 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 1304 posted 18 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2 1528 posted 18 years ago by davaodude
0 1508 posted 18 years ago by benpjohnson
0 2222 posted 18 years ago by corydeppen
12 1864 posted 18 years ago by soxiam
1 ... 525 526 527 528 529 ... 553