Welcome To Snipplr


Everyone's Recent Snippets



1 ... 311 312 313 314 315 ... 553
0 1077 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 1348 posted 15 years ago by MikeyLikesIt
Change a user password
0 1105 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 1842 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 1583 posted 15 years ago by karlhorky
This is meant to be on a kickapps powered page.
0 1163 posted 15 years ago by linusx
Fixes an issue if you have another login form on the page with a password field.
0 1543 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 1069 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 1587 posted 15 years ago by jrobinsonc
Delete a directory including its contents.
0 1128 posted 15 years ago by jrobinsonc
Well Here... Newbs Only!
0 980 posted 15 years ago by k9flow
0 1255 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 1548 posted 15 years ago by narkisr
Apply an inline-block to all browsers, including IE6 and IE7.
0 1159 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 1101 posted 15 years ago by thesmart
Returns window size as object. winsize.x = window width; winsize.y = window height;
1 1657 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 950 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 1353 posted 15 years ago by RM
1 1144 posted 15 years ago by tvanzele
0 1259 posted 15 years ago by kanampo
0 1207 posted 15 years ago by mkurdziel
1 ... 311 312 313 314 315 ... 553