Welcome To Snipplr


Everyone's Recent Snippets



1 ... 434 435 436 437 438 ... 553
Get Function Name ============ This will only return (a string) if the object passed to getFunctionName is a function or an "object" function from IE. The function does not rely on function.name if present as it can't always be trusted. Examp...
0 1490 posted 17 years ago by Sephr
This is a replacement for the default PHP settings in Drupal's .htaccess file. Increasing the memory_limit, max_post_size etc. prevents a lot of errors, especially when using image modules.
0 1635 posted 17 years ago by zachharkey
Simple Javascript that will get a feed and parse it using Ajax
2 2019 posted 17 years ago by chrisaiv
AJAX by default only lets you play within your own Domain.com but there are plenty of times where you want to use someone else's feed. Check out http://snipplr.com/view/12466/jquery-parse-rss-feed/ to understand the rest.
1 1712 posted 17 years ago by chrisaiv
Here's a simple example of how to parse RSS feeds using jQuery. You will need jFeed (http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin) and a bit of help from PHP (http://snipplr.com/view/12467/php-capture...
8 2084 posted 17 years ago by chrisaiv
Simply create a new index.php and place this code within.
1 1565 posted 17 years ago by chrisaiv
1 1665 posted 17 years ago by iTony
Django template system highlighting is included from Vim 7.1. You can easily turn it on with setfiletype.
0 1391 posted 17 years ago by escalant3
With the ever increasing use of alternate media types I feel there is a need to deliver JavaScript targeted to these types of devices. This would allow alternate and modified content, as well as a customized user experience through the use of modern...
2 2161 posted 17 years ago by localhorst
A quick search on the internet reveals all kinds of ways you can calculate with business days. I think is the most simple and efficient. In this example add day of week and weeks separately. The loop is never iterated more then 4 times regardless of...
3 4274 posted 17 years ago by chadj2
3 2157 posted 17 years ago by sveggiani
1 1376 posted 17 years ago by joeydi
0 1622 posted 17 years ago by selfmadepsyche
8 2806 posted 17 years ago by selfmadepsyche
0 1445 posted 17 years ago by antpaw
1 1678 posted 17 years ago by sveggiani
0 4024 posted 17 years ago by webonomic
18 11951 posted 17 years ago by sidisinsane
アルゴリズムコンテストの勉強会で紹介したGoogle App Engineで動くpythonコードです Djangoフレームワークを前提にしています。 あまりコードとしては参考にならないかも知れませんが、こã...
0 2611 posted 17 years ago by tamuratetsuya
Tumblr taglist generator returns your Tumblog tags under JSON format. Written in Python and utilized Google App Engine.
1 1580 posted 17 years ago by doqtu84
Minimal syntax for cursor use. See URL for SQL 2005 options and improvements.
0 1799 posted 17 years ago by rengber
Can be used to generate a random code for an online voucher. You just need to set VOUCHER_CODE_LENGTH in your environment.rb or similar.
1 1745 posted 17 years ago by jordanbrock
jQuery client-side form validation for the Radiant CMS mailer extension. Requires jQuery 1.2.6+ Each required field needs a class of "required" assigned to the input tag.
0 1760 posted 17 years ago by bcalloway
1 ... 434 435 436 437 438 ... 553