Welcome To Snipplr


Everyone's Recent Snippets



1 ... 388 389 390 391 392 ... 553
1 1387 posted 16 years ago by iTony
2 1396 posted 16 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 1797 posted 16 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 1655 posted 16 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 2182 posted 16 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 1446 posted 16 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 1259 posted 16 years ago by nico65
0 1278 posted 16 years ago by erichus
0 1365 posted 16 years ago by thesmu
Enables you customise the colour of your <li> bullet points.
0 1603 posted 16 years ago by nostradamuszen
1 1338 posted 16 years ago by traeregan
Apagado por linea de comando
0 1216 posted 16 years ago by xaviles
This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types. **Horizontal type:** | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | **Vertical type:**...
1 2523 posted 16 years ago by kirik
0 1294 posted 16 years ago by rickfu
These four LaTeX control sequences are workalikes of the built-ins \show, \showthe and \def and of a command sequence call. Unlike the usual variants, they work on internal macros which contain characters with the "wrong" category code, such as "@"....
0 3654 posted 16 years ago by deepsoul
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 1417 posted 16 years ago by deepsoul
0 1170 posted 16 years ago by rowntreerob
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 1340 posted 16 years ago by deepsoul
0 981 posted 16 years ago by pats
0 1078 posted 16 years ago by pats
0 1090 posted 16 years ago by pats
0 1347 posted 16 years ago by berndschiffer
1 ... 388 389 390 391 392 ... 553