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 2099 posted 17 years ago by alexwilliams
1 1970 posted 17 years ago by iTony
0 1169 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 2249 posted 17 years ago by Meander365
0 1554 posted 17 years ago by kungfoo
gibt die url plus storeview aus, also bspw: http://yourdomain.com/de/
0 1794 posted 17 years ago by nico65
The quick and easy way to insert CMS Blocks into template (.phtml) files without any layout modifications:
0 2825 posted 17 years ago by nico65
Put on top of script
1 2227 posted 17 years ago by gerhardsletten
0 1295 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 1820 posted 17 years ago by iTony
requires blank.gif (transparent 1px gif image)
1 3464 posted 17 years ago by gryzzly
This is a raw example of the nested lists structure with inherited numeration.
0 1888 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 4161 posted 17 years ago by ericfickes
1 1884 posted 17 years ago by iTony
2 1890 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 2366 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 2195 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 2764 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 1911 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 1754 posted 17 years ago by nico65
0 1626 posted 17 years ago by erichus
0 1833 posted 17 years ago by thesmu
1 ... 387 388 389 390 391 ... 552