Welcome To Snipplr


Everyone's Recent Snippets



1 ... 399 400 401 402 403 ... 553
0 1288 posted 16 years ago by davebowker
A way to time how long it takes to get through a certain block of code. Good way to measure performance on the page. You could also use the built in logging functions in firebug. Not sure how they would tally up in a test.
1 1713 posted 16 years ago by 1man
Turn On or Off Hidden Files in Terminal
0 1375 posted 16 years ago by beneberle
this will chmod the current directory, and all sub directories and files.
0 2425 posted 16 years ago by beneberle
Adds two "sidebars" to the header. You can drag and drop widgets into them just like any other sidebar from your WP dashboard. You can change the Hook to move the "sidebars" somewhere else on the page. For example, change 'thesis_hook_header' to '...
4 3210 posted 16 years ago by fouroclockproject
0 935 posted 16 years ago by gba
Dumps a space separated list of enabled modules to a text file mods_enabled.txt
1 1947 posted 16 years ago by zachharkey
Easily target elements which have certain attributes using jQuery
1 1104 posted 16 years ago by davebowker
0 1220 posted 16 years ago by benjaminpearson
0 1370 posted 16 years ago by pmaciver
2 1883 posted 16 years ago by Thresh
Very easy to use JS Calendar Control with so many customization options.
0 1502 posted 16 years ago by design2develop
Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons that have absolutely no relation to accessing blocked sites LOL!) and you would like to use that same tunnel on your iPhone/...
1 8594 posted 16 years ago by shaunchapman
I made this class because is was fed up with all those strings with escaped quotes with when building html into an output-string. You could also build a php-version of it.
0 1293 posted 16 years ago by leonardreinders
0 1316 posted 16 years ago by sinecera
0 974 posted 16 years ago by pats
0 1345 posted 16 years ago by mitry
In der Datei “t3lib/class.t3lib_div.php” folgende Zeile ersetzen:
0 1544 posted 16 years ago by xtine777
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 1431 posted 16 years ago by phalkunz
Completely changed original function, which stopped working around WP2.8.
1 1392 posted 16 years ago by kristarella
Great to see exactly the position of all the blocs in a page. Thanks to Chris Coyier for this tip.
0 1293 posted 16 years ago by HubertGaulin
There's another snippet on here that always comes up on google for finding the relative path to the root, but it doesn't work very well. This version will work from the root, from any subdirectory, and with malformed path names such as www.example.co...
3 2240 posted 16 years ago by blackhole12
A simple JS script to validate a date. It returns a boolean type (true | false)
0 1677 posted 16 years ago by mardix
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins? A quick solution is adding a css debug class to your container. Feel free to change...
0 3050 posted 16 years ago by chrisjlee
Credits to Julie. Here is a regex if you want this criteria: * Passwords will contain at least (1) upper case letter * Passwords will contain at least (1) lower case letter * Passwords will contain at least (1) number or special character...
2 1461 posted 16 years ago by axelitus
1 ... 399 400 401 402 403 ... 553