Posts

Showing posts from August, 2021

Parallel GZip

hmm, I was not aware of this. Basically pigz ( parallel gzip ) is a fully compatible replacement for gzip. This uses parallel processing via multi-threading thus using SMP capabilities of a multi-core/+multi-threaded processor to improve zipping throughput. Cheers!

A case of video editing

Recently I went out and had a really great ride. Got a lot of rain, some good amount of driving in hill twisties, and overall some really great time. As usual the dash cam had captured almost all the driving, and I thought of putting together a small timelapse video with friends as a memory. Copied all the clips onto a portable hard disk. From there went into Ubuntu and put together a decent clip using OpenShot. A surprize was waiting for me though. Went to export and found out on my updated system with Ubuntu 20.10, OpenShot export with hardware acceleration did not work anymore.  Puzzled I searched around via google, found a few solutions, tried them but to no avail. Then decided to shift to another video editor. On Linux the only decent choice is shotcut or kdenlive. Both did not support my midlife radeon integrated graphics. So what else to try. I have windows on other partition, so I could try some windows programs. As expected, I downloaded a bunch of video editors and tried out

Gitlab repositories and ssh keys Pt 2

Hmm, I was supposed to put in the process and commands in pt. 2 but somehow I seem to have forgotten that. Anyway lets start. 1. Create SSH Key for development PC. https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.html I did not have any old keys n ~/.ssh so went ahead with below command to create a new one. $ ssh-keygen -t rsa -C " your_email@example.com " Rest all is straight-forward. At the end you have a private key and a public key. 2. Add this key to gitlab. Open your gitlab server instance ( e.g. gitlab.xyz.com etc ). Then login with your credentials. After logging in, go to user settings by clicking on the user menu at top left corner and clicking on Edit profile option. This will open User Settings page. Here at left side is a list. Click SSH Keys in this list. This will open the SSH Keys setting page. Here you can paste the public key in the .pub file which you generated above. DO NOT PASTE PRIVATE KEY, as it is PRIVATE!!! 3. Add your ss