Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 2002 posted 17 years ago by alexwilliams
1 1860 posted 17 years ago by iTony
0 1104 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 2128 posted 17 years ago by Meander365
0 1456 posted 17 years ago by kungfoo
gibt die url plus storeview aus, also bspw: http://yourdomain.com/de/
0 1694 posted 17 years ago by nico65
The quick and easy way to insert CMS Blocks into template (.phtml) files without any layout modifications:
0 2691 posted 17 years ago by nico65
Put on top of script
1 2124 posted 17 years ago by gerhardsletten
0 1220 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 1722 posted 17 years ago by iTony
requires blank.gif (transparent 1px gif image)
1 3348 posted 17 years ago by gryzzly
This is a raw example of the nested lists structure with inherited numeration.
0 1800 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 4039 posted 17 years ago by ericfickes
1 1778 posted 17 years ago by iTony
2 1771 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 2212 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 2068 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 2643 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 1815 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 1666 posted 17 years ago by nico65
0 1525 posted 17 years ago by erichus
1 ... 387 388 389 390 391 ... 552