Gadgets & hobbies

Electronic gadgets, hobbies, developing

Open Cisco Webex through Alfred workflow

A MacOS Alfred workflow to open a predefined Webex session.



It’s pretty basic, but helps me to speed up a very common activity (which I always tend to do on very last second when a my conference call is about to start)…

So when I urgently need to open Webex conference, instead of searching through my browser bookmarks, just press Option-Space and type webex:

Then press Enter to get the list of your web conferences, for example:

Hit cursor down or up to select bridge you want to open and just press enter.


After downloading the workflow, just doubleclick the file and it will get imported to your Alfred.


Ok, how you could add your most frequently used Webex URLs to the list? Navigate to Alfred workflows, find Webex workflow and select Open in Finder:

Then open configuration.txt in your text editor:

In the file, set your URLs in format <Name>|<URL>, for example Jarek|

Save and done!

Kindle Vocabulary Builder into Memrise


A script to pull Kindle Vocabulary Builder DB and convert into Memrise course.

The latest Kindle Paperwhite (second generation) offers the Vocabulary Builder feature. With Vocabulary Builder, you can look up words with the dictionary and memorize their definitions.

For my self-education I use (both on my phone and desktop PC). I thought it would be great to pull words which I’ve checkded when reading English books on my Kindle and push them into my Memrise course.

How does it work?

  1. The script reads through the vocab.db to look for all Engligh words (in table WORDS).
  2. Each of the words (aka stems) is used for a definition lookup in the Cambridge Dictionary
  3. Retreve word definitions, usage example, pronounciation, audio mp3 and insert into a new SQLite database memrise.db (the mp3 is written to the disk only, folder audio)
  4. Each new word is written to a text file, in a format suitable for bulk words import into Memrise.


  • Kindle Paperwhite (or newer)
  • vocab.db file (retrieved from your Kindle, from /Volumes/Kindle/system/vocabulary/)
  • python 3
  • BeautifulSoup


I heavily sourced from two GitHub projects:


  • Parametrize hardcoded things – especially language pair English-Polish
  • Upload Audio files with prononciation


DB conversion using the script

At minimum, the tool does not require any parameters, it will search for vocab.db in the current folder and will write output files into the same, current folder.

Pay your special attention to memrise.txt which has been generated:

This is the file, which will be used for bulk word add into your Course.

Bulk word add

Go to your Course, press Edit and in the Advanced options, look for Bulk add words:

Bulk Add words

Open memrise.txt in an editor (e.g. Notepad), select all, copy it and paste into Memrise Bulk Add form then press Add:

Bulk Add words

That’s it!


Download the script from GitHub:

Installation of pygraphviz in MacOS 10.12 (Sierra)

First attempt to the installation failed because of missing graphviz:


Ok, so next obvious step was to install missing library using brew:


Everything looked find, however pip’ing still shown same problem with not installed library. I think the reason was in the warning show above:


Ok, so where we have eventually the lib?


So we’re almost there. Let’s convince pip to use include and lib folder mentioned above (by enforcing it by --install-option):


We’re done!

Fix for “Withings to Garmin Connect” authorisation problems

It has been reported that the script does not work anymore:

I’ve managed to fix it. See latest commit in

Belkin KVM: Falied to validate certificate

After one of JVM updates, my Belkin KVM (Remote IP Manager) has started refusing to start with “Falied to validate certificate” error followed by “PKIX path validation failed”:

I’ve found following exceptions in Java console:




Google says that this is pretty common problem and returned plenty of receipts how to fix it.

Scanning the system for potential locations of the file, there are four candidates. However, there is a catch: we should fix Java not in the system-wide location but the Java plugin for the web browser you’re using (Safari on MacOS in my case).


So we can skip the last three locations and just focus on the 1st one. Change the lines as described


Save and restart the browser (Safari). This time the KVM applet can start (after plenty of security warnings though).


The application has to be also white-listed, otherwise it will generate error as below:

Open System Preferences, Java settings and add IP address of your KVM to the list:

Add following:

Again: save and restart your browser.

Update 2

Another security exception is required (after one of Java 8 updates):


Edit this config file:

Add this line within the grant { }; section:

How to check if all Calibre books are already in the Amazon cloud?


My primary software for managing Kindle books is Calibre. I’m using Amazon cloud for books synchronisation and sometimes I’d like to ensure that all my books stored in Calibre have been already sent to the cloud. Mainly, to avoid re-sending books and avoid duplicates.

Getting a list of Amazon books

Refer to Kindle Library List article.

After executing this step you should have one or more text listing your books:

Getting a list of Calibre books

Now open your Calibre, press a small triangle icon next to the Convert Books icon. Follow the instructions below:

After pressing OK you should get your Calibre books:

Compare the lists

In the very last step, use tide up the output files.

And finally – use a side-to-side text compare tool (JEdit, WinMerge, any other) and view the differences between Amazon.txt and Calibre.txt:

Review the differences and take proper actions:

  • Send the file to the cloud
  • Remove duplicates in the cloud (yes, this will be also visible in the output)

I hope it will help.


Alfred 3 workflow – Time Zone

Do you like Alfred? I like too… I’ve recently found bunch of very nice Workflows. For me, the most used one is for sure Time Zone.

The workflow has been created by Mr Carlos from New Zealand and published on the Alfred Forum. I’ve enhanced the workflow by adding a few new functionalities:




  • Migration to Alfred 3
  • Converting any time to all pre-defined time zones
  • Enabling 24-hrs time format
  • Displaying phone country code

After all it looks like below:

Conversion of a time in your local time to your pre-defined time-zones – “tz <time>” in formats HH, HHMM or HH:MM:

CarlosNZ, thanks for this great tool!

Workflow can be downloaded from here: Alfred-TimeZones