Welcome To Snipplr


Everyone's Recent Snippets



1 ... 389 390 391 392 393 ... 554
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 1039 posted 16 years ago by deepsoul
0 750 posted 16 years ago by pats
0 798 posted 16 years ago by pats
0 826 posted 16 years ago by pats
0 1038 posted 16 years ago by berndschiffer
0 1115 posted 16 years ago by berndschiffer
*save as proxy.jsp and put it in your servlet container *consider using other methods to circumvent XSS: JSONP, dojox.io.xhrWindowNamePlugin, etc.
1 1821 posted 16 years ago by stoyan
*save as proxy.asxh and put it in your IIS virtual directory *consider using other methods to circumvent XSS: JSONP, dojox.io.xhrWindowNamePlugin, etc.
0 1127 posted 16 years ago by stoyan
*IE7 sometimes complains that a JavaScript script is running too slow and asks the user whether they want to terminate it or continue. *To get rid of this annoying popup a few changes need to be made to the registry. *ref: http://www.itwriting.com...
0 1203 posted 16 years ago by stoyan
A Django model manager capable of using different database connections. Inspired by: * [Eric Florenzano](http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/) * [Kenneth Falck](http://kfalck.net/2009/07/01/multiple-data...
1 1059 posted 16 years ago by rix
Just a function for correct redirecting *UPD1* header added for Google Chrome
0 915 posted 16 years ago by kirik
call for the feed using the video_id and get the xml response. see "yt:status"
0 1283 posted 16 years ago by rowntreerob
Function for sanitize input POST, GET, COOKIE arrays.
2 1205 posted 16 years ago by kirik
This is a simple way to stripe alternate rows of output or to do anything different as I process each alternate row. Typically, I set the <tr> element's class to "myEvenRow" or "myOddRow" then output the <tr> data just after the IF statement. I f...
4 1249 posted 16 years ago by dizzley
Save as the target of your link. Change http://assets.harkeydesign.net/css/diagnose.css to your own hosted version if you want guaranteed permanence.
1 927 posted 16 years ago by zachharkey
0 1304 posted 16 years ago by kamilch
0 2956 posted 16 years ago by kamilch
0 2977 posted 16 years ago by kamilch
0 2933 posted 16 years ago by kamilch
1 3484 posted 16 years ago by kamilch
1 ... 389 390 391 392 393 ... 554