Welcome To Snipplr


Everyone's Recent Snippets



1 ... 231 232 233 234 235 ... 554
it parses given string and returns 1st number it encounters ( it will replace comas with dots so floats formatted as 12,345 could be 12.345 ( some countries use that ) ) then u can parse returned value as a number / float / int - do what You need...
0 1062 posted 14 years ago by stryju
The resulting tree is represented through a dict where each father gets a key (with all the children as args)
0 1157 posted 14 years ago by magicrebirth
0 1051 posted 14 years ago by simondiercks
2 1288 posted 14 years ago by simondiercks
0 727 posted 14 years ago by klw
glider levin method
1 776 posted 14 years ago by interfacecreation
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 1537 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 1006 posted 14 years ago by StevenW721
0 796 posted 14 years ago by dkevey
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0 932 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 605 posted 14 years ago by itsaboutcode
0 1055 posted 14 years ago by stephcode
This is an extension method for splitting strings with a regular expression.
0 981 posted 14 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0 960 posted 14 years ago by dmistriotis
isNumber string extension method for testing strings.
2 1522 posted 14 years ago by gyurisc
useful if you only want digits as input
0 744 posted 14 years ago by webstylr
Easy "back to top" scroll link
1 1051 posted 14 years ago by benwellby
0 735 posted 14 years ago by laurentzziu
0 771 posted 14 years ago by telltec
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1323 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1626 posted 14 years ago by poxet
1 ... 231 232 233 234 235 ... 554