Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is saved from Gerhard Slettens weblog www.gersh.no. I just want yo keep it on snipplr so it easily can be fetched through textmate.
15
7490
posted 17 years ago by stavelin
This snippet creates a basic input and label combo for an html form. Has tab stops at relevant places for adding for, id and name attritbutes
2
1439
posted 17 years ago by superdeluxesam
Simple list of commands to use within Adobe AIR to help debug an application.
0
1172
posted 17 years ago by 1man
This regular expression matches any trailing whitespace at the end of a line (whitespace and tabs). Replace this with nothing to remove trailing whitespace from files.
1
1608
posted 17 years ago by kouphax
jQuery Plugin for returning selected DOM Nodes in DOM order. e.g. $('img.L,img.Y') will not be guaranteed DOM order (usually all the L's then all the Y's).
Currently only works with IE and FF (that's all I needed).
1
1307
posted 17 years ago by kouphax
Function argument timeinterval is in seconds. For example, SimpleTimer( 5 ) would cause the program to wait for 5 seconds to elapse.
0
1452
posted 17 years ago by Raisor
Pre-selects an html form with a requested value... ie; editing a form from a database
0
1341
posted 17 years ago by davidsword
This will start at the specified URL and recursively download pages up to 3 links away from the original page, but only pages which are in the directory of the URL you specified (emacstips/) or one of its subdirectories.
wget will also rewrite the...
10
1915
posted 17 years ago by rwczippy
This routine can be used to copy the byte values of a float or double. The "isBigEndian" variable needs to be determined (most PCs are little-endian, whereas most embedded microprocessors are big-endian). Instead of using unsigned chars, it can be us...
0
1337
posted 17 years ago by pckujawa