Category Archives: Tips/Code Snippets

Using Telegram for Automation Using Python Telethon Module

Telegram is a cloud based messaging application which provides an excellent set of APIs to allow developers to automate on top of the platform. It is increasingly being used to automate various notifications and messages. It has become a platform … Continue reading

Posted in Automation, Programming, Tips/Code Snippets | Tagged , , , | Leave a comment

Upgrading Raspbian 8 (Jessie) to Raspbian 9 (Stretch)

I decided to upgrade my oldest Raspberry Pi to the latest Raspbian. Since I was two releases behind, I decided to do it step-by-step. Today I updated from 8 – 9. I plan. to perform similar steps to upgrade 9 … Continue reading

Posted in FLOSS, RaspberryPi, Tips/Code Snippets | Tagged , | Leave a comment

Raspberry Pi – rsyslog fixes on Raspbian 8 (Jessie)

One of my Raspberry Pi (Raspberry Pi Model B Rev 2) is running quite old versio of Rasbian – although fully updated and patched. Today while checking the syslog on my raspberry pi, I noticed the following error which was … Continue reading

Posted in FLOSS, RaspberryPi, Tips/Code Snippets | Tagged , | Leave a comment

Ansible Quirks – 4

I was installing ansible on OpenSuSE Leap 42.3 machine and faced a problem with multiple python versions. I have both python 2.7 and python 3.4 installed on this machine. Python 2.7 is the default one. I tried installed ansible with … Continue reading

Posted in Tips/Code Snippets | Tagged , | 1 Comment

Ansible Quirks – 3

I was running some playbook today and realise that the command line arguments of ansible-playbook do not behaves expected. My playbook has the following defined – remote_user: root When I issued the following command, my expectation was that the remote … Continue reading

Posted in FLOSS, Tips/Code Snippets | Tagged , , | Leave a comment