Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A linux command that will output useful information about your linux distribution, kernel version, cpu information and more.
0
676
posted 13 years ago by davince
add this to functions.php and you won't have to mess with the index page.
0
856
posted 13 years ago by cpres
There are a few modifications to make to your WP files to share a single database between multiple installs on separate domains.
0
630
posted 13 years ago by lancemonotone
One line command to find and import all PGP keys for sources.list repositories.
0
695
posted 13 years ago by Louner
This is a little function that dynamically resizes the navigation, taking into account the size of the item width as well
0
733
posted 13 years ago by buzzswarbrick
We use our own dialog code, but the jQuery method of creating an overlay works well, so this is taken from the jQuery UI code and simplified.
0
719
posted 13 years ago by mejamiewilson
Good for showing labels/descriptions that accompany custom fields when they are set, and avoiding lots of empty labels.
Eg: if there is no content set in the 'project-agency' field, don't show the label 'Agency:', but if there is, show it with the...
0
806
posted 13 years ago by wahnbriefe
Copy and paste this code into the URL box and press enter. You will see it happen in realtime. Make sure all of your friends are loaded first, as Facebook uses lazy loading! To learn more, visit my blog post on it at http://www.brettwidmann.com/2011/...
0
767
posted 13 years ago by goatboy91587
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1
950
posted 13 years ago by FatFolderDesigner