Welcome To Snipplr


Everyone's Recent Snippets



1 ... 387 388 389 390 391 ... 552
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 2012 posted 17 years ago by alexwilliams
1 1871 posted 17 years ago by iTony
0 1107 posted 17 years ago by adammika
Create two new bookmarks - one for dev, one for live and add the following corresponding code to each.
1 2139 posted 17 years ago by Meander365
0 1460 posted 17 years ago by kungfoo
gibt die url plus storeview aus, also bspw: http://yourdomain.com/de/
0 1701 posted 17 years ago by nico65
The quick and easy way to insert CMS Blocks into template (.phtml) files without any layout modifications:
0 2706 posted 17 years ago by nico65
Put on top of script
1 2126 posted 17 years ago by gerhardsletten
0 1223 posted 17 years ago by hungry
This method is better suited for processing large arrays in the smallest amount of time without affecting the user experience.
0 1725 posted 17 years ago by iTony
requires blank.gif (transparent 1px gif image)
1 3354 posted 17 years ago by gryzzly
This is a raw example of the nested lists structure with inherited numeration.
0 1804 posted 17 years ago by frujo
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 4044 posted 17 years ago by ericfickes
1 1790 posted 17 years ago by iTony
2 1780 posted 17 years ago by iTony
A wrapper may be made to enclose the content of a page, and then you can write descendant CSS rules that mention that wrapper's ID or class name in the selector. But what if only IE thought that wrapper existed? Then those rules would only work for I...
4 2223 posted 17 years ago by Meander365
Think this is a good one to remember. Let's say you have a set of list items and all of them have a border of 1px. Inside you have an image. When you hover over each list item you want the border to change thickness to 2px. The trick is to...
1 2075 posted 17 years ago by Meander365
Since an asynchronous method is usually one you call and then it invokes a callback when it is finished, it is not obvious how to test such a method in a definite manner. In the method described at the above URL, the author uses .NET's System.Threadi...
1 2654 posted 17 years ago by pckujawa
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
1 1816 posted 17 years ago by SunilTee
Dies zeigt die StoreView ID an <?php>getStore()->getId(); ?><br> Dies zeigt den StoreView Namen an<?php>getStore()->getName(); ?> Dies zeigt die StoreNamen ID an<?php>getStore()->getGroupID(); ?> Dies zeigt den Storenamen an <?php>getStore()->getG...
0 1670 posted 17 years ago by nico65
0 1533 posted 17 years ago by erichus
1 ... 387 388 389 390 391 ... 552