Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Uses JSON Lite SWC/Class from http://thanksmister.com/?p=40
0
1441
posted 15 years ago by allnatural
HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs. In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice...
1
3515
posted 15 years ago by softmechanics
Not very secure, but very handy ...
Use like that :
app = your_wsgi_app()
app = ControlAccess( app, "your_password")
httpserve( app ) # wsgi server
0
1451
posted 15 years ago by manatlan
modified version of:
http://www.linein.org/blog/2008/04/04/find-time-between-two-dates-in-php/
0
1704
posted 15 years ago by jkjeldgaard
This is an improvement on http://snipplr.com/view/11583/retrieve-url-params-with-jquery/
I found IE wasn't liking the results[1] when no param was set. This fixes that issue.
6
4572
posted 15 years ago by geekyjohn
Used to copy the user avatar from Facebook to your community in this [Facebook Connect Tutorial](http://www.barattalo.it/facebook-connect-tutorial/ "Tutorial").
1
1680
posted 15 years ago by ginoplusio
http://pcextreme.nl is one of the Best hosters for Drupal in Netherlands.
But they require one change to the .htaccess in order to run.
0
1094
posted 15 years ago by berkes
Found on [Corey Goldberg's blog](http://coreygoldberg.blogspot.com/2010/01/python-command-line-progress-bar-with.html). Usage:
from progress_bar import ProgressBar
p = ProgressBar(60)
p.update_time(15)
print p
p.fill_char =...
0
835
posted 15 years ago by ctmiller
Originally found on [Corey Goldberg's blog](http://coreygoldberg.blogspot.com/2010/01/python-command-line-progress-bar-with.html)
0
1027
posted 15 years ago by codeshaman
The Query Builder allows you to control the AND and OR relation in your searches
Note: 12.0 in the path below is the Outlook version, replace it with the Outlook version you have.
Credit for this trick goes to: http://www.msoutlook.info/questio...
1
1356
posted 15 years ago by ramisedhom
Credit: http://pragmatig.wordpress.com/2009/04/14/recursive-symbolize_keys/
0
1193
posted 15 years ago by nate63179
Great short snippet of code to toggle checkboxes.
Thanks [Josh Nathanson](http://groups.google.com/groups/profile?enc_user=aAOlJRcAAAC7dB8ku2NsRGdjbPtXhPEXHqZiDvCVswhrZ6TQxKj0ww) for putting this simple code together.
6
1499
posted 15 years ago by smoothdzion
This is a simple effect for displaying a predefined text in a text box in web page. Download jQuery and the plugin and follows the sample code in [http://cloudgen.w0ng.hk/jquery/defaultText.php](http://cloudgen.w0ng.hk/jquery/defaultText.php "Defaul...
0
1400
posted 15 years ago by cloudgen
This is a zoom glass effect. Simply download jQuery and the plugin and apply the code as described in http://cloudgen.w0ng.hk/jquery/simple.zoomGlass.php
You can found the sample in the page, too.
0
1372
posted 15 years ago by cloudgen
This is excellent for testing (mocking a SOAP server for example), we use an in memory http server in order to answer client requests.
0
1693
posted 15 years ago by narkisr
There is no debian startup script for the lighttpd webserver, if you install the server from sources. You could rewrite the redhat init script for your self, but i've already done this for you :-)
0
1011
posted 15 years ago by crypt
The first function make short urls.
The second function decode a short url with CURL. It gets the http header of the short url page. If the header contains a "Location:" header, then it's a redirect, and the decoded url is the url in the "Location"...
1
2714
posted 15 years ago by ginoplusio
Modified version of the script created by Dave Stevens, Enables the user to input their credentials on a webpage rather than having to change the actual php script code.
Changes: Changed $user,$pass,$term
This is a modified script, the original...
0
1689
posted 15 years ago by jonathonmaguire
Template includes optional changes from the default EE RSS template that I added as a result of various articles, the RSS 2.0 spec and by examining the feeds of major professional news sites. For more information see my blog post (url above). Tested...
1
1301
posted 15 years ago by mahalie
This template removes seconds from date fields used in the <item> which cause multi-posting (on each edit) of entries. These are the minimal fixes to the current default EE RSS Template, I've also uploaded an [improved template](http://snipplr.com/vi...
0
1219
posted 15 years ago by mahalie
This function takes anything which can be dumped into JSON and returns an HTTP response of it, with the right Content-type header.
2
3271
posted 15 years ago by magicrebirth
demo: http://www.adamcoulombe.info/lab/as3/360-spin-hover.html
FLA: http://www.adamcoulombe.info/lab/as3/360-spin-hover.fla
requires tweenlite
1
2101
posted 16 years ago by adamcoulombe
Spotlight Navigation effect using AS3 and Tweenlite
Demo: http://www.adamcoulombe.info/lab/as3/spots_test.html
FLA: http://www.adamcoulombe.info/lab/as3/spots_test.fla
2
2090
posted 16 years ago by adamcoulombe
In order for the code snippet(s) to work, you need to do the following:
1. Go download the EWS API SDK: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1
2. Install the SDK on your machin...
0
1437
posted 16 years ago by blackf0rk
an easy-to-use function to connect to your del.icio.us account and perform a query.
query commands can be found on their api help: http://delicious.com/help/api
1
1173
posted 16 years ago by stephanepericat
from this page: http://dreaminginjavascript.wordpress.com/2008/08/22/eliminating-duplicates/
0
1500
posted 16 years ago by keith