Ben's Adventures
Ben’s adventures
IT related posts


Posts by Ben
Posts by ZJ

Recent blog posts

Repartition a new USB drive (4 Mar 2017 - #449870)
I want to use my new USB drive exclusively with Linux, so I decided to wipe the factory default partitions and create a new ext4 filesystem on the drive. The drive uses 4096 byte physical sectors and we have to make sure that the new partition is correctly aligned. For some background information on partition … Continue reading Repartition a new USB drive

Convert two scanned A4 PDF files of an A5 booklet into a single PDF (4 Mar 2017 - #449444)
When scanning an A5 booklet as individual A4 pages, but would still like to have them combined into an A5 PDF, the individual pages all end up in the ‘wrong’ place.

Create bash scripts in C (4 Mar 2017 - #449369)
There are some scenarios when a bash script will not cut it. Not even a Perl script. Not even Python. Your problem calls for C, but at the same you do not want to write a full blown C program. The Tiny C Compiler comes to the rescue.

Atril (evince, document viewer) default directory for Save As (4 Mar 2017 - #449368)
For the XFCE desktop environment Atril is the default PDF viewer and I also use it to open any PDF files from Firefox. It is a great lightweight document viewer which does what I need most of the time. One exception is when after opening a PDF file from Firefox I decide to keep the … Continue reading Atril (evince, document viewer) default directory for Save As

Enable God mode control panel access in Windows 10 (3 Mar 2017 (Updated 4 Mar 2017) - #442882)
Create a new folder on the Desktop with nameGodMode.{ED7BA470-8E54-465E-825C-99712043E01C} Source

Arduino IDE Linux installation (3 Mar 2017 (Updated 4 Mar 2017) - #442865)
Download latest IDE tarball from the Arduino store, unpack the tar file and install bin symlink, desktop files and add menu entries.

Notes primarily to myself, but perhaps also useful for someone else…