Skip to content

Instantly share code, notes, and snippets.

View OlivierMary's full-sized avatar
:octocat:

Olivier MARY OlivierMary

:octocat:
View GitHub Profile
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
component: resolv
tier: node
name: resolv
namespace: default
spec:
selector:
@scyto
scyto / gluster-fs-install.md
Last active August 24, 2026 01:48
Install & Configure GlusterFS

📖 This guide has moved

The maintained version now lives at Install & Configure GlusterFS, part of scyto/homelab-docs — searchable, cross-linked, and easier to keep current.

This gist stays put so the comments below remain readable — there is a lot of useful troubleshooting in them. For corrections, please open a PR or issue on the repo.


@scyto
scyto / docker-swarm-architecture.md
Last active September 29, 2026 15:45
My Docker Swarm Architecture
@lenalebt
lenalebt / DefaultKeyBinding.dict
Created December 18, 2019 06:59
How to use a typical Linux / Windows Keybindung on MacOS (tested with 10.15.2 Catalina)
/*
PUT THIS FILE IN ~/Library/KeyBindings/DefaultKeyBinding.dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more closely
match default behavior on Windows systems. This particular mapping assumes
that you have also switched the Control and Command keys already.
This key mapping is more appropriate after switching Ctrl for Command in this menu:
Apple->System Preferences->Keyboard & Mouse->Keyboard->Modifier Keys...->
Change Control Key to Command
Change Command key to Control
@PARC6502
PARC6502 / OpenSourceBaas.md
Last active September 3, 2026 17:24
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Note on sizes: a lot of those might be inaccurate as there might be many microservices required aside from the core release/docker image. I haven't tested these recently so I'm not sure

Supabase - ~94.9K stars

  • Designed explicitly as an open source Firebase alternative
  • Typescript based
  • Docker support
  • Full Postgres database with Realtime subscriptions

PocketBase - ~54.5K stars

@jackawatts
jackawatts / Basic Azure VPN Setup.md
Last active November 27, 2023 15:36
Setting up a Basic, Policy-Based Site-to-site Azure VPN for *TEST* purposes

Getting started

This is some doco covering how to set-up a VPN for TESTING PURPOSES within Azure

This simple scenario will use: A Policy Bases VPN Type on a Site-to-site network using the Basic gateway SKU

This can be done via PowerShell and the Azure Portal, what follows is essentially a copy of: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal

Naming of the italicised components is up to the end user, however naming should be consistent between components

@rafaeltuelho
rafaeltuelho / eclipse-unittesting-debug-invm-hsqldb-view.md
Last active February 19, 2020 12:48
Trick to inspect an inMemory HSQLDB/H2 instance during a Unit Testing Debug inside the Eclipse IDE...
  1. add a Breakpoint to your TestCase code
  2. start your jUnit Test in Debug mode
  3. Open the Display View (Window menu > Show view > Display)
  4. paste the following snippet into the Display view
org.hsqldb.util.DatabaseManagerSwing.main(new String[] {
  "--url",  "jdbc:hsqldb:mem:testdb", "--noexit"
});
  1. Select the snippet code
@trusktr
trusktr / DefaultKeyBinding.dict
Last active July 13, 2026 23:35
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers
@nyanshell
nyanshell / update_motd.service
Created August 3, 2014 11:39
archlinux update /etc/motd with systemd
[Unit]
Description=Update motd
After=sshdgenkeys.service
[Service]
ExecStart=
ExecStart=/usr/bin/update_motd.sh
Restart=always
[Install]
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active October 1, 2026 18:55
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname