Syntax highlighting

I’ve been writing a text document, where I want to paste an excerpt of a shell script. I want to put it in a frame as a separate “figure”, referred to in the text as “Box ##”. To make it clearer to the reader, I want to have the appropriate syntax highlighting. How to do it?
Continue reading

Posted in system, office | Tagged , , , , , , , | Leave a comment

Cropping an image in Inkscape

Lately, I’ve been processing a lot of imaging data in Inkscape. This included arranging imported pictures, setting their size, proportions and more. I needed an easy way to crop images that have been already imported in Inkscape. Usually, I would just make sure that everything is in the correct size before importing. Well, pedantic as this might be, it is time consuming.
Continue reading

Posted in drawing | Tagged , , | Leave a comment

XFS duplicate UUID

During my disk cloning exercises, I stumbled upon an issue when cloning a partition formatted as XFS. Cloning with dd went fine, however, when trying to mount the newly created partition in Thunar, I would get an error (sorry no screenshot). Then, I tried to mount in manually and investigate what the problem was.
Continue reading

Posted in system | Tagged , , , , , | Leave a comment

Disk cloning

About half a year ago, I needed more space for my ThinkPad x230 laptop. I had a 256 GB SSD, running Slackware 14.2, so I bought a new SSD of 1 TB. I did not want to go through all the hustle of repartitioning, reinstalling and reconfiguring, therefore I also bought a Fujitech Clone Dock 2. It is fairly simple to use, just place the disks in the correct order: Disk 1 (256 GB) to be cloned onto Disk 2 (1 TB), turn it on and click the Clone button twice. However, there is no way to tell the device to clone a specific partition only.
Continue reading

Posted in system | Tagged , , | Leave a comment

Browser fonts

I have been switching between browsers lately and realised I am really tied to a certain set of fonts. So, for my own future reference here they are.
Continue reading

Posted in misc, network | Tagged | Leave a comment