On a Dell server I needed to determine the physical hard drive location for a faulty disk. Within the operating system the disk was mounted as /dev/sdk so I ran: udevadm info --query=all --name=/dev/sdk And from the output I could correlate this with... » More
I'm currently using Linux Mint and wanted to communicate with the iDRAC interfaces on Dell servers. Install racadm: sudo echo 'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage' | sudo tee -a... » More
This command significantly improved file size on disk although the quality value can be increased to adjust the image quality versus file size: convert input-file.jpeg -sampling-factor 4:2:0 -strip -quality 60 -interlace JPEG -colorspace RGB... » More
I was helping a friend with creating a video and we need to mask out the distracting content around the video subject. If I had this problem with a static image I would use Gimp and the 'Crop' tool but I couldn't find anything in Kdenlive to allow me to... » More
It took me a little digging to re-discover the name of this tool that allows remotely logging RDP users off from other servers so I thought I would write it down in case I need a reminder. The command to run is: tsadmin.msc Or it can be added... » More
Quick reminder of steps to setup a Laravel project on Ubuntu/Linux Mint and similar. First install composer: sudo apt install composer Install PHP dependencies: sudo... » More
Using Red Hat / CentOS etc one method of resetting the root user password is to boot into single user mode. To do so, interrupt the booting process if necessary so that you see the Grub boot menu: Press the 'e' keyboard button to edit the boot... » More
The goal here was to be able to log in to the MySQL command prompt be simply typing mysql rather than: mysql -u root -p This is particularly useful for automation of routine backups etc. mysql_config_editor The command mysql_config_editor has... » More
Just recording a few of these steps for future reference. Pull the MySQL image from the hub: docker pull mysql/mysql-server:latest Run an instance: docker run -it -d -p 33060:3306 --name mysql-for-jonny -e MYSQL_ROOT_PASSWORD=opensesame -d... » More
I had been allowing normal users to create groups within Gitlab but subsequently discovered some confusion among users between groups and projects. Some users had been creating a group with a single project when a project with multiple members was more... » More