Linux: Create a RAM disk to speed up your I/O file operations. Assume that you have a lot of RAM that you don't need but your storage devices are quite slow. At the same time, you have a program that…
Linux: Add cronjob using a bash script. We all know and love cronjobs, cronjobs allows us to execute a command or a script in the future. It can be tedious boring and error prone…
Linux: substitute text with sed sed is one of the best tools to replace text in files! it's very easy and super versatile, lets see some simple examples!
Netcat: pipe commands over network. We all know pipes, pipes are used to transfer data from one process output to another process input, but this concept is limited to…
Linux: named pipes and why they are super useful named pipes or fifo queues are essentially a file where a process can write its output and another process read its input, you might now…
Linux: take backups using rsnapshot the easy way, plus a restore example! Backups is something you usually dont think a lot but is essential in case of a failure or a server crash; there are many solutions to deal…
Python: Create a web server to share files in just one line! Assume the following scenario! you need quickly to share files with users, but you don't have the time to set a mechanism that will…
Linux: parallel SFTP transfers using a simple one-liner. Recently i came across a legacy bash script that worked fine; its job is to find files in a directory and sftp them. The script was quite…
Flask, Redis and Nginx Dockerize them. In this example we will see how you can use docker to containerize your Flask application, Redis server and Nginx.