Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This method is better suited for processing large arrays in the smallest amount of time without affecting the user experience.
0
898
posted 15 years ago by iTony
This is a raw example of the nested lists structure with inherited numeration.
0
979
posted 15 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
1338
posted 15 years ago by ericfickes
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
1057
posted 15 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
1141
posted 15 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
1468
posted 15 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
994
posted 15 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
913
posted 15 years ago by nico65
Enables you customise the colour of your <li> bullet points.
0
1088
posted 15 years ago by nostradamuszen
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
1625
posted 15 years ago by kirik
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
1264
posted 15 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
960
posted 15 years ago by deepsoul