How to validate a short URL

At times, short URLs starting with https://bit.ly or https://goo.gl or any other short and strange form are received via SMS or even email. It is difficult to authenticate and know where these URLs point to. If the source is trusted, then too, it is important to know and validate these URLs to ensure they do … Continue reading How to validate a short URL

How to enable USB Debugging on an Android device

To enable USB Debugging on an Android device, first enable Developer options on the phone by going to Settings -> About, look for the Build Number and tap it 7 times. Then in Settings -> System -> Developer Options, scroll down and check the box that says USB Debugging to enable it. You are now … Continue reading How to enable USB Debugging on an Android device

How to validate digital signature in a document in Linux

In Linux, libreoffice-draw has the ability to open and validate digital signatures. Unfortunately, this functionality is broken as of today in the seahorse or gnome-keyring on LinuxMint 19.2 Tessa. This is due to the Ubuntu repository not having an updated package or a bug in seahorse. Without digging into above, a different program named PDFStudioViewer … Continue reading How to validate digital signature in a document in Linux

Shared hosting and WordPress

WordPress had recently upgraded it's code to work with PHP 7. Subsequently, each time I logged into the hosting provider account, I was always reminded by WordPress to upgrade the WordPress code and stay up to date with the latest security patches. Unfortunately, the hosting provider informed that the latest PHP 7 scripting language could … Continue reading Shared hosting and WordPress

How to hash files in Windows 10 into a file

Getting the MD5 hash of a file on Linux is very easy. However, in Windows, there are several utilities, but using Windows internally inbuilt command certutil, it can be done as follows in the Windows shell: C:>for /r %%f in(x) do (certutil -hashfile "%%f" MD5) >> output.txt output.txt will contain the files with their MD5 … Continue reading How to hash files in Windows 10 into a file

How to debloat, remove crapware from Xiaomi Redmi Note 5 Pro smartphone

Never look a gift horse in the mouth.. If you are one of those who is a technology connoisseur and love to compare specifications of smart phones before making a purchase decision, you need to be aware that the Xiaomi Redmi Note 5 Pro with 6 GB Internal RAM, best display and camera is a … Continue reading How to debloat, remove crapware from Xiaomi Redmi Note 5 Pro smartphone

Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

When you enter the command below in a terminal window: $ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter> Device error or resource busy error message appears and the device is not setup. The reason is that /dev/loop0 is taken by snap. To overcome the error, change /dev/loop0 to something else like /dev/loop35 Or, if you do not … Continue reading Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10

After a long while, upgraded from Xubuntu 16.04 LTS to Xubuntu 18.04 LTS and was in for a surprise. No encrypted home folder. Support for this was dropped as ecryptfs-utils was no more maintained by it's maintainer. However, fret not. Encrypted home folders can still be created as below. Make sure you take a backup … Continue reading How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10

Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume

Whew... saved by the skin of teeth. The grub2 bootloader of my computer got corrupt. I was not able to boot into the computer and all was lost. For security reasons, I set up LVM with full disk encryption. Thereafter, each user's home folder was further encrypted with ecryptfs (the default you get when you … Continue reading Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume

How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)

I installed LineageOS 14.1 on an old Motorola G 2nd Generation (2014) android phone, also known as titan. All went well and it worked like a charm. I wanted to encrypt the internal storage and accordingly, did so from the Settings -> Security option on the phone. It worked well and said the phone was … Continue reading How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)