Fabric a Great Tool to Automate Mundane Tasks

Jun 23, 2018 - 3 minutes
This is a late post, few months back I had to update a certain firmware for a logger device on to hundreds of the devices. For some reason at that time the OTA update mechanism which was already implemented on those devices did not work. As it was crucial to update all the devices as soon as possible, some work around for this problem had to be found. Read more ...

RaspberryPi GPIO Python

Jun 10, 2018 - 1 minutes
To access GPIO of Raspberry Pi using python, you need to have following dependencies installed. python-dev python-pip RPi.GPIO to install python-dev and python-pip: $ sudo apt-get install python-dev python-pip to install RPi.GPIO: $ pip install RPi.GPIO Once this is done you are all set to use the RPi GPIO. Read more ...

Setup Personal MediaServer Using RaspberryPi and MiniDLNA

Apr 29, 2018 - 3 minutes
Few weeks back my sister ordered a raspberry pi so that she could get started with linux and small DIY projects in electronics. As we didn’t have any modules/sensors/components needed for electronics projects; we decided that we will setup a media server using the RPi, we already have a 1TB external Hard Disk drive; which can be used for the storage. Read more ...

Compile FeatherPad text editor on Fedora

Apr 7, 2018 - 2 minutes
FetherPad FeatherPad is a lightweight Qt5 plain-text editor for Linux. It is independent of any desktop environment and has: Drag-and-drop support, including tab detachment and attachment; X11 virtual desktop awareness (using tabs on current desktop but opening a new window on another); An optionally permanent search-bar with a different search entry for each tab; Instant highlighting of found matches when searching; A docked window for text replacement; Support for showing line numbers and jumping to a specific line; Automatic detection of text encoding as far as possible and optional saving with encoding; Syntax highlighting for common programming languages; Session management; Side-pane mode; Auto-saving; Printing; Text zooming; Appropriate but non-interrupting prompts; and Other features that can be found in its settings, on its menus or when it is actually used. Read more ...

Keep your bash history clean using python

Nov 21, 2017 - 2 minutes
If you are someone who spend a lot of time in terminal, you might want not to have certain commands that you’ve used, in your bash history. The commands like ‘ls’ which prints the contents of the directory to the standard output, or the terminal based games like “Moon Buggy” or “2048-cli” etc, the things which are not important enough and don’t have too complex commands to be stored in the bash history. Read more ...