convert docx to pdf

to convert a bunch of docx to to a single pdf install unoconv and libreoffice via brew brew install unoconv and brew install libreoffice...

March 23, 2021

pi

The most amazing thing happened. I finally fitted a on/off button on one of my raspberry pis. To think after all these years it’d be so easy....

March 9, 2021

serial usb mac

Usb serial devices are listed as /dev/tty.usb[something] in my case /dev/tty.usbmodem0000000000001 to connect simply screen into it: screen /dev/tty.usbmodem0000000000001 115200...

March 7, 2021

latex

ok, I’m in a hurry to get my study thingy done, but I tried (albeit having no time) to get latex running for it :)...

February 3, 2021

jitsi

Useful jitsi tips Hints on configuring Jitsi restart the jitsi server in one line: /etc/init.d/jicofo restart && /etc/init.d/jitsi-videobridge2 restart && /etc/init....

January 19, 2021

git

This deletes the last commit for good (it’s gone jim) source git reset --hard HEAD^ git push origin -f ...

January 12, 2021

zsh

Oh my Zsh getting the username@hostname and full path in the default theme blatantly copied from this git issue response...

August 23, 2020

Plesk

Plesk: ‘service psa start’ and ‘service psa stop’ to start and stop plesk port is servername:8443 firewall is called psa-firewall...

August 20, 2020

Postgres on Docker

today I was trying to make some kind of backup for my postgres docker running on synology nas. Just documenting what I did so I can remember, don’t know if it’ll work though:...

July 16, 2020

Python

about installing python right: use pyenv apparently ‌brew install pyenv pyenv install 3.8.3 pyenv global 3.8.3 and be sure to add this to the ~/....

July 15, 2020

Borg

just had a pretty pleasent experience right now and wanted to write it down: I’ve been using borg as a backup solution for my laptop for years now and never really had to recover anything....

June 28, 2020

Testing Markdown

ok let’s see if this springs up anything useful: ❤️...

June 28, 2020

diverse linux commands

unsorted commands found while scouring notes from my old laptop Burn Iso Image (old note haven‘t checked up on it yet) growisofs -dvd-compat -speed=2 -Z /dev/sr0=/home/user/image....

June 26, 2020

openbsd-on-edgerouter

various info‘s I kept on old .txt files about my edgerouter light running openbsd Upgrade procedure (very vague, do read the official upgrade steps!...

June 26, 2020

Synology Nas

Perform upgrade of a docker container: Make sure you use image:latest as the original image. When an updated image:latest is out, just download it in the “registry” tab (wait for the actual notification that the download is complete, there is no progress bar) Stop the container that needs updating Select the container and press Action/Clear in the container tab....

June 26, 2020

vi

Holy crap this has been an astonishing experience for me: I used vi for the first time for real. well, this piece of software has been bugging me since forever, since I never understood how it worked....

June 26, 2020

Posting Workflow

Let’s try and sum up how I’m posting here on server in ~/hugo-sites/mchack.org/ hugo new [path] [flags] hugo new posting-worklow....

June 24, 2020