Paolo Redaelli personal blog

Category: Tricks

I know them all

Linux Networking Commands That You Must Know | by Vikram Gupta | Nov, 2021 | Level Up Coding Fine, I know and use them all: ifconfig traceroute tracepath ping netstat hostname curl wget whois scp ssh

Not deprecated

«In Kotlin, loops are deprecated.»  That’s the title picked by Luc-Antoine Girardin. Of course they are not, in fact he starts the article with Well… That’s not entirely true. It would not make sense to actually deprecate them as loops have been a part of programming for decades… They reality is that programming language that…

Linux: logout automatico per inattività

In questa breve guida vi mostro come impostare il logout automatico dalla sessione su sistemi Linux e Unix-like. Source: [GUIDA] Linux: come effettuare il logout automatico per inattività Ovviamente dalla shell (linea di comando). Basta impostare la variable d’ambiente TMOUT. Mai smettere d’imparare. Ovviamente si può Configurare l’uscita automatica anche dall’interfaccia grafica.

How to get the most out of your Terminal

How to get the most out of your Terminal | by Reagan McFarland | Medium the recipe is basically three steps: a “modern” terminal. He suggest Alacritty becuase is fast. Like really fast. This is because it uses OpenGL to offload some of the processing to your GPU, a feature very few terminal emulators have.…

Useful tricks

Most of them are quite unnecessary when you have a POSIX command line (i.e. a GNU/Linux machine) available, but they may be nevertheless useful: Website Safety & Security Check https://www.ssltrust.com.au/ssl-tools/website-security-check Online port scanner https://www.whatismyip.com/port-scanner/ when you don’t have nmap Find my real IP address https://whatismyipaddress.com/ . When you just can’tFind my public ip address from…

FFMPEG to Youtube Live

video – FFMPEG to Youtube Live – Stack Overflow After a lot of trial and error the solution below works pretty much perfectly. To make sure it runs 24/7 wrap it inside a service of some description. This is with an up to date version of FFMPEG to include -stream_loop -1. The background is an…

Design by contract in a spreadsheet!

Today I wanted to format a boolean value in a spreadsheet so that true values are shown as “Sì” and false as “No” (italian words for “yes” and “no”). I was easy as librelive describe in Change Boolean to Yes/No instead of True/False – Ask LibreOffice i suggest basically the same as m.a.riosv wrote, but…