How to set persistent swapoff for Kubernetes kubelet

When you first restart your Kubernetes node or master you usually bump into

failed to run Kubelet: running with swap on is not supported, please disable swap! or set --fail-swap-on 

Sounds quite obvious that the solution is in fact:

sudo swapoff -a

It is worth mentioning that swapoff command is not persistent on RaspberryPi, Ubuntu, etc. (more...)

Download videos from YouTube and convert to mp3 from terminal

Did you ever wanted to download video from YouTube to listen of it on your mobile while you do not have internet access? And of course you are in Linux as it is simplest to work with Andorid phones. To download video from Youtube the good program is youtube-dl and to convert it you will use avconv (former ffmpeg). (more...)

Git Re-tagging is bad

We all know Git does not like to limit you in any direction although in some aspects it should. And because of that freedom there are also some additional possibilities you can do when you want to cover up your own mistakes. (more...)

Git fetch or clone or checkout filename too long fatal error Windows

Windows had a 260 character path limit, so if you put your git repository in Documents and Settings with a long username, you might soon hit into a problem. This limitation is not depended on cmd or command (or any other shell), but it is inside Windows itself. (more...)