Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 492 493 494 495 496 ... 553
Makes the form field background yellow and the border red when it is the active field. Works in most browsers except the usual lame ones (IE5.5 & 6).
1 1397 posted 18 years ago by will
ExpiresActive tells the apache2 to use the expires module. ExpiresDefault specifies the expire date for all mime-types in this directory. ExpiresByType specifies the expires date for the specified mime-type in this directory.
2 1906 posted 18 years ago by CharlyBr
1 1731 posted 18 years ago by CharlyBr
0 1010 posted 18 years ago by sou
recover to normal speed with /sbin/ipfw delete 100 /sbin/ipfw delete 200 ... or reboot
0 1759 posted 18 years ago by zingo
See also p. 348 ("Invoking a Method") of Pickaxe 2nd edition
1 1511 posted 18 years ago by cczona
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mo...
3 2473 posted 18 years ago by localhorst
https://www.chrisjmendez.com/2008/03/23/mysql-commands-i-wish-i-could-remember/
9 1937 posted 18 years ago by chrisaiv
Use this to start of new python applications.
1 1619 posted 18 years ago by kangell
[directory] ├index.php //this snippet ├imageA.jpg ├imageB.gif └imageC.png This snipet displays the thumbnail of the picture file that exists in the same directory. When the thumbnail image is clicked, the original size image is...
6 2003 posted 18 years ago by kyokutyo
I notice that a lot of database driven websites make easy mistakes by not checking for plural words. An example might be "2 vote" or "1 votes". Here is an example of a function using ASP to check for plurals.
1 2143 posted 18 years ago by neal_grosskopf
IE7 and IE8 support “No Add-ons Mode,” a troubleshooting mode. When you run IE this way, no 3rd party code runs... You can start No Add-ons Mode in a few ways: (To exit No Add-ons Mode, simply close that browser window.)
0 1556 posted 18 years ago by cczona
Add this arg code plus set first argument as "OG: Group nid(s)"
2 1696 posted 18 years ago by metareason
this is not the ultimate secure way, but it's at least not displaying the email link
3 1674 posted 18 years ago by iTony
1 1618 posted 18 years ago by kangell
It gets images randomly from folder that you've pointed.
4 2918 posted 18 years ago by skywalker
1 1516 posted 18 years ago by imhugo
Useful when trying to cleanup a large repo to see where you've made the most changes
1 2490 posted 18 years ago by JacobSingh
Sometimes i forget to remove firebug console commands when debuging, which makes IE and some other browsers fail / cry. To stop this happening use the below script from firebugx.js on the firebug lite homepage.
3 1798 posted 18 years ago by 1man
I know what you think - no discussion about this needless piece of code to prevent copying texts/images from websites, but there are customers outside that are advising resistant and so I use this code to scare off their potential clienteles.
2 2083 posted 18 years ago by localhorst
1 ... 492 493 494 495 496 ... 553