Various things about technology
-
Omnikey 3021 card reader
I had got a problem with reading cards with cryptographic certificates with Omnikey 3021 card reader on my Linux Ubuntu. Simple command solved the problem: sudo apt-get install libusb-1.0-0-dev libpcsclite-dev pcscd pcsc-tools From now on my certificate is being read without any problem.
-
Active spring profile for testing in VSCode
When you need to set active spring profile for testing in VSCode just add the following lines: to .vscode/settings.json file. In that way your Spring will take config from src/test/resources/application-text.yml file.
-
Java Lombok methods not visible in VSCode
I got a problem with Java Lombok methods being not visible in VSCode, for instance: I fixed it by clicking on the {} icon in the lower right side of Visual Studio Code screen: then chose Configure Version just aside lombok with library version and then “Use Project’s Version” instead of “Use Extension’s Version” This…
-
Splitting a large flac file with cue info
Splitting a large flac file to a separate smaller files based on information in a cue file is a pretty simple thing. Just make sure that you have the following: sudo apt install cuetools shntool flac And then the actual splitting command:
-
Ripping Audio CD on Ubuntu
Best application I have found so far to rip audio CD on Ubuntu is abcde (A Better CD Encoder). It has a lot of options however there is one especially useful: abcde -o flac It generates a directory in the current directory with ripped FLAC files inside.
-
Merge mp4 video file with mp3 music file
If you would like to merge sound with video for you have separated files with these 2 media you can use ffmpeg: ffmpeg -i ‘inputsilentvideo.mp4’ -i ‘inputsound.mp3’ -c copy -map 0:v:0 -map 1:a:0 ‘outputvideowithsound.mp4’ The generated file will contain a video from inputsilentvideo.mp4 with a sound from inputsound.mp3. Happy watching!
-
Vagrant tips and tricks
vagrant ssh-config > vagrant-ssh ssh -F vagrant-ssh default
Got any book recommendations?