Welcome To Snipplr


Everyone's Recent Snippets



1 ... 395 396 397 398 399 ... 553
Save this file as a .php somewhere on your webserver - NOT A WEB ACCESSIBLE LOCATION! Edit the lines in the top portion to suit your needs and call the file from bash like this: $> php cpanel-backup.php You can use a cronjob to make this run autom...
1 1373 posted 16 years ago by arnoldb
This assumes HTML that looks like this: <pre><code> &lt;div id=&quot;containing_div&quot;&gt; &lt;div id=&quot;div_1&quot; style=&quot;background-color:red&quot; class=&quot;visible_div&quot;&gt; &lt;p&gt;Test Content 1&lt;/p&...
2 1034 posted 16 years ago by chippper
0 983 posted 16 years ago by endorfin
0 1138 posted 16 years ago by jpsirois
Neat CSS fixed background image scrolling 'trick'
3 1455 posted 16 years ago by myrebel420
1 1391 posted 16 years ago by jpsirois
3 1655 posted 16 years ago by jpsirois
Simply change the email address and add this to the bottom of your .bashrc file in your home directory. You may also want to add this to the .bashrc in the /root directory, and the .profile in /etc to ensure you are notified anytime your server is ac...
0 1091 posted 16 years ago by arnoldb
1 1516 posted 16 years ago by martin_rusev
TRouBLe T - op R - ight o u B - ottom L - eft e
0 1132 posted 16 years ago by thesmu
L oVe HAte L - ove o V-isited e H-over A-ctive T E
1 1195 posted 16 years ago by thesmu
2 1226 posted 16 years ago by thesmu
how to link ie only stylesheets and stylesheets by generation of ie
2 1561 posted 16 years ago by thesmu
Split a string containing HTTP response into a array with HTTP headers and a string with HTTP content
1 1714 posted 16 years ago by touv
On a new layer, add the following Actionscript to the frame requiring to be paused. 1000 represents the delay in milliseconds, being 1 second.
0 3441 posted 16 years ago by hotdiggity
1. Create button that covers the entire ad. 2. Create an instance of the button on the main timeline and name it "buttonClip" in the properties palette. 3. On a new layer add ActionScript to the timeline as follows:
0 3232 posted 16 years ago by hotdiggity
On a new actions layer, add the following script to frames requiring to be paused. 10000 represents the delay milliseconds (10 seconds).
1 1805 posted 16 years ago by hotdiggity
1. Create button that covers the entire ad. 2. Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette. 3. On a new layer add ActionScript to the timeline as follows:
2 1604 posted 16 years ago by hotdiggity
0 1188 posted 16 years ago by njhamann
Convenience function to set a SimpleXMLElement's attributes quickly.
0 1070 posted 16 years ago by iloveitaly
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1 1601 posted 16 years ago by nicolaspar
Change these lines in your TinyMCE settings.
0 1266 posted 16 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 1295 posted 16 years ago by wizard04
0 1034 posted 16 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 1633 posted 16 years ago by blackthorne
Tercera correccion
0 1140 posted 16 years ago by egoloco
1 ... 395 396 397 398 399 ... 553