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 1416 posted 18 years ago by vanne
1 2128 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 2951 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 1581 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 2144 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 2181 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 3440 posted 18 years ago by jonhenshaw
1 1217 posted 18 years ago by felipec
FirefoxはHTML4.0以外のDOCTYPE宣言つけると100%表示のFlashが一部しか表示されないバグがあるそう。 参考サイト http://uu-uu.com/blog/2006/10/flash_100another_htmllint.html
2 1276 posted 18 years ago by kyokutyo
for firefox
1 1244 posted 18 years ago by kyokutyo
Removes the default styling different browsers use, so you minimise cross browser problems.
1 2270 posted 18 years ago by 1man
Sample snip for my twitter wrapper.
1 1192 posted 18 years ago by felipec
1 2124 posted 18 years ago by axelitus
addEvent function. Can't remember the exact site i got it from. Works well for me.
1 1216 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 2348 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 2716 posted 18 years ago by wolfie
Example off ALA, pleasing typography layout for the web. Based on the grid system.
4 1835 posted 18 years ago by 1man
I post,hopefully soon, one cross browser "add to bookmarks". This works ONLY for IE.
2 1292 posted 18 years ago by isaac
Not sure if this works yet
2 1199 posted 18 years ago by Jargon
De aa-mm-dd a dd-mm-aa y al revé
3 1658 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 1128 posted 18 years ago by berkes
Put this in environment.rb to use in your whole app or the console
1 1404 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 1270 posted 18 years ago by vanne
0 3306 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 1254 posted 18 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2 1466 posted 18 years ago by davaodude
0 1448 posted 18 years ago by benpjohnson
0 2138 posted 18 years ago by corydeppen
1 ... 525 526 527 528 529 ... 553