Archive for the ‘Hacking’ Category
Random selection
Having to complete an online multiple-choice personality test in a hurry, I quickly threw together a piece of javascript, that selects random radio buttons on any page.
If you are in a similar hurry, feel free to bookmark it – and use it on a page with plenty of radio buttons.
Enjoy.
And now I look forward to hearing about the personality profile of the javascript random().
Huawei E220 on FreeBSD
I had a Huawei E220 USB HSDPA modem laying around for when I’m on the move. Having heard about it working on Linux (from here and there), I was wondering if I could use it under FreeBSD 7.
The short answer is: not without effort.
It appears that the modem is two-in-one devices. A flash memory stick (umass) and a modem (ubsa). Unfortunately once the umass device has been detected, FreeBSD does not look for the serial device. Thus leaving me with a 10MB memory stick.
The solution is apparently to create a custom kernel where umass is disabled, and then load ubsa before umass in the kernel loader.
It find it a bit much to create a custom kernel just for this single purpose, so I’m almost back to square one.