Skip to content

Instantly share code, notes, and snippets.

View khena's full-sized avatar

khena

View GitHub Profile
@satabin
satabin / 01-README.md
Last active September 2, 2023 14:26
My service maintenance scripts and units

This gist lists the systemd units, timers, and scripts I am running to maintain my various services.

Backups

Data are backed up in an S3 compatible data store. To add a service using a database, just add the service name and database to the services.json file.

The backup runs as the backup user, which has read-only access to all databases. This is ensured by giving the appropriate role:

GRANT pg_read_all_data TO backup;
@maxivak
maxivak / 00. tutorial.md
Last active April 12, 2024 05:42
Importing/Indexing database (MySQL or SQL Server) in Solr using Data Import Handler
@boodle
boodle / Making Apple Developer certificates on Linux.md
Last active May 5, 2024 09:07
Making Apple Developer certificates on Linux
  1. Create a new directory;
mkdir Apple\ Enterprise
cd Apple\ Enterprise
  1. Generate a certificate signing request
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest