Welcome To Snipplr


Everyone's Recent Snippets



1 ... 91 92 93 94 95 ... 553
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.
1 1325 posted 13 years ago by klovera
Very simple to use Web Poll Class, simply create a new instance, set the question and set the answers. You still have to set up your database yourself
1 1201 posted 13 years ago by RobertHegeraad
Creates rotating background images with a smooth transition.
1 1528 posted 13 years ago by ryonley
Validate Birth day.
1 3250 posted 13 years ago by steppannws
Ordena Array Bidimensional Asociativo de acuerdo a parametro del array.
0 1153 posted 13 years ago by serialk89
This is an .htaccess file for a mod_rewrite php url handler.
0 3306 posted 13 years ago by ghost2109
Another source: http://wpswitch.com/blog/wordpress/an-introduction-to-wordpress-custom-fields/
0 1221 posted 13 years ago by morg7801
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).
1 1539 posted 13 years ago by Huskie
If you place favicon.ico and apple-touch-icon.png in the root of your website, these references are NOT required.
0 1269 posted 13 years ago by Huskie
With this plugin you can create a custom cursor message e.g. Call this plugin before your jquery function to show the user a message like 'Loading...' and then simply remove the message after the function is done loading. You can expand this easily b...
0 1274 posted 13 years ago by RobertHegeraad
Put this before a "RewriteRule" to call the rule only if this request was not from a redirect.
0 1002 posted 13 years ago by tribal
Esto es por si estamos desarrollando una aplicación en la cual necesitamos manejar la fecha y hora con javascript.
0 1273 posted 13 years ago by jrobinsonc
Prevent links in standalone web apps opening Mobile Safari
0 2438 posted 13 years ago by ichnoweb
Takes an image (path or url) and extracts the 7 most common colors and returns their hex values.
0 3506 posted 13 years ago by kellishaver
Find a directory withing a compressed file and remove it.
0 1425 posted 13 years ago by bionic
In JavaScript, there are 6 "falsy" values (values that evaluate to false): false, null, undefined, 0, "" (the empty string), and NaN Anything else evaluates to true.
0 1017 posted 13 years ago by goo
Show only children posts of a parent custom post type, not all child posts
0 2642 posted 13 years ago by i-am-andy
Add a custom ID to the body, useful for when the classes added to the body aren't descriptive enough on pages like Archives and single
0 1926 posted 13 years ago by i-am-andy
Show all child pages content and featured image on the parent page
0 2855 posted 13 years ago by i-am-andy
This code is applied from http://www.ultramegatech.com/blog/2009/06/snippet-converting-seconds-to-readable-time/
0 1142 posted 13 years ago by zierocode
Checks to make sure the file is a valid image file, checks max file size, and directory write permissions, requires 'fileutils' gem.
2 3435 posted 13 years ago by kellishaver
Wordpress 3.3 custom post type query that will get all of the taxonomies, loop through them, and output the posts from each.
0 1391 posted 13 years ago by dolbex
Número aleatorio entre a y a + b, excluyendo a + b: a + Math.random() * b
0 1280 posted 13 years ago by goo
There are 2 jQuery snippets, both replace broken images with one of your choosing, the difference is that one is "safe" and the other is "persistent". The safe one will quick working, so if your doing something that dynamically changed images on a pa...
3 1750 posted 13 years ago by FatFolderDesigner
Really Nice CSS3 Buttons I came across. Love the gradients and especially the Pushy Effects.
0 1084 posted 13 years ago by jimmy101
Gets function by name.
0 3309 posted 13 years ago by ef
Check if URL is HTTPS
2 3912 posted 13 years ago by the_construct
Can use second, Minute and many other from the url above
0 1057 posted 13 years ago by jsturtevant
In my opinion, this is the best cross-browser method of clearing floated elements in a container. Remember to add .clear-fix{zoom:1;} to an IE specific stylesheet, otherwise IE 7 will complain.
0 1316 posted 13 years ago by Huskie
Facebook have changed the way you add apps to pages (Fuck sake!!!!!!!!!!)
0 1469 posted 13 years ago by the_construct
1 ... 91 92 93 94 95 ... 553