Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
These registry settings show four different settings which do the following:
"Hidden"=dword:00000001 - show hidden files
"ShowSuperHidden"=dword:00000001 - show hidden system files
"SuperHidden"=dword:00000001 - show hidden directories in the expl...
0
3348
posted 14 years ago by bits
Free JavaScript slideshow with thumbnail gallery, zoom-in-effect, zoom-out-effect and transparency-effect (opacity). Add as many pictures as you like. Each picture can be linked and commented. The thumbnail gallery can be displayed or hidden. True co...
0
2341
posted 14 years ago by fabulant
I did not created this, a friend provided it to me, and it seems really usefull so i thought i should share.
Usage: Paste that code in your functions .php and in your theme you put <?php> where 20 is the number of words you want
0
958
posted 14 years ago by johnsardine
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width.
0
2370
posted 14 years ago by atik
HTML5 replacements for the doctype, etc. for WorPress themes. Add this code to your header.php file and you site will use HTML5. Be sure to double check the rest of your theme files for validation errors.
1
991
posted 14 years ago by mindshare
Here are a couple of snippets for removing the CSS, JS, and Dashboard widget created by the WP Geo plugin. I love this plugin but often only use it as a simple way to embed geo data on posts and don't actually need it to generate maps.
0
1397
posted 14 years ago by mindshare
Most of spservices function can be ignored -- not specifically relevant to templating. Important code in that block is the array push.
0
1005
posted 14 years ago by rumremix
A simple PHP function to obfuscate an email address.
Usage:
<?=>
<?php>
1
1003
posted 14 years ago by ajbatac
A couple of snippets useful for file management. I use these to make sure I understand how many files I'm about to modify, and then rename them.
0
1229
posted 14 years ago by alassiter
A very simple quick way to count the number of files in a directory.
0
1290
posted 14 years ago by alassiter
use this if you want to make a binary use an older version of a dependent binery
1
1003
posted 14 years ago by samwa