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
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.
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