Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Appends a css class to all form input elements on a page by extracting the input type from the element in question.
0
499
posted 16 years ago by stylephreak
A dictionary-like class that can be used to assign unique integer IDs to names. This class is part of the [igraph library](http://igraph.sourceforge.net), but I need it occasionally in other projects so I post it here.
1
936
posted 16 years ago by ntamas
An example of utilizing a category in Groovy in order to create withIndexfunctionality on lists each methods (traversing the list and having the index on each step), @ http://markmail.org/message/pa2irg4mvydpxi7c
0
958
posted 16 years ago by narkisr
About the dd command:
dd if=<source> of=<target> bs=<byte>("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=<conversion>.
Source is the data being...
0
888
posted 16 years ago by webonomic
If you want to have a JavaScript confirmation alert to popup before executing the codebehind (e.g. asking the user if they really want to delete a record):
1
884
posted 16 years ago by blackf0rk
If you need to get the DataKey value in RowDataBound (e.g. Assigning the DataKey to the CommandArgument of a button):
0
941
posted 16 years ago by blackf0rk
To convert links on a twitter status to a clickable url. Also convert @ to follow link, and # to search
3
1345
posted 16 years ago by mardix