Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2793
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
1779
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
1466
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
1560
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
1191
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
1427
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
1533
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
1328
posted 16 years ago by zartgesotten
I pieced together this code when I had to do this for a client:
- show the first image attached to a post (based on sort order in gallery tab) in medium size
- put all the other images attached to the post into an imageset so that when you click on...
1
1838
posted 16 years ago by zartgesotten