Tagged: FOSS

0

How to delete a pipeline in Gitlab

As of this writing (v12.1), GitLab still don’t have way to delete pipelines in its web UI, and you can’t control how many pipelines to keep, so yo may end up with a bunch...

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...

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...

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...

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....

2

Force WP-CLI output to be in English

I need to manage several insensate of WordPress installations, some of them are in Hebrew and one in Arabic, and when using `wp-cli` to manage the installation, e.g when running `plugin update`, `wp-cli` will...

4

Run Command Before Starting SSH Connection

This a quick hack I found while I was looking to run a knock script before connecting to servers which I have the SSH service protected with a knock sequence. In my setup I...

0

Speed up a MySQL restore from a dump file

This is a small snippet I found to speed up importing MySQL dumps, it’s is almost as fast as coping the DB files directly. Pre INSERT Put the commands at the top of the...