Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
In case you need to create your own listing of the last # of trailing months of Archived Wordpress Articles. This one is being used to pull the info onto a Magento page.
0
918
posted 13 years ago by cpres
A linux command that will output useful information about your linux distribution, kernel version, cpu information and more.
0
776
posted 13 years ago by davince
add this to functions.php and you won't have to mess with the index page.
0
964
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
760
posted 13 years ago by lancemonotone
One line command to find and import all PGP keys for sources.list repositories.
0
797
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
830
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
850
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
915
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
897
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
1075
posted 13 years ago by FatFolderDesigner