Archive for February, 2006

How to sign a Java Applet

Monday, February 20th, 2006

This is a tutorial on how to sign a Java Applet to allow it to bypass the security of the JVM. Here
Summary:
* To create a certificate:
keytool -genkey -alias myKeyAlias -keypass myKeypassword -keystore mykeystoreFileName.bin -storepass publicKeykeystorePassword
* To sign the applet (it has to be a .jar file):
jarsigner -keystore mykeystoreFileName.bin MyApplet.jar myKeyAlias
* To verify if the applet […]

Bloody MySQL

Sunday, February 12th, 2006

Well, some of you might know that we were planning on storing files in the database. I have been back and forwards with MySQL developerd for a cpl of months now with respect to an error I was having retrieving binary data from the database. All non text (as in writing) bytes would be […]

TSG + Impresario Logos!

Saturday, February 11th, 2006

I made a logo from Nadia’s awesome little sketch. Let me know what you think and how I could make them even better!
Eric, notice the red. I think its an awesome color… much more punch then the blue I had going on before!

Trayconize me!

Friday, February 10th, 2006

Hey, for Thunrderbird users out there, here is a VERY good tool. I recently switched from Outlook to Thunderbird for my emails, and I find it enoying that TB can’t minimize to tray. Here is the solution.
Another good solution is this. You can actually minimize ANY program to the tray, making your taskbar much cleaner!!! […]

Refectoring++

Wednesday, February 8th, 2006

Here is a good example where refactoring code, makes things more readable, but also enhances the design.
This is what we were using before:
for (WhereClause wc : m_clauses) {
if (wc.m_objType == WhereClauseType.Bool) {
statement.setBoolean(++count, ((Boolean) wc.m_obj).booleanValue());
} else if (wc.m_objType == WhereClauseType.Int) […]