Secure Hash
7
Have you ever tried to use Color.Blue.ToString and gotten undesired results?
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
7
I use this function when passing an array to a function being called from setTimeout();
7
mattrmiller
Formats milliseconds into a duration string.
7
Remove newslines from a string.
6
An all in one function that formats a given file's Size from bytes to gB.
6
I use something similar to this in an application named Shock 3. It provides you with your own Custom settings that can handle your own Custom types as well.
5
Two very usefull functions to have around.
(note: dollarfy requires commify to work)
(note: dollarfy requires commify to work)
5
This class intended to collect TODO comments from java/c++/etc source files.
Example:
protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}
See also DirectoryScanner class.
Example:
protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}
See also DirectoryScanner class.
5
Returns a percentage. There are 3 arguments.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
5
Random String Generato









