Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The resulting tree is represented through a dict where each father gets a key (with all the children as args)
0
987
posted 14 years ago by magicrebirth
Modifies the file name in case an existing filename is in the specified path.
(Ex: myfile.dat
myfile(1).dat
myfile(2).dat
myfile(3).dat)
0
1300
posted 14 years ago by Sazabi02
Short and sweet, add the following two lines where you want to trigger a javascript function. Just change the javascript denoted in the code by "javascriptFunction()" with whatever you want to call. Also jsut in case make sure you have the allowScrip...
1
841
posted 14 years ago by StevenW721
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0
729
posted 14 years ago by derebus
Write function "get_min_range" which returns the subscript of the smallest value in a portion of an array containing type int values. It has three arguments: an array, the first subscript in the subarray, and the last subscript in the subarray.
0
486
posted 14 years ago by itsaboutcode
This is an extension method for splitting strings with a regular expression.
0
794
posted 14 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0
750
posted 14 years ago by dmistriotis
Uses LDAP to find EMail address by using the sAMAccountName.
Add System.DirectoryServices to references.
0
1099
posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address.
Add System.DirectoryServices to references.
0
1383
posted 14 years ago by poxet