Skip to content

Instantly share code, notes, and snippets.

View godber's full-sized avatar
😺

Austin Godber godber

😺
View GitHub Profile
@godber
godber / README.md
Created May 19, 2023 12:59 — forked from tomdaley92/README.md
Proxmox - Email Alerts Setup (gmail)

Proxmox - Email Alerts Setup (gmail)

  1. SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.

    apt update
    apt install -y libsasl2-modules mailutils
  2. Enable 2FA for the gmail account that will be used by going to security settings

@godber
godber / grant_github_user_access
Last active May 6, 2023 21:25 — forked from mattwillsher/grant_github_user_access
A script to pull SSH keys for a give GitHub user and add those keys to the current users authorized_keys file.
#!/bin/bash
#
# (c)2014 Matt Willsher <[email protected]>
#
# Licensed under GPLv3 http://www.gnu.org/licenses/gpl.txt
#
umask 077
if [[ $EUID == 0 ]]; then
echo "This script can't be used as root" >&2
@godber
godber / README.md
Last active October 7, 2024 09:19
Vector mTLS Demo

Example Vector mTLS

Testing to confirm that mTLS works in Vector to Vector connections.

Alice and Bob are mutually authenticated using their own TLS self signed certificates. A malicious attacker, Mallory, can not impersonate Alice, nor can they impersonate Bob if both Alice and bob set tls.verify_certificate = true and set tls.ca_file to the other's self signed certificate.

@godber
godber / LICENSE.md
Created December 30, 2022 13:50 — forked from sj26/LICENSE.md
Bash retry function

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit

#!/bin/bash
set -e
. /etc/default/backup
INSTANCE=$1
case $INSTANCE in
#!/bin/bash
set -e
#imports
. /etc/default/backup
# config
NAME=$1
@godber
godber / README.md
Last active November 16, 2022 01:30
western.social public notes

western.social - Public Notes

western.social is a network of Mastodon sites targetted at microbloggers in the Western US. There is a site for each state, like az.social, and one premium site western.social which will be launched later and may have advanced features.

The sites are operated by Austin Godber ([email protected]) and XXXX. The sites will cover costs through tiered subscriptions and "sponsorships" which are effectively banner ads without the tracking.

@godber
godber / config.yaml
Created September 13, 2022 23:03
vector.dev sample json
---
api:
enabled: true
data_dir: /tmp/vector-data-dir
sources:
demo:
type: "demo_logs"
format: "json"
interval: 2.0
transforms:
@godber
godber / README.md
Last active November 20, 2021 16:22
WebXR Presentation - Phx VR For Good - Dec 2021

Intro to WebXR Presentation - Phx VR For Good - Dec 2021

Presentation Summary

This presentation will provide an introduction to creating WebXR applications. It outlines the current set of technologies that support WebXR and look at some demos to better understand what is possible. It will also present a simple "Hello World" immersive web application implemented using A-Frame, a HTML and Javascript WebXR framework.

Bio - Austin Godber

Austin has been dabbling in XR for the last few years trying to gain a broad understanding of immersive technologies. He currently builds distributed petabyte scale data systems on Kubernetes. In the past, he calibrated and operated cameras on NASA’s MER and MSL Mars rovers, wrangled virtual penguins for JumpBox and helped start a Municipal WiFi company.

@godber
godber / print-date.py
Last active December 9, 2019 01:38
DesertPy CI Examples
#!/usr/bin/env python
from dateutil.rrule import rrule, MONTHLY, WE, SA
from datetime import datetime
def main(year):
saturday_dates = list(
rrule(
freq=MONTHLY,
count=12,