Make your old laptop usable again with Linux

Revive your old laptop back in service using Lubuntu a light-weight version of Ubuntu. I bought this Lenovo IdeaPad S10-3 in 2012 when I was working in Muscat, Oman. This netbook has a blazing Intel Atom processor 1.66GHz, a 2GB DDR3 RAM, and 10″ LCD screen. I was initially thinking of giving it away because when I installed Ubuntu or CentOS it is sluggish and keeps on lagging. Then I stumble upon Lubuntu when I was researching about smallest Linux distribution....

March 29, 2020 · John Pili
Completely Delete USB Flash Drive Partition in MacOS using diskutil

Completely Delete USB Flash Drive Partition in macOS using diskutil

You may want to completely erase the partition table of your USB flash drive including the boot record. In macOS you do easily do that using diskutil. During this COVID-19 lockdown in Malaysia, I wanted to use my weekend time in installing Linux on an old laptop. It turns out that old laptop only support MBR and not GPT boot record and FAT32 instead of EX-FAT. I have to then delete the partition table from GPT to MBR and load LUBUNTU Linux distribution into the flash drive using Unetbootin....

March 22, 2020 · John Pili

Load balancing and redundant Internet connection using TP-Link ER6020

Overview I started my homelab journey in 2017, set up a small server to host my files and to test my web applications. Today, I am giving my small network a bit of an upgrade by having a redundant Internet connection using a TP-Link ER6020. I appreciate that TP-Link made their enterprise network devices affordable. If you are living in Kuala Lumpur and thinking of buying TP-Link’s enterprise network devices. Go to Sri computers in Lowyat plaza, they usually have stocks....

March 17, 2020 · John Pili

Golang SQLite Simple Example

In this post, I will show you a simple example how to use SQLite in Go (Golang). SQLite is one of the popular embedded, file-based database in the market used by companies like Apple, Airbus, Google, Skype, Autodesk and Dropbox. You can check out the list of well-know SQLite user in this link Requirements Knowledge in Terminal or command prompt An installed Go 1.19 or latest Knowledge in compiling Go codes Visual Studio Code (Optional) Let’s begin We will use a library from https://github....

February 26, 2020 · John Pili
Generate text to image in Python

Generate text to image in Python

Today, I will show you how you can generate image and add text using Python. I was working on a project requires to generate an image for facebook og:image (featured image) and since this project is source code sharing tool adding a source code snippet into the featured image make sense. I used this library on to generate the featured image like shown below: This project requires Python Imaging Library (PIL)....

February 11, 2020 · John Pili

Connect to Windows Shared Folder on Ubuntu 18.04 LTS

In this post I will show you how to access Windows Shared folders from Ubuntu Linux. Install Samba sudo apt install samba In Nautilus file browser, Click Other Locations from the left panel and then enter the url of the windows share or IP address. Enter user credential if required. In common windows share settings putting WORKGROUP in the domain field will be enough Once you’ve successfully connected to the Windows Shared folder....

February 2, 2020 · John Pili

How to create a bootable Ubuntu USB in macOS with UNetbootin

In this guide I will teach you how to create a bootable Ubuntu USB on macOS with UNetbootin. Since UNetbootin is also available for Windows and Linux, this tutorial can be use on those operating system as well with minor differences. Ubuntu Linux is one of the most user-friendly Linux distribution in the market. I remember back in 2001 the Linux installation process was cumbersome and only for advance computer users....

January 29, 2020 · John Pili
Neofetch is visually pleasing command-line system information tool

Neofetch is visually pleasing command-line system information tool

I saw neofetch on reddit. I installed it on my Ubuntu box. It is a really nice looking command line system information tool. I can now show it off to Windows Admin here in the office. Neofetch – A command-line system information tool written in bash 3.2+ Neofetch Screenshot

January 16, 2020 · John Pili

Screen recording in Ubuntu 18.04 using Kazam

Part of my work is to screen record (screencast): software demos and programming tutorial. I am also a MacOS user and in Mac I used ScreenFlow for screencasting. Since using Ubuntu as my primary operating system at work. I wanted continue my screencasting work. I once used Kazam in mid 2019 and it can handle the basic screen recording requirement we will need, mostly. It is open-source and available from Ubuntu apt repository....

January 11, 2020 · John Pili

My review using the Razer Huntsman Tournament Edition for programming

Background I have been using the Razer Black Widow tournament edition since January 2015 as my programming keyboard. It has the Razer’s green clicky mechanical switch. After four years of continuous usage; it started to double register my keypress and it loses its clicky sound. It is time for me to invest into a new mechanical keyboard. I bought this keyboard from All IT at retail price of 529 MYR (129 USD)....

January 5, 2020 · John Pili