Chromecast devices are discoverable on the network via the mDNS protocol and that works well when all devices are on the same network. Things start to break down though if the Chromecast devices and the clients that would like to
Replace tabs with spaces in vi
Collaborating with other developers often means that not everyone is on the same side of the “tabs vs spaces” debate. I will spear everyone a rant on that subject. Let’s just say that I often find myself in a situation
Ubuntu / Debian – Remove all unused Linux kernels
Since release 18.04, Ubuntu only keeps the last three kernels in /boot and deletes the older kernels at each kernel upgrade. It keeps the latest kernel and the two previous versions that were installed and removes all the rest. To
How to fix VMware unable to install all modules vmmon vmnet
VMware needs to recompile the kernel modules after each kernel upgrade. We are all pretty familiar with this, since VMware requests module recompilation when launched after a kernel upgrade. In the vast majority of the cases that will go smoothly
Default java commands for manually installed JDK on Debian based distros
The update-alternatives is used to handle situations where multiple applications that accomplish the same task are installed on the system, but we would like to set a default on which one to be used….. I moved the JDK from another
Configure phpMyAdmin with a remote database
We have the following scenario: Server A runs a web server with phpMyaAmin, which connects to Server B. In this case we are using Debian packages, so Server A is assumed to be running Debian, Ubuntu, Mint or another Debian
Remove Windows carriage return characters with vi
This is pretty standard search an replace command in vi, but I always forget how to specify the carriage return character (‘^M‘): Ctrl+V for the ‘^‘ and Ctrl+M for the ‘M‘ The command is: For those new to vi: While
MySQL replication without the downtime
This is just a copy from the origin article https://plusbryan.com/mysql-replication-without-downtime The original site has been taken down. Since this is very useful, I am posting the original content here for future reference. Setting up MySQL replication without the downtime I clearly
Android Studio – Automatically sign the apk in debug mode
Android Studio no longer automatically signs the apk when pressing the “Run” button in debug mode. That makes it challenging to develop and test on a physical devise, especially when the signature of the apk is required for some functions
PHP – increase file size and number of uploads limits
A little while ago I had a quick post on how to increase the file size and number of file upload limits by editing the values straight in the php.ini file. This approach works, but we need to understand the