Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0
1046
posted 16 years ago by phalkunz
Completely changed original function, which stopped working around WP2.8.
1
1029
posted 16 years ago by kristarella
Great to see exactly the position of all the blocs in a page.
Thanks to Chris Coyier for this tip.
0
910
posted 16 years ago by HubertGaulin
There's another snippet on here that always comes up on google for finding the relative path to the root, but it doesn't work very well. This version will work from the root, from any subdirectory, and with malformed path names such as www.example.co...
3
1582
posted 16 years ago by blackhole12
A simple JS script to validate a date. It returns a boolean type (true | false)
0
1216
posted 16 years ago by mardix
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins?
A quick solution is adding a css debug class to your container. Feel free to change...
0
1442
posted 16 years ago by chrisjlee
Credits to Julie. Here is a regex if you want this criteria:
* Passwords will contain at least (1) upper case letter
* Passwords will contain at least (1) lower case letter
* Passwords will contain at least (1) number or special character...
2
1049
posted 16 years ago by axelitus
This little bit of code is a calculator of the "golden mean" of a given length of time. For example: given a length of 1 minute and 0 seconds, the answer given will be 0:00:37. See U2's "With or Without You", the Greek Parthenon, the human body, etc....
1
1396
posted 16 years ago by rossuber
I'm new to jQuery, so please be kind if there are any errors or redundancies in the code.
The problem: Basically, we were getting tons of scammers signing up on our Kickapps hosted community. They were immediately posting dozens of RSS feeds & lin...
0
1344
posted 16 years ago by Jdonner
Using the below code,you can have a rounded corner border, to have a rounded fill, please check the url..<a href="http://htmlcsstutorials.blogspot.com/2009/06/niffy-rounded-corners-using-html-and.html">Nifty rounded corners using html and css</a>
1
1107
posted 16 years ago by webdevelopertut
how to enable or disable spotlight disc indexing from the terminal. all the following work on root "/". to specify another volume, put its path at end of the command
1
990
posted 16 years ago by stiobhart
Ideal if you have a laptop. If someone steals it, he will not be able to read all your mails and documents with precious information (about passwords, accounts, credit cards, private stuffs, etc...).
This snippet is considering that you are using...
0
911
posted 16 years ago by Dorgendubal