I was thinking about my trips and working from any place I've rich with all the stuff I have at my home. I need to start some heavy services on my local cluster to test new solutions before creating merge request to some project. My laptop can handle it more or less, but sometimes it can't. So I need to connect to my workstation and run the feature there.
Let's assume we need some kind of local development lab to test our splended microservices driven system deployment to cluster.
- and we want to check that all development pipeline works properly from MergeRequest to Deployment to Production environment
- and we want all stages of pipeline will works automaticaly
- and we want ... more some cool features!
If you are using VSCode on Ubuntu and your shell is Zsh (Oh-my-zsh) you can meet the problem with incorrect charectars display in VSCode terminal.
How to fix it?
Save few seconds a day
Some of us try to save every second a day to use it for our life.
If you have no free space on your system drive, you can move docker data directory to enother drive
- Stop docker daemon
sudo service docker stop
- Move your data to enother drive
sudo mv /var/lib/docker /mnt/data/docker
- Setup docker daemon config:
sudo vim /etc/docker/daemon.json
# /etc/...
You can always use some GUI tool, but we don't try to find simple ways. Actualy there is nothing difficult.
Install prerequisites:
sudo apt install flac lame
Checnge your folder to the one containing flac files and run simple one-liner:
for f in *.flac; do flac -cd "$f" | lame -b 320 - "${...
This small tip will allow you to look forward in your shell history, knowing when each of your commands was executed:
Sometimes we need to connect sone new resource (server, workstation and etc.) to our OpenVPN network. We have preconfigured config file as .ovpn file format, but we have no GUI. What we have to do>
To find all active host in your network you can use nmap
command in linux.
There is a regular task to start one or more processes on the remote server. And you don't want to keep ssh-client to be opent while process running. Linux have few command to handle it: screen and tmux.