Skip to content

Instantly share code, notes, and snippets.

@ronau
ronau / nginx-client-certificate-authentication.md
Last active June 22, 2019 21:45
A simple nginx configuration for a demo of client certificate authentication

Client certificate authentication with nginx

Below is a simple nginx configuration file enabling client certificate authentication, i.e. the user/client has to present a certificate in order to get access.

It is the result of a small proof of concept solution for the following task:

  • A certain web server directory should be used as file storage
  • Transport security (i.e. TLS)
@ronau
ronau / kids-audio-player-preparation.md
Created November 26, 2018 19:39
Convert and merge audio files for kid's audio player

Convert and merge audio files for kid's audio player

This is how I convert and adjust the audio files for the kid's audio player (e.g. hörbert or custom-made). For such kind of audio player, certain adjustments make sense, e.g. convert to mono and normalise (i.e. adjust gain).

#1 Collect audio files

@ronau
ronau / Nextcloud-Pi3-Setup.md
Last active October 16, 2023 19:47
Nextcloud on Raspberry Pi 3 Setup

Nextcloud on Raspberry Pi 3 Setup

This manual describes how to setup a Raspberry Pi 3 with nginx, PHP 7.0, MariaDB and use it as a Nextcloud server. Strong TLS encryption with Let's Encrypt certificates is also used. Of course, Owncloud can be used instead of Nextcloud. As of February 2017, the installation instructions are basically the same.

Useful links and knowledge sources for this step-by-step manual

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Cleanup files shared on Slack</title>
<style type="text/css">
body {
font-family: Arial, sans-serif;
max-width: 50em;