Welcome To Snipplr


Everyone's Recent Snippets



1 ... 462 463 464 465 466 ... 552
0 1822 posted 17 years ago by emoseman
0 1490 posted 17 years ago by johnloy
0 1602 posted 17 years ago by goo
0 1737 posted 17 years ago by davebowker
`lookupd` doens't exist in Leopard, instead `dscacheutil` should be used.
2 2582 posted 17 years ago by rastersize
You can find a string as an array row value. Ex: arr=['abcde','mdleo'] arr.find('dbd') -> array['abcde'] arr.find('akdowewo') -> array[] (empty)
0 2127 posted 17 years ago by tonic
0 1489 posted 17 years ago by vasilije
0 1477 posted 17 years ago by vasilije
Rename files to lowercase easily
0 1907 posted 17 years ago by nark0ppler
0 1881 posted 17 years ago by therobot
Function replaces all non-alpha-numeric chars and cleans up a text string. Should output a usable URL for almost all text.
1 2121 posted 17 years ago by DaveChild
Learn how to create a 301 redirect for domain or home variations to improve your websites' search engine optimization.
2 2678 posted 17 years ago by neal_grosskopf
1 1651 posted 17 years ago by endorfin
Since network shares by default only get LocalIntranet permissions, it's relatively common to want to use CasPol to fully trust some shares that you control and know are safe. To trust everything on the share \\ShawnFa-Srv\Tools, use the command...
2 2125 posted 17 years ago by hoffstein
This is a simple but powerful tweak to the wp-config.php file that will make it easy to run multiple websites using one database and codebase. Simply change "yourdomain.com" with your domain and that's it. Repeat that line for new domains.
2 2882 posted 17 years ago by jonhenshaw
Update: Fixed a bug at the basic click() function.
1 1758 posted 17 years ago by Wiederkehr
0 1333 posted 17 years ago by mischachen
Example: `var result = "Hello {0}! This is {1}.".format("world","foo bar");` Returns: `"Hello World! This is foo bar."`
2 2721 posted 17 years ago by jasonseney
To use the resize function you must pass in the forced width, forced height, source image, and destination image. The function then uses the GD2 library functions to read the source image's size. It will then calculate the new image's size based off...
3 3753 posted 17 years ago by Jenhale
0 1851 posted 17 years ago by sebus
A simple countDown class in Javascript:
1 2073 posted 17 years ago by gfazioli
The bugged version: Somehow, it prints random characters to me like [] except the spaces filled in and other accented letters when I input more parenthesis and longer input. How to use: example-> input: 3 1+2 (1+2)*(6-2) 6-7*(9*10)/8 ou...
0 1649 posted 17 years ago by Mcgee_00
CSS Rounded Corners without images support: Firfox 2-3, Safari, Chrome, Opera 9.5(use svg)
8 2818 posted 17 years ago by Ashung
0 1211 posted 17 years ago by tiw
2 2090 posted 17 years ago by pmd
Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally
1 1996 posted 17 years ago by vanne
1 ... 462 463 464 465 466 ... 552