Welcome To Snipplr


Everyone's Recent Snippets



1 ... 396 397 398 399 400 ... 553
2 1153 posted 16 years ago by fabi
0 1328 posted 16 years ago by arpit
2 917 posted 16 years ago by hotice
Pretty straight forward implementation of mysql instantiation using php5 oop. Example usage at the bottom. The database in the example is named 'example_database' and has 1 table, 'newstable'. This table has three columns: 'id,heading,message'. By...
0 984 posted 16 years ago by bakkelun
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 2306 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 1341 posted 16 years ago by chrisjlee
These tweaks improved my Yslow score from F to B.
1 1280 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 1302 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 1561 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 1753 posted 16 years ago by crs
Use this code to handle keypress/keyboard events
1 1721 posted 16 years ago by mprabhuram
1 1099 posted 16 years ago by ericboehs
0 1104 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 1387 posted 16 years ago by jturmel
1 ... 396 397 398 399 400 ... 553