Category Archives: Uncategorized

How to convert your SSL certificates to be used by Tomcat instead of Apache

I have a wildcard certificate that needs to be used on multiple websites that my employer owns. To be able to use that SSL certificate on Tomcat, it has to be used in a totally different format, that’s Java-specific. That … Continue reading

Posted in Uncategorized, Linux | Tagged , , , , | Leave a comment

How to share files with Samba (SMB) from Ubuntu and mount on Windows

I am using a Windows 7 VM under KVM/QEMU, and there is no direct way – as far as I know – to make a shared drive between the host and guest, like the vboxsf that exists on VirtualBox hypervisor. … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | Leave a comment

How to reset lost password on Ubuntu

From the official Ubuntu LostPassword documentation (with minor changes to work on more recent versions of Ubuntu) Reboot your computer. Hold Shift during boot to start GRUB menu. Press e to edit. Find the line starting with “linux” and change “ro” … Continue reading

Posted in Linux, Uncategorized | Tagged , , | Leave a comment

How to delete all files in a folder EXCEPT certain ones in BASH

Imagine you have a folder that has about 20 files that you need and like 100 files that you don’t. In this case, there is a very simple bash script that allows you to do that in a jiffy! Here … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | Leave a comment

How to install Shutter Screenshot Tool and assign as the default in Linux Mint

Shutter is an amazing screenshot taker and annotator. To install it successfully, you have to install two packages: sudo apt-get install shutter libgoo-canvas-perl Note: That second package is to allow editing and annotation You are done with the installation now. Next, … Continue reading

Posted in Linux, Uncategorized | Tagged , , | Leave a comment

Batch-resize videos on Ubuntu Linux with ffmpeg

So, the case is as follows: I have about 15 videos files that were recorded at 4K and are very large in size. I wanted to keep everything as is, but just reduce the resolution to HD (720p). ffmpeg would … Continue reading

Posted in Linux, Uncategorized | Tagged | Leave a comment

Allow non-root users to capture network packets with Wireshark on Ubuntu

It’s very easy to do, all you need is just add your user to the wireshark group, e.g. sudo adduser hobba wireshark so this makes user hobba able to capture packets without requiring sudo privileges. Enjoy! Tested on LinuxMint 18.1 … Continue reading

Posted in Linux, linuxmint, Uncategorized | Tagged , , , | Leave a comment