Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I don't like having the "Open Notebook" text next to the status bar icon of Google Notebook's extension for Firefox. Add this snip to userChrome.css to make it go away!
1
1246
posted 19 years ago by CUViper
Counts the total amout of nodeviews between now and a year ago (the last 31536000 seconds).
1
1288
posted 19 years ago by berkes
Here's a quick block of code that adds a valid Atom feed to you Grails application. Validate here: http://feedvalidator.org/check?url=http://aboutgroovy.com/item/atom
1
1265
posted 19 years ago by scottdavis99
This (almost) one-liner cascades into all subdirectories and deletes the files first, then the directories. Makes deleting a directory really easy. This was originally posted by John Wilson into the Groovy user list.
2
2516
posted 19 years ago by hansamann
IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths...
7
2918
posted 19 years ago by jonhenshaw
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
1540
posted 19 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
2841
posted 19 years ago by vanne