Tuesday 14 July 2009

Windows Mobile Emulators

I was looking for a touchscreen mobile emulator to test using Lazarus to compile for my mobile. Microsoft's Windows Mobile 6.1.4 Professional Images (USA).msi seems to fit the bill. Note that for some reason "Professional" means "Touchscreen" and "Standard" means "Keypad".

This post, Installing and running Windows Mobile emulators, was useful for setting up networking.

And, of course, the Windows CE Interface page on the Lazarus wiki was useful.

Sunday 5 July 2009

Pavement Marking Trial

I saw this odd road marking on the way to work. Guess what it means (explanation after the break):



Accessing your Drupal website after banning your own IP

Warning: This solution was derived by guessing, not by reading manuals. But it worked for me. It also assumes some familiarity with SQL.

in short: Connect to your drupal DB and edit the `access` table.

The command I used was:

mysql> insert into access values (0, "172.16.17.18", "host", 1);
Query OK, 1 row affected (0.00 sec)

where "172.16.17.18" was the IP in the "Sorry, 172.16.17.18 has been banned" message.

Tags in Drupal blog

I just figured out how to enable tags in this Drupal blog - it's not a blog setting, it's controlled by the taxonomy module - Home � Administer � Content management > Taxonomy.

Created a taxonomy, called "tags" with the tag flag set which I've applied to everything (including blog posts). Now I get a "Tags" field when creating blog posts. Oh, and note that tags need to be comma separated - space separation looks like it's working but actually just generates a single tag for all the words.