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
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
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
My current tmux config
After many years of using screen I recently started getting familiar with tmux. This is my current .tmux.conf and most of it is borrowed from IppSec’s YouTube video: Tmux Copy/Paste With the mouse support enabled in the above config, to
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
The Android SDK Manager fails to fetch the platform and tools list from Google
If you get the following error message when launching the Android SDK Manager: Failed to fetch URL https://dl.google.com/android/repository/addons_list-2.xml, reason: File not found most likely the owner/permissions are not set correctly for the ~/.android directory. This error message is very confusing