Welcome To Snipplr


You searched for: http

Everyone's Recent Snippets



1 ... 24 25 26 27 28 ... 36
Remedial Javascript As Proposed by Douglas Crockford (http://javascript.crockford.com/remedial.html)
0 846 posted 15 years ago by quickredfox
adapted from the fantastic „Learning jQuery 1.3“ book http://www.packtpub.com/learning-jquery-1.3/book
0 1035 posted 15 years ago by cfleschhut
The canvas drawImage size default is 300 x 150, so it's using the CSS to resize the canvas. Example posted at http://pastebin.me/76aed7005b1b413ea3c479287f4dbd59
0 1532 posted 15 years ago by Motty
In this example: *rewrite urls from domain.com to www.domain.com* This is somewhat documented elsewhere, but not very well, so here's an example on how to perform simple URL rewriting with HAProxy (instead of using mod_rewrite with apache)....
0 1131 posted 15 years ago by alexwilliams
gibt die url plus storeview aus, also bspw: http://yourdomain.com/de/
0 854 posted 15 years ago by nico65
Here is the MXML source code for a simple FLEX based soundboard. You can download this Adobe AIR application at http://www.ifartair.com/
0 1289 posted 15 years ago by ericfickes
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 909 posted 15 years ago by deepsoul
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 891 posted 15 years ago by deepsoul
*IE7 sometimes complains that a JavaScript script is running too slow and asks the user whether they want to terminate it or continue. *To get rid of this annoying popup a few changes need to be made to the registry. *ref: http://www.itwriting.com...
0 1050 posted 15 years ago by stoyan
A Django model manager capable of using different database connections. Inspired by: * [Eric Florenzano](http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/) * [Kenneth Falck](http://kfalck.net/2009/07/01/multiple-data...
1 902 posted 15 years ago by rix
Save as the target of your link. Change http://assets.harkeydesign.net/css/diagnose.css to your own hosted version if you want guaranteed permanence.
1 813 posted 15 years ago by zachharkey
This script tries to detect whether an HTTP Proxy works or not. It uses the HEAD command (high-level version of the lwp-request command) to connect to a given URL (http://www.google.com by default) via the given HTTP Proxy. It takes 2 arguments; the...
0 1000 posted 15 years ago by sensimevanidus
When I'm running unit tests, I find it very annoying to have to check equality within loops when I've got two collections of data. I know of no built-in way (let me know if there is one) [Edit: [CollectionAssert](http://msdn.microsoft.com/en-us/libra...
0 1113 posted 15 years ago by pckujawa
this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
1 885 posted 15 years ago by jlvallelonga
Crear un backup de una base de datos en SQL Server 2005/08 desde código en la posición definida por Device. Cuidado con los permisos: http://support.microsoft.com/kb/207187/es
1 1025 posted 15 years ago by marcocs
Crear un backup de una base de datos en SQL Server 2005/08 desde código en la posición predefinida del disco. Para agregar un dispositivo y hacer el backup en posición no predefinida: http://msdn.microsoft.com/es-es/library/ms188409(SQL.90).as...
1 1030 posted 15 years ago by marcocs
An empty FLA to be repurposed for creating other banners of varying size. Clickable area is resized automatically to fit the stage size, and a sample button with rollover states is included. Looping and loop delay are set according to actionscript v...
0 1292 posted 15 years ago by Winkyboy
Based on the good initial coverage [over here](http://www.thamtech.com/blog/2008/03/29/gmail-to-google-apps-email-migration/).
1 1083 posted 15 years ago by ches
How to send load-balanced requests to a web cluster and split the requests to different server pools based on specific ACL rules. This configuration sends files ending with .php to a pool of "dynamic" web servers (running Apache). It sends all...
0 873 posted 15 years ago by alexwilliams
An ActionScript3 video player placed on the stage, configurable by FlashVars. It displays a spinning loader until the video loads. Also see http://snipplr.com/view/11606/ for another AS3 video code template Read about AS3 video in this in-depth t...
0 1169 posted 15 years ago by Winkyboy
Include file that contains the array of areacodes and states. **This file is needed for the Areacode Script to work. Script here: http://snipplr.com/view/17339/area-code-lookup-script/
2 864 posted 15 years ago by arnoldb
This simple script will return what state an areacode belongs to. Be sure to get the include file that contains the array here: http://snipplr.com/view/17340/area-code-lookup-script--include-file/
1 978 posted 15 years ago by arnoldb
This snippet is useful if you want to extract the relevant parts out of an Date header field of an email message. It was created according to the [RFC 5322 rules](http://tools.ietf.org/html/rfc5322#page-15 "RFC 5322, Page 15"). It supports named capt...
1 1084 posted 15 years ago by dreadwarrior
Runtime Object Evaluator; search for string object properties that start with !! and eval the content. Very useful if you want to load JSON from file and evaluate its fields on effective usage or access global variables at runtime. [Follow me on T...
1 742 posted 15 years ago by straps
Split a string containing HTTP response into a array with HTTP headers and a string with HTTP content
1 1302 posted 15 years ago by touv
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 1043 posted 15 years ago by wizard04
* checkout : June 08, 2009 * commit : [34864f01741b1b2bb74072ba404e8b4436c18fe6](http://github.com/AndyA/htop-osx/commit/34864f01741b1b2bb74072ba404e8b4436c18fe6)
0 1050 posted 15 years ago by kmartiin
Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons that have absolutely no relation to accessing blocked sites LOL!) and you would like to use that same tunnel on your iPhone/...
1 7437 posted 15 years ago by shaunchapman
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 1003 posted 15 years ago by phalkunz
1 ... 24 25 26 27 28 ... 36