Welcome to PalmHeads HTML & the Palm Portal Page Cool Freeware (Mostly...)
Linux & the Palm My Meagre Hacks Tandy 102 "The Model T" Palm/Linux News

My Meagre Hacks

Over the last couple of years while using Linux, I've slowly become better at what could loosely be described as "hacking".

Now DON'T PANIC! - don't get me wrong - I'm not some Linux guru who can cut perl code with my toes blindfolded...just somebody who sometimes at a very low level likes taking someone else's code & modifying it for my own needs. Sometimes I might even improve on the original! *cough*.

I mainly focus on stuff that is Palm related, mainly trying to integrate some of the command line tools available for Linux->Palm connectivity with some well known Linux applications.

Here are my (meagre) hacks:

  1. Sticky Notes Gnome Applet -> Palm - Perl/Tk Script
  2. Modded X-Box, Xebian Linux, SMC Router & Ext 56K4 Serial Modem
  3. -> Christchurch Address/Map Search Perl Script <-
  4. Dilbert Perl Script
  5. Pilot-Link read-expenses -> CSV Perl Script
  6. Palm Tungsten W & T2, Palm Bluetooth card, Holux Bluetooth GPS & Handmap
  7. Casio Exilim EX-M20U 2MP Digital Camera and MP3 player with Linux
  8. Tribute to "Thrust" & "HHGTTG". The best computer games ever written!
  9. USB ProDrive with SD/MMC card with Linux
  10. pilot-doc.el - An Emacs LISP extension
  11. Nautilus Scripts
  12. DiddleBug Sketches
  13. Iverson-Gleeson Bent Middle Finger Grip (& other thoughts...)
  14. Happy Hacking Keyboard
  15. Christchurch Bus Timetables for the Palm
  16. Connecting Palm to Linux box with USB bluetooth dongle
  17. Connecting Sony Ericsson T610 via bluetooth to Linux box
  18. The ZX81 & Linux
  19. Gameboy & Doom for the Palm!
  20. Learning Harmonica using your Palm?
  21. gtd - desktop companion to mobileGTD
  22. All of them

HHGTTG & Douglas Adams at his best! Very sage advice!

Christchurch Address/Map Search Perl Script

With my Palm Tungsten W, I reckoned it would be really useful to be able to search for address & maps wirelessly. I get lost easy! Or at least other people are always telling me to get lost....hmmmmm....anyway, New Zealand Telecom Whitepages & Yellowpages, as well as Wises Maps, even though they offer great online services, they aren't great for surfing wirelessly. Lots of graphical content etc etc.

Anyway I wrote these 2 Perl CGI scripts to parse content from the above mentioned sites to make them more Palm friendly! I only look at Christchurch addresses & maps 'cos thats whats most useful for me!

Just enter in a persons/businesses name (choose the right directory to search, you've only got a choice of two now!) in the text box below, and it'll find the appropriate Christchurch address. From there you can choose to goto the appropriate map!

Or if you already know the right address, just go straight to the map search below!

I use these searches extensively with my Palm Tungsten W and my Palm Tungsten T2 .

Christchurch Address Search
Person/Companies Name 
Search should be "Bloggs J" or "Bloggs" etc
Christchurch Map Search
Street Name 
Don't put "Street" or "Road" etc in search. Just name.

 

You'll need to goto CPAN & download & install the LWP::Simple, HTML::Parser, HTML::Element and URI::URL Perl modules.

Here are the 2 scripts that get placed in your cgi-bin folder on your server. Names should be self explanatory! Just make sure the files are renamed to ".pl" & you do the good old "chmod +x" as root to make them executable. Of course, as usual, the coding is simply dreadful.

I think they kinda work OK!

| Back |


Thats all folks at the moment! If I come up with anything else I'II post it here.

Hosted on Apache Powered by MySQL Running PHP & Perl Programmed using Vim & Bluefish Graphics by The GIMP Ubuntu Linux is my Linux distribution Best viewed in Firefox
Hosted by planetNZ.com