Skip to content

Instantly share code, notes, and snippets.

@JoshCheek
JoshCheek / implementing_sorbet_example.rb
Created June 4, 2018 13:08
A Ruby runtime type checker based off Stripe's "Sorbet" (https://tinyurl.com/y7tzjutf)
# An implementation to make this code example work: https://tinyurl.com/y7tzjutf
class Sig
def initialize(param_types)
@param_types = param_types
end
def returns(return_type)
@return_type = return_type
self
@ubergesundheit
ubergesundheit / readme.md
Last active October 15, 2025 18:11
systemd traefik.service

systemd Service Unit for Traefik

Adapted from caddy systemd Service Unit

The provided file should work with systemd version 219 or later. It might work with earlier versions. The easiest way to check your systemd version is to run systemctl --version.

Instructions

We will assume the following:

@coffnix
coffnix / cert-ssl-barrier.txt
Last active July 25, 2024 15:27
barrier SSL cert
# Linux (client)
cd ~/.local/share/barrier/SSL/
openssl req -x509 -nodes -days 3650 -sha256 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
# Windows (client)
cd %USERPROFILE%\AppData\Local\Barrier\SSL
openssl req -x509 -nodes -days 3650 -sha256 -subj "/CN=Barrier" -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem