James John – Software Engineer

How to Set Up SSH Keys Between Servers

SSH Keys SSH keys serve as a means of identifying yourself to an SSH server using public-key cryptography and challenge-response authentication. One immediate advantage this method has over traditional password authentication is that you can be authenticated by the server without ever having to send your password over the network. Anyone eavesdropping on your connection […]

One-Click Root for ASUS Zenfone 2 ZE551ML in Linux and Windows

After a final decision on rooting my phone, I did it and it wasn’t that hard ;). Zenfone 2 ZE551ML is one of ASUS’ latest phone with high specifications of 4GB RAM and 2.3GHz QuadCore Intel Atom processor and it comes in kinda low price which is actually good. Zenfone 2 comes with Android 5.0 […]

How to Enable Intel DRI3 in Xorg

The Direct Rendering Infrastructure (DRI) is a framework for allowing direct access to graphics hardware under the X Window System in a safe, efficient way. The main use of DRI is to provide hardware acceleration for the Mesa implementation of OpenGL. [Wikipedia] You may be experiencing some graphical glitch effects on your DE, this might […]

Fix Grub efibootmgr: Could not set variable *: No space left on device

On installation of Debian 8 on a PC, grub wasn’t installed. Trying this method to install it, I got the error: efibootmgr: Could not set variable Boot0004: No space left on device I thought, is my /boot partition filled up? or my / is filled up so early. Had to even extend my /boot partition […]

Python-SiDB: A Less Query SQLite Database Library

SiDB – A Simple Database Library for sqlite3, after writing similar thing for PHP MySQL, since I use Python too I decided to build for it too for my easier coding. After building and seeing how helpful it is, I decided to share. What Does SiDB do? In all, its for less SQL Queries, it […]

Fix “bash: warning: setlocale: LC_ALL: cannot change locale” in Debian

What is Locale? Locales defines language and country specific setting for your programs and shell session. You can use locales to see date, time, number, currency and other values formatted as per your country or language on a Linux or Unix-like system. To set system’s locale you need use shell variable. For example, LANG variable […]

PHP SiDB – A Simple Database Framework

With the purpose of faster work, I wrote this framework last year and I recognized it would be useful for others. What does it do? SiDB makes it faster to Insert data to Database Retrieve data from Database Delete data from Database Run other queries All happens in just a line and no worries of […]

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 […]