Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 388 389 390 391 392 ... 552
0 1724 posted 17 years ago by thesmu
Enables you customise the colour of your <li> bullet points.
0 2022 posted 17 years ago by nostradamuszen
1 1719 posted 17 years ago by traeregan
Apagado por linea de comando
0 1539 posted 17 years ago by xaviles
This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types. **Horizontal type:** | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | **Vertical type:**...
1 3016 posted 17 years ago by kirik
0 1638 posted 17 years ago by rickfu
These four LaTeX control sequences are workalikes of the built-ins \show, \showthe and \def and of a command sequence call. Unlike the usual variants, they work on internal macros which contain characters with the "wrong" category code, such as "@"....
0 4098 posted 17 years ago by deepsoul
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 1778 posted 17 years ago by deepsoul
0 1506 posted 17 years ago by rowntreerob
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 1693 posted 17 years ago by deepsoul
0 1276 posted 17 years ago by pats
0 1397 posted 17 years ago by pats
0 1408 posted 17 years ago by pats
0 1699 posted 17 years ago by berndschiffer
0 1888 posted 17 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 2841 posted 17 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 1770 posted 17 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 1836 posted 17 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 1659 posted 17 years ago by rix
Just a function for correct redirecting *UPD1* header added for Google Chrome
0 1466 posted 17 years ago by kirik
call for the feed using the video_id and get the xml response. see "yt:status"
0 2033 posted 17 years ago by rowntreerob
Function for sanitize input POST, GET, COOKIE arrays.
2 2046 posted 17 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 2034 posted 17 years ago by dizzley
1 ... 388 389 390 391 392 ... 552