Welcome To Snipplr


Everyone's Recent Snippets



1 ... 400 401 402 403 404 ... 553
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 1917 posted 16 years ago by blackhole12
A simple JS script to validate a date. It returns a boolean type (true | false)
0 1462 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 2701 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 1261 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 2637 posted 16 years ago by rossuber
3 1673 posted 16 years ago by cshaiku
3 1454 posted 16 years ago by cshaiku
2 1590 posted 16 years ago by cshaiku
1 1433 posted 16 years ago by cshaiku
0 1142 posted 16 years ago by arpit
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 1580 posted 16 years ago by Jdonner
0 1047 posted 16 years ago by PesPes
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 1318 posted 16 years ago by webdevelopertut
0 1033 posted 16 years ago by martin_rusev
0 929 posted 16 years ago by nico65
0 1361 posted 16 years ago by xtine777
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 1398 posted 16 years ago by stiobhart
0 971 posted 16 years ago by AlexLocust
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 1089 posted 16 years ago by Dorgendubal
All you need to do when writing the post, is enter a custom field with the key "expiration" and set the value in the format: "2010/01/01 18:20:00" - this would expire the post at 6.20pm on the 1st January 2010.
1 1274 posted 16 years ago by gjindancer
1) if jQuery is already loaded into a browsers' cache -> do nothing 2) if the object is undefined, write a script-element into the source which references google's minified jquery file. 3) if jQuery is still undefined (let's assume Google is down)....
2 1356 posted 16 years ago by iroybot
This is to prevent duplicate content when your provider directs your http://domain.com to the same place as http://www.domain.com
1 1199 posted 16 years ago by zartgesotten
1 ... 400 401 402 403 404 ... 553