Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is to prevent duplicate content when your provider directs your http://domain.com to the same place as http://www.domain.com
1
1275
posted 16 years ago by zartgesotten
Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Actually two separate stylesheets: one for IE in general and one for IE6 specifically.
[Part I](http://snipplr.com/view/16353/ "DzR Maste...
0
1208
posted 16 years ago by wizard04
An add-on to [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Many helpful classes for layout, writing styles, paged media, etc.
For the `printHref` class, you'll need to replace "example.com" with your own domain.
[P...
0
1189
posted 16 years ago by wizard04
A very thorough CSS reset stylesheet I created for HTML 4.01 using CSS 3 (and older).
[Part II](http://snipplr.com/view/16354/"DzR Master Stylesheet (Part II, Classes)")
[Part III](http://snipplr.com/view/16355/ "DzR Master Stylesheet (Part...
0
1203
posted 16 years ago by wizard04
How to customize a Maven Calm settings.xml in order to allow multiple environment builds; for more info look here http://code.google.com/p/maven-calm/
0
1029
posted 16 years ago by mpillitu
How to customize a Maven Calm profiles.xml in order to allow multiple environment builds; for more info look here http://code.google.com/p/maven-calm/
0
969
posted 16 years ago by mpillitu
http://www.trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.html
-and-
http://www.webmasterworld.com/forum46/1288.htm
0
1198
posted 16 years ago by rwczippy
Refer to http://msdn.microsoft.com/en-us/library/aa394512(VS.85).aspx
0
1458
posted 16 years ago by vinocui
# useful links:
# (WMI space definition) http://msdn.microsoft.com/en-us/library/aa394084(VS.85).aspx
# (OLE usage on CPAN) http://cpan.uwinnipeg.ca/htdocs/Win32-OLE/Win32/OLE.html#Object_methods_and_properties
1
1707
posted 16 years ago by vinocui
This script shows the top 10 worst indexes (in terms of selectivity %) on the whole MySQL server instance. Selectivity is the percentage of distinct values in an indexed field compared to the number of records in the table.
Note that this query can...
1
1244
posted 16 years ago by Eloi
- a javascript for alternate row/column table striping
- supports row hover, column hover and cell hover effects and click events.
demo here:
http://www.frequency-decoder.com/demo/table-actions/
0
1277
posted 16 years ago by beneberle
Due to widespread internet blocking in Iran following the June 2009 election, a network of proxy servers was set up to assist in the free flow of information. The IP range, to the best of my knowledge, should cover the addresses used in Iran, with bl...
0
1418
posted 16 years ago by kwilson
Enable jQuery on any website, just clicking on a bookmarklet with this code. Or drag & drop this on your bookmark bar: <a href="javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs...
4
1318
posted 16 years ago by danielfilho
Download all tutorial pages of html format recursively.
Ex: http://www.moraware.com/help/
Get the url of tree frame (left), use it in wget.
Have fun :)
0
1289
posted 16 years ago by abhiomkar
this function processes a URL that 'should' be a full url (i.e. http://something.com/dfsdfs/)
and makes sure it contains http:// for easy inclusion as a link into a href attribute
0
1096
posted 16 years ago by iloveitaly
I did write this snippet, I found it somewhere on the internet (I think I found it in a .bash_profile file in [dotfiles.org](http://www.dotfiles.org/)
Paste this code at the end of your .bash_profile file and the use it instead of man if you want...
0
1073
posted 16 years ago by AzizLight
[Google's "AJAX Libraries API"](http://code.google.com/apis/ajaxlibs/) is great and all, but can slow things down if you're doing a lot of refreshing/cache clearing while debugging. Here's a neat trick: stuff something like this in the `<head>` of yo...
1
1648
posted 16 years ago by jdbartlett
When you have a URL like this
http://mysite/newsletters/index/2007
The find('first') method adds the 2007 value as ID parameter
WTF!?
0
1143
posted 16 years ago by sveggiani
you'll need the ack (http://betterthangrep.com/) command line application
0
1075
posted 16 years ago by iloveitaly
For a discussion of .NET events best-practices, see [Roy Osherove's blog post](http://weblogs.asp.net/rosherove/articles/DefensiveEventPublishing.aspx) and [this post](http://blogs.msdn.com/ericlippert/archive/2009/04/29/events-and-races.aspx). Be su...
0
1434
posted 16 years ago by pckujawa
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL
e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4
3724
posted 16 years ago by blackf0rk
Use of the vCard(hCard) microformat, used to mark up contact details of
people, companies, organisations and places. Includes an download link via X2Vs hcard to vcard-service. Can be styled as a 2-column hcard via CSS (see CSS snippet)
inspired b...
0
1549
posted 16 years ago by visualpropaganda
Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long. This should go into the page load event.
1
1488
posted 16 years ago by jink