Programming
I have several years worth of a background in Information Technology work, although most of my software development and tech-savvy endeavors are strictly a hobby. Just about anything I do with technology is for my own enjoyment or for my work in Finance.
Languages
- Javascript
- Python
- PHP
- C#
Markup
- XHTML
- CSS
Tools
-
ByteMe | Screenshot
ByteMe is a simple tool for quickly converting data across ASCII/Hexadecimal/Decimal/Octal/Binary representations. ByteMe requires that you have the Microsoft .NET Framework installed. -
Martin's Byte Documenter | Screenshot
My Byte Documenter is a convenient tool for documenting values or patterns in byte data. It is a great assistant when you're reversing data packets or file formats. You must have the .NET Framework installed. -
Steam ID Converter
My Steam ID Converter can be used to quickly convert back and forth between Steam IDs and Community IDs, and viewing a Community Profile is a simple click of a button. Enjoy.
Docs
-
Understanding Data (PDF)
An overview of three different number systems (and their conversions) of varying bases that comprise the world of computer data. -
Steam ID to Community ID Conversion (PDF)
A thorough breakdown of the correlation between VALVe's Steam IDs & Community IDs with formulae to be used for converting them back and forth.
* Testing my Generic Syntax Highlighter *
#!/usr/bin/env python
import uuid ## UUID (Universally Unique Identifier).
# Get the node.
node = uuid.getnode()
# Convert the node to hex.
hexnode = hex(uuid.getnode())
print 'Node:', node
print 'Hex:', hexnode
# Print the hex MAC Address in a more friendly/readable format.
print ('00 : ' + hexnode[2:4] +
' : ' + hexnode[4:6] +
' : ' + hexnode[6:8] +
' : ' + hexnode[8:10] +
' : ' + hexnode[10:12])
import uuid ## UUID (Universally Unique Identifier).
# Get the node.
node = uuid.getnode()
# Convert the node to hex.
hexnode = hex(uuid.getnode())
print 'Node:', node
print 'Hex:', hexnode
# Print the hex MAC Address in a more friendly/readable format.
print ('00 : ' + hexnode[2:4] +
' : ' + hexnode[4:6] +
' : ' + hexnode[6:8] +
' : ' + hexnode[8:10] +
' : ' + hexnode[10:12])
public static string Capitalize(string value)
{
if (value != null)
{
if (value.Length == 0)
{
return value;
}
else
{
StringBuilder result = new StringBuilder(value);
result[0] = char.ToUpper(result[0]);
for (int i = 1; i < value.Length; i++)
{
result[i] = char.ToLower(result[i]);
}
return result.ToString();
}
}
else
{
throw new ArgumentNullException("String received was null.");
}
}
{
if (value != null)
{
if (value.Length == 0)
{
return value;
}
else
{
StringBuilder result = new StringBuilder(value);
result[0] = char.ToUpper(result[0]);
for (int i = 1; i < value.Length; i++)
{
result[i] = char.ToLower(result[i]);
}
return result.ToString();
}
}
else
{
throw new ArgumentNullException("String received was null.");
}
}
