Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1232
posted 16 years ago by arnoldb
how to link ie only stylesheets and stylesheets by generation of ie
2
1745
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
1901
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
3626
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
3419
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
2004
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
1781
posted 16 years ago by hotdiggity
Convenience function to set a SimpleXMLElement's attributes quickly.
0
1223
posted 16 years ago by iloveitaly
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1
1777
posted 16 years ago by nicolaspar
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
1492
posted 16 years ago by wizard04
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
1821
posted 16 years ago by blackthorne
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
1089
posted 16 years ago by bakkelun