HTML drop-down placeholder

Do you ever wanted to have an HTML drop-down with default selected value (placeholder) that the user cannot re-select once they selected any valid value options? It can be done easily by adding selected and disabled attributes on the option element. Code Snippet <div class="row form-group"> <label class="col-12 pl-0">Status</label> <select class="form-control col-12"> <option value="" selected="selected" […]

Continue Reading…

Create Android Studio Shortcut on Ubuntu 18.04

You can easily create an Android Studio shortcut by creating an desktop entry using the following the steps below. In this guide, my Android Studio is installed in /opt/android-studio folder. Your folder location may differ. 1. Open terminal and type cd ~/.local/share/applications 2. Create a .desktop file using your favorite text editor nano android-studio.desktop 3. […]

Continue Reading…

How to change Full Disk Encryption (LUKS) password on Ubuntu 18.04

Did you enabled the full disk encryption (LUKS) on Ubuntu 18.04? I would like to share how you can change the LUKS password. LUKS stands for Linux Unified Key Setup developed in 2004 by Clemens Fruhwirth. Similarly, Apple’s macOS have FileVault and BitLocker for Microsoft Windows operating system. In the terminal you can check the […]

Continue Reading…

Bring Your Old Laptops Back In Service With Light-Weight Linux Distribution

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

Continue Reading…

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

Continue Reading…

Load balancing and redundant Internet connection using TP-Link ER6020

Overview I started my homelab journey in 2017 setting up small server to host my files and 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 it affordable for us to buy business […]

Continue Reading…

Programmers should build their own code generation tool

Background In 2009, I was working as an IT manager/software developer/computer engineer in the middle-east. During that period, I developed business software applications for the company, applications like Human Resource System, Purchase Order System, Cheque Writer and web applications. Being a lone software developer my goal is to deliver software in less time with zero […]

Continue Reading…