Linux

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…

Read More Recursively Delete Files Based on Time Old Using Python

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…

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

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…

Read More KDEConnect – Synchronize your SmartPhone with KDE

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…

Read More Installing Package From LaunchPad PPA in Debian

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

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

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…

Read More How to Fix Failed GRUB Installation – Install Manually

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…

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