Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
IE 5.5 to 6 don't support generic PNG with Alpha-Channel
To get the advantage of PNGs use the akward AlphaImageLoader-filter (AIL) as described on the msdn site ( http://msdn.microsoft.com/en-us/library/ms532969(VS.85).aspx ).
But because the AIL...
3
1166
posted 17 years ago by HerrSerker
I was looking for a way to post new articles remotely, and cross domain. I only needed to post new articles, not read, edit or anything like that, so I did not need a whole GUI or any other Interface like those WP-Desktop-clients. I wrote this script...
0
1134
posted 17 years ago by j_junyent
This is an example of how to search within a Ferret index (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).
1
1019
posted 17 years ago by narkisr
This is a simple example for building a search index with the Ferret library (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).
1
1132
posted 17 years ago by narkisr
Changing default settings
The defaults for the ssh-related commands can be altered for each account in a configuration file ~/.ssh/config (there is also a system-wide file, usually /etc/ssh/ssh_config). Each entry starts with a Host keyword. You c...
0
922
posted 17 years ago by cczona
I use this in addition to the
number_format (http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/)
snippit in SWFUpload to display the size of files a user is preparing to upload.
0
4682
posted 17 years ago by inkdeep
This example shows how to release artifacts into Artifactory by using Buildr, the origin of this code is http://groups.google.com/group/buildr-talk/
1
747
posted 17 years ago by narkisr
From: David Walsh.
http://davidwalsh.name/dw-content/open-links.php
2
1297
posted 17 years ago by gbot
Worst title ever. Basically, this takes a string like:
"Check this out: http://snipplr.com/view/5759/replace-a-url-its-domain-name-and-create-link/" and replaces it with "Check this out: snipplr.com [with a link to the full URL]"
1
1363
posted 17 years ago by jaytee
Many examples that show how to use the header() function of PHP
3
1114
posted 17 years ago by localhorst
recover to normal speed with
/sbin/ipfw delete 100
/sbin/ipfw delete 200
... or reboot
0
1171
posted 17 years ago by zingo
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mo...
3
1402
posted 17 years ago by localhorst
https://www.chrisjmendez.com/2008/03/23/mysql-commands-i-wish-i-could-remember/
9
1084
posted 17 years ago by chrisaiv
//for options available, see:
http://www.ss64.com/bash/shopt.html
1
1053
posted 17 years ago by cczona
How to use:
1) < script type="text/javascript" src="path-to-file.js"...
2) < body onload="oHW.preMontar('img1_on.jpg','img2_on.jpg','img3_on.jpg');"...
3) < a href="#" onmouseout="oHW.Restore()" onmouseover="oHW.Cambiar('mnind','img1_on.jpg'...
2
1217
posted 17 years ago by hellion
Use this snippet to quickly insert onclick="window.open();" into your HTML...
---
Snippets can save you time and hassle of typing out bits of code that you frequently use by adding them into your files by simply double-clicking the name of the Sn...
1
1044
posted 17 years ago by hellion
Style External, PDF, and Mailto links using CSS and a background image. For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.
3
1426
posted 17 years ago by neal_grosskopf
Easy functions, comments in code.
From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1
987
posted 17 years ago by jc001
I got this code from http://blog.vishalon.net/Post/57.aspx
The actual two methods required are
function doGetCaretPosition (ctrl) {
var CaretPos = 0;
// IE Support
if (document.selection) {
ctrl.focus ();
var Sel = document.select...
3
4624
posted 17 years ago by arunpjohny
Creates a SSL connection with delicious API using the HTTP basic authentication.
4
1113
posted 17 years ago by pmd
(c) copyright Stephen Chapman, 1st Jan 2005.
Example:
alert('http://'+uri.dom+uri.path+'/folder/file.js');
0
904
posted 17 years ago by oxisound
https://www.chrisjmendez.com/2008/02/11/as3-regular-expression-basic-example/
0
1123
posted 17 years ago by chrisaiv
Mediator design pattern implemented in Groovy (based upon http://www.javacamp.org/designPattern/).
1
1132
posted 17 years ago by narkisr
The code below will format 2008-01-30 10:58:32 to Jan 30, 2008
See the page http://us2.php.net/date for a complete list of formatting codes.
2
1264
posted 17 years ago by meme
A simple testing assertion which looks up for a line within a file until a pre defined time frame ends (loosely based upon http://www.informit.com/guides/content.aspx?g=java&seqNum=226).
0
1187
posted 17 years ago by narkisr