Welcome To Snipplr


Everyone's Recent Snippets



1 ... 311 312 313 314 315 ... 553
0 1086 posted 15 years ago by jodm
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only. find . -type d -exec chmod 755 {} \; Similarly, the following will chmod all files only (and ignore the directories): find . -...
1 1356 posted 15 years ago by MikeyLikesIt
Change a user password
0 1112 posted 15 years ago by manuelstofer
While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
0 1852 posted 15 years ago by zachharkey
A modification of Bill James' New Folder context menu script ( http://billsway.com/vbspage/ ), this script instead creates a "New File" item in the right click context menu of Directory Backgrounds. Upon running the New File item, you will be prompte...
0 1592 posted 15 years ago by karlhorky
This is meant to be on a kickapps powered page.
0 1173 posted 15 years ago by linusx
Fixes an issue if you have another login form on the page with a password field.
0 1549 posted 15 years ago by linusx
This script helps you to test session persistence for your HTTP API. Launch this.php?set=valuuue to set the session value stored to value. Launch this.php to retrieve the value.
0 1073 posted 15 years ago by asterfr
This function will fetch the real IP address of the user even if he is behind a proxy server.
1 1598 posted 15 years ago by jrobinsonc
Delete a directory including its contents.
0 1134 posted 15 years ago by jrobinsonc
Well Here... Newbs Only!
0 987 posted 15 years ago by k9flow
0 1268 posted 15 years ago by putrakopo
An easy was to tunnel remote Couchdb instance into a local machine using ssh tunneling, by using the 5893 local port we enable the local instance to run (replication is only a click away).
0 1557 posted 15 years ago by narkisr
Apply an inline-block to all browsers, including IE6 and IE7.
0 1161 posted 15 years ago by Meander365
This function takes an array and a key that is unwanted. It will recurse through and unset the key in the argument array and all its sub-arrays.
0 1104 posted 15 years ago by thesmart
Returns window size as object. winsize.x = window width; winsize.y = window height;
1 1661 posted 15 years ago by djstaz0ne
PHP AdSense account monitor class, can retrieve data from your AdSense account (impressions, clicks, ctr, ecpm, earnings). This class can retrieve (for now) only “AdSense for Content” data, for different periods of time (see class methods for mo...
0 956 posted 15 years ago by RM
You must use Google friendly domain redirect in these cases: You changed a domain name for your web page and want the old one to redirect visitors to a new one. You have many domains for your website (one primary and many alternative). You want to...
1 1355 posted 15 years ago by RM
1 1151 posted 15 years ago by tvanzele
0 1267 posted 15 years ago by kanampo
0 1208 posted 15 years ago by mkurdziel
1 ... 311 312 313 314 315 ... 553