Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2228
posted 16 years ago by karlhorky
Fixes an issue if you have another login form on the page with a password field.
0
2177
posted 16 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
1582
posted 16 years ago by asterfr
This function will fetch the real IP address of the user even if he is behind a proxy server.
1
2285
posted 16 years ago by jrobinsonc
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
2240
posted 16 years ago by narkisr
Apply an inline-block to all browsers, including IE6 and IE7.
0
1728
posted 16 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
1575
posted 16 years ago by thesmart
Returns window size as object.
winsize.x = window width;
winsize.y = window height;
1
2290
posted 16 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
1511
posted 16 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
1898
posted 16 years ago by RM
Don't know if the code is working, it's written from memory, but I think it will work....
1
1855
posted 16 years ago by sbglasius
Each image button requires two images to represent two states: the off-state and the on-state. In this case, the on-state has "_ovr" appended.
0
1897
posted 16 years ago by nijgnet