Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The AMR video and audio codec the license distribution is unclear. But you download the reference implementation here to insert in the respective avcodec library directory of ffmpeg :
http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series
0
1012
posted 18 years ago by adulau
This is useful for using ActiveRecord validations without the ActiveRecord DB dependencies, this snippet is meant to be used with Textmate... create this in models/name_of_your_model to use.
4
1384
posted 18 years ago by vanne
Image will be greyscale and will turn colored when hovered over
1
910
posted 18 years ago by sondosia
Removes the ad at the top of a xanga page; place in Webstats below all other codes
This one actually works, even in Opera and Firefox,
2
1067
posted 18 years ago by sondosia
This allows you to turn off ajax requests application wide, so that you don't have to do render :layout => false in every controller that needs it.
1
1134
posted 18 years ago by vanne
Remove all those annoying thumbnail files that Windows users created while browsing your network drive. This command traverses all directories and deletes all "Thumbs.db" files as it finds them.
1
1676
posted 18 years ago by Roshambo
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1
868
posted 18 years ago by assbach
In Internet Explorer, it's a well-known issue that tags are rendered above other layers and things like drop-down menus. This fix is specifically for the "Son of Suckerfish" drop-down menus (see URL), which are entirely CSS-based (JS is needed only...
1
1107
posted 18 years ago by Todd
This snippet is for use with image_attach, a small contributed module that uses image module to create nice thumbs in any node type.
The template snippet makes the images show up larger in the body node, and instead of linking to itself, it links t...
2
804
posted 18 years ago by berkes
Move all mails with a certain subject (in this case starting with the word "Undelivered" into a backup dir.
It is by no means a mail filter, I needed it to clean out the maildirectory after a HDD crash wich caused over 1000000 (one million) local bo...
0
775
posted 18 years ago by berkes