Welcome To Snipplr


Everyone's Recent Snippets



1 ... 395 396 397 398 399 ... 552
0 1745 posted 17 years ago by njhamann
Convenience function to set a SimpleXMLElement's attributes quickly.
0 1609 posted 17 years ago by iloveitaly
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1 2316 posted 17 years ago by nicolaspar
Change these lines in your TinyMCE settings.
0 1935 posted 17 years ago by PesPes
For cross-browser code--which is not necessarily valid--the [Embedded Media HTML Generator](http://cit.ucsf.edu/embedmedia/step1.php) provides a great starting point.
1 1963 posted 17 years ago by wizard04
0 1604 posted 17 years ago by hlubek
this script brings you a "back to top" when you cross the vertical threshold defined as argument on the body tag (e.g.: 200px) Requires JQuery but can easily be adapted to other JS framework
3 2547 posted 17 years ago by blackthorne
Tercera correccion
0 1862 posted 17 years ago by egoloco
2 1722 posted 17 years ago by fabi
0 2064 posted 17 years ago by arpit
2 1422 posted 17 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 1468 posted 17 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 3052 posted 17 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 2018 posted 17 years ago by chrisjlee
These tweaks improved my Yslow score from F to B.
1 1935 posted 17 years ago by zachharkey
1 ... 395 396 397 398 399 ... 552