Gadgets & hobbies

Electronic gadgets, hobbies, developing

Changes, changes…

After years, significants changes on the site:

  • New domain! Finally, I managed to get my personal domain聽http://jhartman.pl聽hence I’m not tied to
  • It turned out that it’s easier to migrate my old Drupal 6 to WordPress聽rather than to Drupal 8. Therefore I’m now on the new engine and so far I’m pretty happy
  • Attempted to AdSense, however Google is pretty picky and I’m not really sure if I will get approval

Withings to Garmin Connect

Since a while I’m owning great Withings Scale which has a capability to store measurements in a cloud. Because I’m using Garmin GPSes (and Garmin Connect), I’d love to synchronize the measurements to the Garmin Connect site.

Lucky, I found a great script garmin-withings.

Unfortunately, after latest changes in the Garmin Connect (implementation of SSO on march 2014) the script stopped to work. I’ve compiled changes proposed by and it seems that the script with my updates works again (well, at least until further changes in Garmin Connect…)

You can find the script on


Garmin Connect can display a lot of other parameters, not only weight and body fat level:


It would be great to calculate all these figures and post them to Garmin Connect, right? 馃檪

Half-Life 1 on Wine

Almost 20 years after game release I wanted to play it to check if it provokes same feelings.

As I’m on MacOS now, the obvious choice was to use Wine to run the game.

After setting Wine environment and installing the game, it turned out that although the game starts up, it’s completely un-usable as we can see just 1/3 of the screen, without any option to change the resolution:

$ wine hl.exe -startwindowed



Kindle Library List

Extracts documents list from Amazon Kindle webpage and save into a聽txt,聽xml聽and聽html聽file. Project stored in GitHub.

How to use:

  1. Download聽(or build)聽KindleLibrary.jar
  2. Navigate to聽Manage your content and devices聽Amazon page (tested using Chrome but I trust it should work with any other web browser)
  3. Switch Show to Docs聽Image 1
  4. Scroll down to reach end of your list (or to see聽Show more聽button)聽Image 2
  5. Save the html (File聽->聽Save Page As…, using聽Complete Webpage). Override the default filename with an easy name, e.g.聽1.
  6. If more docs pending, press聽Show More聽button on the bottom of the page and iterate to聽Step 4
  7. When all pages iterated, open a command line and invoke the conversion:


Projekty jTimeTable i Program TV – zawieszone

Z 偶alem zawiadamiam, 偶e oba projekty zostaj膮 zako艅czone.

G艂贸wnym powodem jest brak czasu i ch臋ci na rozw贸j. Do tego do艂o偶y艂 si臋 ZTM Warszawa, kt贸ry zmieni艂 spos贸b umieszczania rozk艂adu jazdy i starre skrypty wymaga艂yby przerobienia.

Pozdrawiam wszystkich u偶ytkownik贸w. Je艣li znalaz艂by si臋 ch臋tny do przejecia projet贸w – prosze o kontakt.

Kindle review

Originally – that was my review wrote on It’s stil unpublished – maybe because of “sensitive” content. However, I wanted to share it with you.

Almost perfect. But only ‘almost’. Why? I have no concerns about reading converted ebooks (in Amazon’s format or Mobi or ‘Calibred’ EPUBs->Mobi). It really great! But it’s only for ‘hardcode’ readers who reads only text. But ‘cmon, Amazon! DO SOMETHING WITH PATHETIC PDF VIEWER! It’s absolutely useless! We all know it can be done better. How we do know that? It’s easy- chinese alternative firmware (called Duokan) has almost perfect PDF viewer. It has all the features missed from the original one firmware:

  • free-hand zoom factor. You can set 110% or 102%. You don’t have to stick to 100% or 150% or 200% as it is in original kindle
  • smarter movement after zooming. On kindle scroll of zoomed display is always inappropriate.
  • faster!

Of course – ‘modification’ of original firmware most likely it’s breaking of Amazon’s licence but… who cares?!聽If I can turn my device from “almost-useless-for-PDFs” to “really-nice-reading-of-PDFs-although-6”-display-and-now-I’m-truly-in-love-with-it” I don’t hesitate.

I really like documents delivery over the air. I must admit – I use it 100% over wifi but most the time I’m too lazy to get a cable, connect it to my laptop, drag the doc from laptop to Kindle. It’s muuuch easier just to send it over email. And if you have Mac OS X you can easily prepare simple automator script and make this simple sending even simpler (just one click).

After years spent on reading ebooks on PDAs and iPhone now I’m asking myself: “why so late?!”. Reading experience is amazing. And there is no video or review which can express it. You have like-real-book experience without weight and smell of real book.

Rest is same (or better). I do buy ebooks. But 90% books I read for pleasure is in Polish. Kindle deals with Polish language very well. Much better than Amazon does – library of Polish books almost do not exists in Amazon. That’s why I buy books in Polish ebook stores and – of course! – they are DRMed in a way non-compatible with Kindle. But at this moment it’s not a problem to DeDRM it and read on any viewer.

I had hard time to decide Kindle or iPad? If I could spend 3-4x more money – most likely I’d buy iPad. But only for 189U$ I have ultimate reading device. With small flaws that could be easily overcome.

For sure – for now it’s my favorite electronic gadget.


Program TV


… and does not work on new iPhones 馃檨


This is a small software for iPhone designed to show Polish TV guide.

Application uses as a source, thus needs an internet connection.


Screenshot 2 Screenshot 3


Jailbreaked iPhone 2G/3G with firmware 2.0 or newer.


  • Cyida repository: