All Posts

A thumbnail image

Ansible tips & tricks

or things you should know before you start writing playbooks. Substrings Ansible does not have functions for dealing with substrings but because the foundation is python, you can actually use the python contructs [ : ], like for example: - set_fact: mystring="abcdefg" - debug: msg={{ mystring[1:3] }} Output: abc if() statements Jinja2 has a {% if %} {% endif %} construction that is upported in most programming languages and you probably know this.

A thumbnail image

Dots and plusses for your gmail

Most people forgot this piece of original gmail documentation from Google about the formand shape of your gmail address. It basically confirms 2 things: that the . (dot) is not relevant in your emailaddress and foo.bar@ foobar@ or even f.o.o.bar@ are all the same. adding a + with text is also fine and can be used to track where your emailaddress ends up after you filled it in on a registration page on a website.

A thumbnail image

Why I like pushd for cross platform push notifications

On a recent mobile (android and iOS) project I implemented push notifications with pushd. On the pushd project page, pushd is introduced as follows: Pushd is a pluggable unified push server for server-side notification to mobile native apps, web apps etc. With pushd you can send push notifications to any supported mobile platform, web app or HTTP server from a single entry point. Pushd takes care of which device is subscribed to which event and is designed to support an unlimited amount of subscribable events.

A thumbnail image

Domoticz on a raspberry zero w with rasbian stretch lite

After I got my slimme meter installed, I wanted to get more details on my electricity usage. So I bought myself a cable, and a raspberry and this is the result: ##Shopping list: Slimme meter kabel Raspberry Pi Zero W Basis Pakket from sos solutions, including the essential micro USB OTG cable Small plastic box reused from DIY store Gamma ##Installing Domoticz After burning raspbian to an SD and adding a ssh and complete wpa_suplicant.

A thumbnail image

International (norwegian) keys on a Chromebook

I live in the Netherlands and could only get a Chromebook from the UK with the UK keyboard layout. Which is fine for normal situations as it has the qwerty layout and only the £, @, # and " symbols are shown in different keys. But I do have to type some norwegian sometimes. Even on models sold in Norway it is not obvious how to type those characters on a Chromebook even though the keyboard of a Chromebook shows the symbols (local staff in 2 stores did not know.

A thumbnail image

Jealous of Dash on Mac ? Try Zeal !

Have you seen your Mac colleagues easily browse all sorts of documentation for your projects popular tools offline, fast and across manuals ? They were probably using Dash and did that make you jealous because you have a Linux or Windows machine ? Don’t worry, an open source alternative for Linux and Windows exists and it is called Zeal. Easy to install and it uses the exact same Doclets as Dash, so you are on par with the your Mac colleagues.