Skip to content

Instantly share code, notes, and snippets.

@ronau
ronau / Raspi-Setup.md
Created July 2, 2024 22:19
Checklist for setting up a Raspberry Pi

Raspberry Pi (4) Basic Setup

This manual describes how to setup a Raspberry Pi with a little bit of sane default configs.

This is a revamped version of this gist, this time focusing on the setup of the Pi only.

Install and run Raspbian on an SSD

@ronau
ronau / nginx-client-certificate-authentication.md
Last active September 2, 2024 01:19
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 July 2, 2024 22:23
Nextcloud on Raspberry Pi 3 Setup

Nextcloud on Raspberry Pi 3 Setup

Tip

There is a new and up-to-date version of this gist (with focus on the Raspi setup part): https://gist.github.com/ronau/462731589c44f91bb4a3b7d30d277ecf

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.

<!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;