Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is an xml files that allows/disallows the cross domain communication.
1
1245
posted 18 years ago by jitendramr
Writing expressions in CSS, used to make decisions at run-time.
2
1566
posted 18 years ago by jitendramr
If you are deleting all the rows in a table and you also want to reset the values that will get used by auto increment, this is how to do it.
0
1472
posted 18 years ago by jachin
You can generate a simple bar chart of the values by executing this command...
0
1397
posted 18 years ago by zingo
https://www.chrisjmendez.com/2007/10/15/ruby-parse-delicious-rss-feeds/
2
1787
posted 18 years ago by chrisaiv
Sitepoint have this useless but cool feature if you hold down the middle click to autoscroll the page - they have replaced the image that indicates scrolling
1
1074
posted 18 years ago by natalie
https://www.chrisjmendez.com/2017/10/15/ruby-web-2-0-name-generator/
1
1068
posted 18 years ago by chrisaiv
Step 1: Copy and paste the e-mail Form Code into a 'contact.php' page (must be a html/php page on a server that allows php!).
Step 2: Copy n paste the sendeail.php code into a new file. Change the YourEmail section to include your email address. T...
3
2162
posted 18 years ago by jonhenshaw
A database table is basically an array of dictionary objects. As long
as all the fields are valid property list types, you can loop through
the array creating a managed object for each dictionary and setting
the values. If you have an array con...
2
1840
posted 18 years ago by zingo
The setTimeout ensures that if there is an issue attaching the link to the bottom of the head (e.g. if the head hasn’t finished loading when the link is trying to be attached) it retries after 100ms. Resetting the css variable to null avoids potent...
1
2003
posted 18 years ago by natalie
How to check if a number is odd or even in PHP. Could also use the MOD (%) function, but apparently this method is better performance-wise.
12
3019
posted 18 years ago by andyhartleeds