Welcome To Snipplr


Everyone's Recent Snippets



1 ... 400 401 402 403 404 ... 552
0 1674 posted 17 years ago by martin_rusev
0 1504 posted 17 years ago by nico65
0 2111 posted 17 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 2219 posted 17 years ago by stiobhart
0 1602 posted 17 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 1736 posted 17 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 2133 posted 17 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 2144 posted 17 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 1863 posted 17 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 2520 posted 17 years ago by zartgesotten
This will output the resulting meta value (notice the addition of "echo"):
1 1853 posted 17 years ago by rickfu
This will only work in FF 3.5 and web-kit browsers after (06/26/2009)
2 1751 posted 17 years ago by adamdecaf
This will only work in FF 3.5 and web-kit browsers. (post 06/20/2009)
0 1838 posted 17 years ago by adamdecaf
A basic template that sets up a general static site with links to jquery, swfobject and a div container.
1 2081 posted 17 years ago by irishspacemonk
Basic setup code for using SWFObject to embed flash content in a plage.
2 2325 posted 17 years ago by irishspacemonk
Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Actually two separate stylesheets: one for IE in general and one for IE6 specifically. [Part I](http://snipplr.com/view/16353/ "DzR Maste...
0 1855 posted 17 years ago by wizard04
An add-on to [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Many helpful classes for layout, writing styles, paged media, etc. For the `printHref` class, you'll need to replace "example.com" with your own domain. [P...
0 1816 posted 17 years ago by wizard04
A very thorough CSS reset stylesheet I created for HTML 4.01 using CSS 3 (and older). [Part II](http://snipplr.com/view/16354/"DzR Master Stylesheet (Part II, Classes)") [Part III](http://snipplr.com/view/16355/ "DzR Master Stylesheet (Part...
0 1840 posted 17 years ago by wizard04
Just a little bit of code if u are interested in using links for form submission. I'm aware of the dangers of using links in this case, but don't really care. They're way easier to style.
0 3848 posted 17 years ago by wjbrown
Couldn't find a better way to do this, nor could I find it on teh interwebs, so here it is.
2 2398 posted 17 years ago by wjbrown
Creates framework for HTML centered web page.
2 2087 posted 17 years ago by irishspacemonk
1 2080 posted 17 years ago by iTony
This is a slightly hard core email check. I work for clients that want real email addresses. They pay quite a bit of money so yes, I am going to give what they want...
3 2439 posted 17 years ago by brownrl
1 ... 400 401 402 403 404 ... 552