LetsEncrypt Setup for domain hosted with HostEurope

As described earlier install certbot
HTTPS with LetsEncrypt and nginx Rename certbot fullchain.pem and privkey.pem to fullchain.txt and privkey.txt Upload using HostEurope KIS Webinterface
Produktverwaltung – Webhosting – Konfigurieren – Sicherheit & SSL – SSL administrieren
Wait 1-2 mins – voila, certificate renewed and validate Based on:

Jameica in aktueller Version mit jVerein verwenden (H2 DB Version)

Ich verwende ein lokal über Homebrew installiertes jameica für unsere Vereinsverwaltung mit jVerein:

brew cask install jameica

Damit sowohl das jameica Plugin hibiscus zur Anbindung an unsere Bank als auch das jVerein Plugin unter jameica 2.8.6 funktionieren, muss man momentan im jameica Anwendungsverzeichnis (Mac Show Package Contents jameica.app) im Verzeichnis lib/h2 das dort liegende neuere h2 jar durch h2-1.4.196.jar ersetzen.

Install freetz on FritzBox 7390 from a mac

A pretty silly reason made me try to switch our FritzBox from original AVM firmware to Freetz custom image today – I wanted to be able to use .local dns entries while connected via VPN which seems not be possible otherwise.

Well, I always wanted to play around with Freetz, the 7390 is anyhow old and no longer under active support by AVM, so let’s get started:

1) Get Freetz sources, because due to legal reasons we need to build this on our own
$ git clone https://github.com/Freetz/freetz.git

2) However this won’t build without extra fiddling from my mac. The official guidance is to use a VM, but I had docker ready and quickly found a docker image for that:
$ docker pull mtneug/freetz

3) Quite some fiddling/reading later I figured I might be best of to use it like this:
$ docker run -it -v $PWD:/freetz -v $PWD/images:/freetz/images -v /Users/hro/:/home/freetz mtneug/freetz /bin/bash
(the freetz mount is to just use the downloaded freetz source dir as base, freetz images because that’s where the final image is written and the home mount is to store a key used for signing in the users home dir instead of the freetz build dir)

4) When inside the docker container run
$ make menuconfig && make

5) Exit and now we can push the firmware via a cmd tool
$ tools/push_firmware images/<your_image.image> ip

Inkscape Basics (because I forgot what I knew a week ago)

Resize Inkscape svg canvas to it’s content
Go to File -> Document Properties -> Page
Resize page to drawing or selection

Add guides helps with alignment etc.
Just click ruler and drag down from top, left or even top/left for diagnonal guide

Setup/Change snapping when moving objects around
Go to File -> Document Properties -> Snap

Change color of object
Go to Object -> Fill and stroke (Shift+Ctrl+F)

Posted in Mac

MacOSX Postinstall – Todo list

Just a list of steps to take after a clean mac os x install, maybe later will be ordered etc.

[ ] Install Little Snitch
Config on gdrive enc container
[ ] Install Little Flocker
Config on gdrive enc container
[ ] Install Launchbar
Config on gdrive enc container
[ ] Put ssh keys in ~/.ssh
[ ] Install gpg key in Mail.app
[ ] Install Firefox and Chrome
[ ] Install Filezilla
[ ] Install Pulse VPN
[ ] Install Remote Desktop Manager Free
Config on gdrive enc container
[ ] Install Skype for Business
[ ] Install Skype (not sure, needs way too much permissions etc.)
[ ] Install apps from AppStore
[ ] Unset natural scrolling
[ ] Install Shades
[ ] Install BTT (Better Touch Tool)
[ ] Install Dropbox
[ ] Install GDrive
[ ] Install OneDrive

Which process has an open handle on my file x (fuser, lsof or Process Explorer)?

Here’s how to find out if a file is locked because of another process that still has an open file handle.

On Linux/Unix just use: fuser or lsof

lsof | grep
fuser -v

On Windows the Sysinternals Process Explorer is a great answer to this (and many other questions):

Just Ctrl+F and enter the name or part of it and search