Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 396 397 398 399 400 ... 553
This shell script is tested under CentOS / RHEL and Fedora Linux. It should also work under other Linux distributions. If you would like to collect and submit information on your network configuration to your sr. Linux / UNIX admin use this script.
2 2498 posted 16 years ago by mprabhuram
Uses jquery and raw javascript to quickly add a class to the body class depending on what kind of page it is.
0 1495 posted 16 years ago by chrisjlee
These tweaks improved my Yslow score from F to B.
1 1436 posted 16 years ago by zachharkey
Learn how to emulate ASP.NET's AppendFormat method in Javascript. AppendFormat is essentially a simple form of concatenation in ASP.NET.
1 1441 posted 16 years ago by neal_grosskopf
Learn how to emulate ASP.NET's AppendFormat method in Classic ASP. AppendFormat is essentially a simple form of concatenation in ASP.NET.
1 1697 posted 16 years ago by neal_grosskopf
Using this loop variation you can style differently the first and the last post of a loop, or whatever post you like, as lond as you add a new elseif with the number of the post you desire.
5 1974 posted 16 years ago by crs
Use this code to handle keypress/keyboard events
1 1877 posted 16 years ago by mprabhuram
1 1204 posted 16 years ago by ericboehs
0 1232 posted 16 years ago by ericboehs
You must have already setup your /etc/init.d/some_binary file and it should have the chkconfig line in it that specifies the on/off run levels and start/stop priorities.
0 1540 posted 16 years ago by jturmel
0 1023 posted 16 years ago by tclancy
3 1561 posted 16 years ago by sveggiani
1 ... 396 397 398 399 400 ... 553