-->

Archive for the ‘Coding’ Category

Sign an applet jar with an existing ssl certificate

Monday, November 15th, 2010

Since this was a bit of a pain for me, I figured I’d post a quick how-to. I couldn’t find any one page with info, so this pseudocody howto is gathered from a few places.

The only easy way seems to be using a java tool called not-yet-commons-ssl which will do this for you. So download their latest jar and use it (update as necessary for your version of not-yet-commons):

java -cp not-yet-commons-ssl-0.3.11.jar org.apache.commons.ssl.KeyStoreBuilder your-new-keystore-password-here yourdomain.tld.key yourdomain.tld.crt

This will leave you with a yourdomain.tld.jks file, which you can then go ahead and sign your applet with:

jarsigner -keystore yourdomain.tld.jks -keypass your-new-keystore-password-here applet.to.sign.jar yourdomain.tld

PrintRoom Albums

Thursday, April 10th, 2008

I today had the unfortunate experience of having to deal with PrintRoom, which is pathetic. Not only do all pictures (in my case, anyway) get stamped with a low-rent watermark, but they’re shown through a flash-based interface, and scaled to 1.2x original size by a low-quality algorithm!

Needless to say, I took personal exception. So I wrote a script to download all the photos out of a PrintRoom album. It required a perl interpreter, the LWP::Simple module, and wget installed on your system. If you don’t know what this means, the script is not for you. If you have a compatible system and are stuck with printroom, then download the script.

More battle apps added

Friday, February 8th, 2008

While updating my scripts to deal with the latest little captcha deal, I noticed that two more apps have been added to the battle (read: spam?) apps family. So, in addition to the cheats for Vampires vs Werewolves, Skiers vs Snowboarders, Pirates vs Ninjas and Santa vs Grinch, I’m now introducing the cheats for Cops vs Robbers and Democrats vs Republicans.

Whew! When it takes a whole paragraph to list essentially identical applications, maybe it’s time to stop making more of them. In any case, the scripts can be downloaded from the FaceBook battle apps page as usual. Have a great trip upwards through the ranks!

More on facebook battle apps

Friday, February 8th, 2008

As users of my scripts have undoubtedly noticed, the battle apps have added annoying little captchas to their page during a battle, to prevent any automated playing. So of course, I’ve updated my scripts to deal with them. Go to the battle apps page, and grab the latest scripts. Enjoy your climb through the ranks :)

Broken battle apps scripts fixed

Tuesday, December 11th, 2007

As several users have reported, the developers of the battle apps have adjusted their pages to intentionally break my scripts. I have updated my scripts to deal with this, and have clarified the error message shown on changed web pages. You can grab the newest goodies from my battle app page. Updating scripts will replace your settings with the defaults, so you’ll need to change them back again. Happy battling!