Rabin.IO Blog

0

Using gpg (1.x) with gpg-agent (v2.x)

If one needs to sign/encrypt multiplies files and the PGP key is encrypted, they can use the gpg-agent to keep the key accessible for some period of time and enter the password once. For...

laravel logo 0

Laravel & Lumen with Informix DB

I was looking to try and work with Lumen to create a API frontend for few services we have, and the problem I had was to make Laravel/Lumen to work with Informix DB. I...

ansible logo 0

Automated SSL/TLS Cert in CVP

Although CloudVision runs on CentOS 7 and uses nginx as a front end for the services, you can’t just use letsencrypt to issue a cert, as it seems like CV will overwrite it each time....

GTK+ logo 0

Overwrite the default GTK theme per application

I love using a dark theme on my system, currently I’m running the Adapta theme. But not all applications looks great in dark themes, some need tweaking, this is a quick hack to overwrite...

Convert certificate format with OpenSSL 0

Convert certificate format with OpenSSL

Convert a PEM file to DER (crt etc) $ openssl x509 -outform der -in certificate.pem -out certificate.crt Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM $ openssl pkcs12...

Java in A container 0

Running Java GUI application in Docker

This is a more specific use case of running GUI application with Docker, the procedure is pretty simple (and most option are common for most GUI application), You mount the UNIX socket for the...

0

Setup NAT with iptables

The  Setup Having this setup where Machine A like to connect the Internet via Machine B. +——————-+ +—————–+ | | | Machine B | | Machine A | | (the gateway) | | (the...

ansible logo 0

Ansible and ControlMaster file naming

This is a short story of how Ansible and SSH (using the default `ControlMaster` path format) bite me. Lets take this network layout for example, where we have the same IP behind different machines....