Skip to content

Instantly share code, notes, and snippets.

View JeDaYoshi's full-sized avatar
🐦
[ HEAR WHAT I HEAR. ]

JeDaYoshi JeDaYoshi

🐦
[ HEAR WHAT I HEAR. ]
View GitHub Profile
@JeDaYoshi
JeDaYoshi / mkdist.sh
Last active October 14, 2021 21:51
tinc build script
#!/bin/bash
set -xe
if [[ $EUID -ne 0 ]]; then
fakeroot $0
exit $?
fi
umask 022
VERSION=$(git rev-parse --short HEAD)
autoreconf -fsi
./configure --prefix=/opt/tinc
@JeDaYoshi
JeDaYoshi / keybase.md
Created October 26, 2020 15:17
Keybase proof

Keybase proof

I hereby claim:

  • I am jedayoshi on github.
  • I am jedayoshi (https://keybase.io/jedayoshi) on keybase.
  • I have a public key ASCQxaktjg2sl6ajDC_FuFrwPI8s0MH1q_7ypwO9WCOYJQo

To claim this, I am signing this object:

@JeDaYoshi
JeDaYoshi / Caddyfile
Last active September 9, 2020 19:50
Caddy 1 example configuration for cryb
# example config for reverse proxy in caddy for Cryb
# change cryb.app for your domain
# also setup TLS according to your setup
# - jeda.im
# @cryb/web
cryb.app {
proxy / 127.0.0.1:3000 {
transparent
}
@JeDaYoshi
JeDaYoshi / cryb.app
Last active September 9, 2020 19:49
nginx example configuration for Cryb
# example config for reverse proxy in nginx for Cryb
# change cryb.app for your domain
# also make a SSL certificate that applies either to all of your subdomains or cryb.app and *.cryb.app
# also setup your server to forward HTTP requests to HTTPS, if you want to keep that.
# - jeda.im
# default config - use this if you're dedicating your web
# server for Cryb, or edit as your convenience
server {
listen 80 default_server;