Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is based on the [Sort Gmail Messages By Bookmarklet](http://snipplr.com/view/10432/sort-gmail-messages-by-subject/ "Sort Gmail Messages By Bookmarklet - http://snipplr.com/view/10432/sort-gmail-messages-by-subject/") snippet.
Drag this int...
1
1088
posted 15 years ago by roryok
Simple HTML template containing a header, a content area, a moduleposition/sidebar and a footer
1
1356
posted 15 years ago by morvan
In case you find yourself parsing a string with unrecognizable ASCII character codes, use the regex below to replace them. The pattern matches only the valid keyboard symbols.
1
961
posted 15 years ago by arangil
I rewrote [this snippet](http://snipplr.com/view/15402/php-password-generator/).
Usage:
$password1 = new Password;
$password2 = new Password;
echo '<p>' . $password1->generate() . '</p>';
echo '<p>' . $password2->generate(array('leng...
1
1226
posted 15 years ago by AzizLight
Delete All Foreign Keys in a database;
(make sure you USE keyword)
2
892
posted 15 years ago by marcocs
Useful when logged in the server via ssh.
In Leopard, the file would be /Library/Preferences/com.apple.ScreenSharing.launchd
0
1195
posted 15 years ago by alvarezrilla
r : recursive
v: verbose
--progress : shows progress with percentage
0
996
posted 15 years ago by godstroke
This script will allow you to choose which site you want to login to (Choose from WHMCS, TCAdmin, Cpanel) You need to edit the action= in each form to the correct address of your website.
1
902
posted 15 years ago by jcroom
Tested with [ipotpal.bgurl.org](http://ipotpal.bgurl.org/ "ипотпал")
0
875
posted 15 years ago by jommy
Video For Everybody is a great way to use the `<video>` tag with fallbacks for QuickTime or Flash for users with old browsers, but it requires that every video be encoded twice (once for the MP4 and once for the OGG).
This code (which requires Moo...
0
1020
posted 15 years ago by Kit