Skip to content

Instantly share code, notes, and snippets.

View brav0charlie's full-sized avatar

Bill Clark brav0charlie

View GitHub Profile
@brav0charlie
brav0charlie / RBC_Zettelkasten_in_Logseq.css
Created March 28, 2023 20:24
RBC_Zettelkasten_in_Logseq.css: Roam Book Club Zettelkasten CSS in Logseq
/*
File: RBC_Zettelkasten_in_Logseq.css
Description:
This CSS file is my attempt at 'porting' the Roam Book Club Zettelkasten
CSS for use in Logseq.
NOTES:
- There are tags created for the three "projects" in the source css. You're intended
@brav0charlie
brav0charlie / vyos_autobuild.sh
Last active July 30, 2023 16:00
VyOS Image Build Scripts: Rename to autobuild.sh and isobuild.sh. Clone the vyos/vyos-build repo, change to that directory, then copy these two files into the directory. Run autobuild.sh, sit back and wait.
#!/bin/bash
# VyOS Build Branch (Rolling Release=current, Stable=equuleus, 1.2=crux)
BUILD_BRANCH="current"
# This should be your cloned vyos/vyos-build git repo
PROJECT_DIR="/home/billc/Projects/vyos-build"
# Your home directory
HOME_DIR="/home/billc"
@brav0charlie
brav0charlie / 99-git-commit_vyos.sh
Last active January 5, 2023 23:26
VyOS Git Commit & Push on Commit
#!/bin/vbash
# file: 99-git-commit
# description: Saves config commands & config json to files, commits to local
# git repo. Repo stored in /config/user-data/$CONFIG_REPO. Completes
# process with a push to the remote repo.
#
# This script is intended to be used as a post-commit hook, allowing
# for automated config backup in a git repo.
#
@brav0charlie
brav0charlie / .env
Last active October 9, 2022 01:39
Private CA with step-ca & Docker Compose
# NOTE: We're passing a cleartext password via an environment variable. If you're not
# comfortable with this, there's a manual setup process available in the Docker
# Hub page for smallstep/step-ca (https://hub.docker.com/r/smallstep/step-ca).
#
# If you're using your own DNS server(s) to resolve internal hostnames, enter
# them in the DNS1 and DNS2 fields. If not, leave these null and delete the DNS
# section (lines 26 - 28) in docker-compose.yml.
#
@brav0charlie
brav0charlie / AdGuardHome-DNSOnly-docker-compose.yml
Last active March 9, 2024 13:52
AdGuard Home (No DHCP) in Docker using Docker-Compose
# NOTE: While AdGuard Home may be configured as a DHCP server, this is out
# out of scope for this docker-compose.yml file. Configuring the DHCP
# server requires using 'network_mode: host'.
#
# If you want to use the DHCP server feature, delete the 'network:'
# section (lines 20 & 21), as well as the entire 'ports:' section
# (lines 30 - 47). Then, just below the 'restart:' section (line 19)
# insert a line that reads 'network_mode: host'. The container will
# still reserve all the ports listed below, as well as 67 and 68 for
# DHCP, but there's no need to map them in the docker-compose.yml file
@brav0charlie
brav0charlie / graylog-docker-compose.yml
Last active October 7, 2022 23:04
Graylog 4.3 in Docker using docker-compose
# IMPORTANT NOTE: Make sure you replace the GRAYLOG_PASSWORD_SECRET on line 53 with one you generate. You must
# also replace the GRAYLOG_ROOT_PASSWORD_SHA2 on line 56 with one you generate. This stack will
# not load without these passwords defined.
#
# Data is persisted using the three volumes created below. Port 9200 is exposed on the Elasticsearch
# container allowing you to spin up a Grafana container to use for visulization as well.
#
version: '3'
@brav0charlie
brav0charlie / keybase.md
Last active October 12, 2022 03:54
Keybase.io GitHub Proof File

Keybase proof

I hereby claim:

  • I am brav0charlie on github.
  • I am billclark (https://keybase.io/billclark) on keybase.
  • I have a public key whose fingerprint is FC45 8338 FBE8 157D 4BAA DB6A E325 D78B FBED 8376

To claim this, I am signing this object: