James John – Software Engineer



Recursively Delete Files Based on Time Old Using Python

As a system admin, was stuck one day looking for a way to delete old files and it brought me to this code. This short code will delete files recursively if directory provided as the argument, if it’s a file, it just deletes the file if it matches the given time frame So with the […]

Let’s Encrypt: How to Generate Free Signed SSL Certificate For Your Domain

Let’s Encrypt is a certificate authority that entered public beta on December 3, 2015 that provides free X.509 certificates for Transport Layer Security encryption (TLS) via an automated process designed to eliminate the current complex process of manual creation, validation, signing, installation and renewal of certificates for secure websites. Let’s Encrypt made it easy for […]

KDEConnect – Synchronize your SmartPhone with KDE

One thing I’ve loved so much in KDE is the KDEConnect. A dope feature for me a lazy man 🙂 What is KDEConnect? KDE Connect is a project that aims to communicate all your devices. For example, with KDE Connect you can receive your phone notifications on your computer, or just use your phone as […]

Installing Package From LaunchPad PPA in Debian

LaunchPad PPA allows you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. Ubuntu accepts adding of Launchpad PPAs easily and install any package you want. But here in Debian, it’s not so. I figure out a way to download package from PPAs in Debian and receive updates […]

Fix GNOME Smooth Font Issue in FireFox/IceWeasel

Again after moving in with GNOME and set my system fonts which went cool, my Firefox still looked messy 🙁 But the below tweak is gonna fix it 🙂 Create this or edit ~/.fonts.conf and add this to it Create ~/.Xresources and add Now run Restart Firefox 🙂

Tunneling SSH Connection Behind a Proxy

Been running a system behind a proxy server and some of these CLI packages neither use the GNOME system proxy or environment variables of proxy. SSH is one of them and I use it mostly, so how do I use it behind a proxy? CorkScrew Corkscrew is a simple tool to tunnel TCP connections through […]

My Best 3 Smooth GNOME Desktop Fonts

Gnome is a nice desktop I’ve been with lately and easily configured, fonts are cool but its been me looking for a better font for my system. In the quest of getting better font, I got 3 of them which I love most and deciding to share. It may be useful to you too, below […]

Parsing and Fetching DNS Resolvers in /etc/resolv.conf Using Python

In an app development I needed to use my system resolvers which is different from my ISP default resolver, and Python keeps taking my ISP resolver. I decided to put up this simple function to get resolvers for me in /etc/resolv.conf, here is it: https://github.com/donjajo/py-world/blob/master/resolvconfReader.py I hope this helps

How to Fix Failed GRUB Installation – Install Manually

Installation of a new system I faced an error on Grub installation, all I had to do was to skip the grub installation while having the main root system installed in the drive. An example of an error like this: Skip the grub installation and finish other installation parts, now we are going to boot […]

How to Make Changes in /etc/resolv.conf Permanent

I’m not good at using my ISP’s DNS Servers because last time I did, it wasn’t always up. I browse on a mobile network, so decided to be using another DNS servers which are always up all time… I use either Google DNS or OpenDNS and changing DNS servers in Linux is editing the /etc/resolv.conf […]