Docker Limit Concurrent Uploads and Downloads: For Unreliable Network Connections

By default, Docker opens up multiple upload or download connections, so that it can move multiple layers of images at a given time. This is a performance boost, when used with a reliable connection. But if your network connectivity is not so reliable, doing one thing at a time and waiting for it to succeed […]

Fixing not being able to log in to fresh MySQL installation on Ubuntu

If you did a fresh installation on a new Ubuntu (~18.04) version, you may find that it is not possible to log in to MySQL with its root user, unless you do so as Ubuntu’s root user. Here’s how to fix it:

Enabling Global MySQL Log in Ubuntu

If you use (You should!) MySQL Prepared Statements, you may not be able to see how the final MySQL queries looks like, within your application, with all the bindings put into place. This is how to view them:

Fix USB Drives after Using them as Startup Disks

A problem I have encountered every time I use a USB drive as a Startup Disk, is that their block size get changed, and even gparted reports that it can’t fix the that. The following command will fix that.

Enabling Bash Autocompletion in LXCs

Bash autocompletion is disabled inside LXCs by default. This is how to enable it.

Sri Lankan English Locale for Ubuntu (And other Linuxes)

Sinhala (si_LK) is the only locale available for Sri Lanka in Ubuntu OS. While the Sinhala locale is not bad in itself, displaying “රු” in currencies, “පෙ.ව” and “ප.ව.” and Sinhala month and date names are a distraction, specially in terminal where Sinhala unicode rendering is not that good.

How to Create Linux Containers in Ubuntu

Here’s how to do it:

Fix Ubuntu Locales Error

Just installed Ubuntu, ran apt-get update and apt-get upgrade to encounter a “perl: warning: Setting locale failed.” error?

FocusWriter – A Distraction Free Writing App for Ubuntu.

Although I am not a full time writer, I have maintained couple of blogs for the past few years. All of them were WordPress based ones – May be Blogger is the only Google service I am not using! – and I have only written my posts at the WordPress admin panel, except for few occasions. […]

Easily share files between Ubuntu Linux and Android with Samba

Although both Ubuntu and Android are OSs using the Linux kernel, most of the software developed for managing Android devices from PCs, are either for Windows or for MacOS. There doesn’t exist any application for Ubuntu – that I know of – that can manage media, text messages, and other content in an Android device. […]