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 https://github.com/cpfair/tapiriik 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 https://github.com/jaroslawhartman/withings-garmin-v2

ToDo

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

Measurements

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

How to disable and remove usbecm2 device from Solaris 11 server

After fresh installation of T4-1 server, I’ve noticed a network interface which I didn’t expect – the聽usbecm2:

root@slc:/# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
聽 聽 聽 聽 inet 127.0.0.1 netmask ff000000
net0: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 7
聽 聽 聽 聽 inet 139.156.7.116 netmask ffffff00 broadcast 139.156.7.255
聽 聽 聽 聽 ether 0:10:e0:9a:2e:6
usbecm2: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 14
聽 聽 聽 聽 inet 169.254.182.77 netmask ffffff00 broadcast 169.254.182.255
聽 聽 聽 聽 ether 2:21:28:57:47:17
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
聽 聽 聽 聽 inet6 ::1/128
net0: flags=120002000840<RUNNING,MULTICAST,IPv6,PHYSRUNNING> mtu 1500 index 7
聽 聽 聽 聽 inet6 ::/0
聽 聽 聽 聽 ether 0:10:e0:9a:2e:6
usbecm2: flags=120002000840<RUNNING,MULTICAST,IPv6,PHYSRUNNING> mtu 1500 index 14
聽 聽 聽 聽 inet6 ::/0
聽 聽 聽 聽 ether 2:21:28:57:47:17

(more…)

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

HL1

(more…)

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:

(more…)

Wireshark 1.6.1 does not start on Solaris 10

Fresh installation of Solaris 10 and wireshark (from sunfreeware.com) just cannot start:

root@am1slc01 # wireshark聽
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

Quick and dirty solution:

root@am1slc01 # cp -p /usr/local/etc/fonts/fonts.conf /usr/local/etc/fonts/fonts.conf.bak
root@am1slc01 # cp -p /etc/fonts/fonts.conf /usr/local/etc/fonts/fonts.conf
root@am1slc01 # wireshark聽

Works but do you have any other ideas?

Cheers

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 Amazon.com. 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.

Jarek