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
PhpMyAdmin and changed MySQL data directory
Very often you would like to change the default data location of MySQL for obvious reasons. If you do that and you don’t change the phpmyadmin settings accordingly, you will not be able to login via phpmyadmin. You will constantly
How to export/import gnome-terminal profiles
You only need dconf to export/import gnome-terminal profiles. To export all gnome-terminal profiles run: $ dconf dump /org/gnome/terminal/legacy/profiles:/ > gnome-terminal-profiles.dconf To import the exported profiles above, run: $ dconf load /org/gnome/terminal/legacy/profiles:/ < gnome-terminal-profiles.dconf If you want to export and then
PHP.ini settings to increase file size and number of uploads
Update: Please checkout the later post with a better approach before reading further. In addition to changing your code, you also need to change the setting on the server to accommodate uploading larger file sizes. The settings that need to