Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is an easy to use any helpers that rails provides in any other place besides views and view helpers
1
1373
posted 18 years ago by vanne
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
2897
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
1530
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
2107
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
2150
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
3399
posted 18 years ago by jonhenshaw
Firefoxã¯HTML4.0以外ã®DOCTYPE宣言ã¤ã‘ã‚‹ã¨100%表示ã®FlashãŒä¸€éƒ¨ã—ã‹è¡¨ç¤ºã•れãªã„ãƒã‚°ãŒã‚ã‚‹ãã†ã€‚
å‚考サイト
http://uu-uu.com/blog/2006/10/flash_100another_htmllint.html
2
1241
posted 18 years ago by kyokutyo
Removes the default styling different browsers use, so you minimise cross browser problems.
1
2231
posted 18 years ago by 1man
addEvent function. Can't remember the exact site i got it from. Works well for me.
1
1181
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
2258
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
2668
posted 18 years ago by wolfie
Example off ALA, pleasing typography layout for the web. Based on the grid system.
4
1784
posted 18 years ago by 1man
I post,hopefully soon, one cross browser "add to bookmarks". This works ONLY for IE.
2
1253
posted 18 years ago by isaac
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
1073
posted 18 years ago by berkes
Put this in environment.rb to use in your whole app or the console
1
1355
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
1228
posted 18 years ago by vanne
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
1210
posted 18 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2
1429
posted 18 years ago by davaodude