Welcome To Snipplr


Everyone's Recent Snippets



1 ... 172 173 174 175 176 ... 554
Add to the <head> of your page after the main stylesheet to serve different stylesheets for different versions of Internet Explorer
0 919 posted 14 years ago by amyb
A implement of itoa with c++, std string. itoa is function that convert a integer to a string.
0 1018 posted 14 years ago by vikiyou
A implementation for itoa with c. itoa is function that convert a integer to a string.
0 1461 posted 14 years ago by vikiyou
1 874 posted 14 years ago by dbugger
Fairly self-explanator, but: Expects a directory at <code>/var/www/skeleton</code> with the correct permissions. This is then copied and renamed. Also expects a file named <code>/etc/apache2/sites-available/skeleton</code> which is used to copy th...
0 954 posted 14 years ago by craig0990
This is useful if you are loading html-text via XML and want to remove additional line-breaks, newlines, formfeeds and tabs. It just leaves the clean html.
0 911 posted 14 years ago by konrad_ha
0 761 posted 14 years ago by zubacris
0 726 posted 14 years ago by zubacris
The space after the caret in the grep command is produced by typing Ctrl-V and then Tab, to insert a Tab character.
0 1033 posted 14 years ago by nkm
0 1245 posted 14 years ago by mike_fowler
0 1081 posted 14 years ago by kashif21
This adds the class "not-home" to your body_class in Wordpress. Handy if you want to reset CSS from the index page.
1 918 posted 14 years ago by ethicka
0 1006 posted 14 years ago by laurenceosx
0 1016 posted 14 years ago by jHulbert
Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concern...
0 1175 posted 14 years ago by crypticsoft
The date and time after which the document should be considered expired. An illegal EXPIRES date, e.g. "0", is interpreted as "now". Setting EXPIRES to 0 may thus be used to force a modification check at each visit. Web robots may delete expired doc...
0 876 posted 14 years ago by cyrus
A simple Ajax database app built with the Karrigell web framework for Python; PyDbLite, a non-SQL Python database engine; and JQuery in the browser
0 849 posted 14 years ago by jcastell
Banner style found in HTML5 boilerplate. Copy and paste this in Bundle Editor and add a hotkey for it. /* // ================================== \\ || || || HTML5 Boilerplate Comment Bann...
1 869 posted 14 years ago by tmmyy
This generates a simple insert statement for mysql based on all the variables in $_GET or $_POST using a simple page. It does not do the inserts although that is a simple addition - just builds and displays your insert statement.
1 1515 posted 14 years ago by kidmizere
1 1163 posted 14 years ago by stephcode
1 ... 172 173 174 175 176 ... 554