Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 1111 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 1208 posted 14 years ago by magicrebirth
0 1121 posted 14 years ago by simondiercks
2 1372 posted 14 years ago by simondiercks
0 781 posted 14 years ago by klw
glider levin method
1 826 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 1616 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 1062 posted 14 years ago by StevenW721
0 861 posted 14 years ago by dkevey
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0 975 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 657 posted 14 years ago by itsaboutcode
0 1143 posted 14 years ago by stephcode
This is an extension method for splitting strings with a regular expression.
0 1034 posted 14 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0 1015 posted 14 years ago by dmistriotis
isNumber string extension method for testing strings.
2 1580 posted 14 years ago by gyurisc
useful if you only want digits as input
0 793 posted 14 years ago by webstylr
Easy "back to top" scroll link
1 1117 posted 14 years ago by benwellby
0 772 posted 14 years ago by laurentzziu
0 837 posted 14 years ago by telltec
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1384 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1701 posted 14 years ago by poxet
1 ... 231 232 233 234 235 ... 554