Today, I will walk through the process of creating a new Certificate Authority (CA) using a 4096-bit RSA key and SHA-512 as the signature hash algorithm. I will also store…
Read morePostgreSQL Notes
How to drop all tables sharing the same prefix in PostgreSQL? Non-Cascade version: How to drop all functions in PostgreSQL?
Read moreRunning PostgreSQL in Docker on my Mac
It’s extremely convenient to run your local tools, like RDMS, development environments and so on on Docker containers on Mac. To be honest with you, I hate installing a bunch…
Read moreElementaryOS: Resolution fix for 2560×1440
Edit /usr/share/X11/xorg.conf.d/10-monitor.conf and paste the following: And reboot system with sudo reboot Thanks!
Read moreSendMail function in Golang
Easy-to-use function to send HTML and plain-text emails in Go Usage:
Read moreApache 2.4.6 + mod_wsgi + Python 3.6 + Django 2.2.6 on CentOS 7
There are many how-to’s on installing Apache with mod_wsgi, python 3.x and Django, but nothing worked for me, looks like mod_wsgi libraries installed by default with yum use Python 2.x,…
Read moreNagios environment variables
As soon as Nagios is managed by systemd, you have to change the passing environment variables from /etc/sysconfig/nagios to systemd Edit the file Add Environment=”” or EnvironmentFile=”” to [service] section…
Read moreHappy Independence Day!
Wishing everybody a wonderful time on this special day in American history. Happy Fourth of July! God bless America!
Read moreOpen-Xchange IMAP: STARTTLS failure
During some experiments with open-sources code, found an issue with STARTTLS on the latest open-xchange appsuite 7.10.1-Rev9 Something like this: Looks like empty vars for SSL protocol and SSL ciphersuites…
Read morePaperkey: How to backup your GnuPG keys on paper
To create a backup of your GPG Key, you may use one of the following commands paperkey –secret-key my-secret-key.gpg –output to-be-printed.txt Or using this if you have exported (not armored)…
Read more