Category Linux

Squash older commits on git

How to clean up you git history by selecting which old commits to squash

How to get the size of linux folders

How to get the size of linux folders To get the size of a directory you can use the du command. To get the total size of the disrectory (without the subdirectories) use the s argument. The h argument will display the number in human rea

January 2021 Links

How to install SSL certificates and wildcard certificates in apache

Connect to vultr mysql databases from your machine

For security, mysql does not let incoming connections in the databases. So, if we want to connect to them from our local machine, we can use a firewall that will allow our public ip. First we have to let connections to mysql server from other ips. We do it by adding bind-address option.

How to resize images from command line

How to resize images from command line in Linux

How to support emojis in MySQL databases

In order to support all unicode characters, you have to use utf8mb4 charset in your database

Accesing your nextcloud files from ubuntu

Few days ago I installed nextcloud on a vitual machine of mine, as a way to share files between my devices. But actually today i found out how easy is to acces the files from the linux Nautilus filer manager. In my ubuntu 18 the option to insert the server is at "+ Other Locations" (you m

Play video with subtitles with html5 player

The <video> tag is the easiest way to play a video on the browser. In this article we see how we can add also subitles in the video. Browsers support different types of video types, better options are webm or mp4. If you need to convert a vi

How to delete trash from command line

Clean trash bin from the terminal

How to resize images from the console

Resize images from your linux command line

How to setup ssl encrypt in ubuntu server

Both tutorials are provided from

Mysql replication in Virtual Machines

A quick guide of how to setup master-slave mysql replication in virtual machines.
18/12!1 1