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.