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
660
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
1215
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
1217
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
1172
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
1144
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
1202
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
1742
posted 16 years ago by mardix
PHP
Hypo CSV crawler - online banking statements downloader from Hypovereinsbank Munich, Germany using PHP & CURL CLI
updated 2013-04-18!
just replace the XXX fields with your own numbers. Then run this PHP Script from the command line (CLI mode). It will fetch the online statements from Hypovereinsbank direct banking.
The code works by tweaking CURL settings...
0
2217
posted 16 years ago by uioreanu
A little bit of browser detection and some functions to get the viewport height and width, crossbrowser.
1
2456
posted 16 years ago by ShiftyP
include document ready and standard code to run swfobject smoothly in IE6
1
1374
posted 16 years ago by apro2000