Skip to content

Instantly share code, notes, and snippets.

View aphexddb's full-sized avatar
💭
We are all made of stars

Gardiner Allen aphexddb

💭
We are all made of stars
View GitHub Profile
@aphexddb
aphexddb / 40k_wargaming_model_base.scad
Created October 17, 2023 13:23
40k wargaming model base SCAD
base_diameter = 60;
base_ellipse_width = 35; // set to 0 to keep as circle
base_height = 4.3;
base_top_diameter_difference = 4;
wall_thickness = 1.5;
top_thickness = 1.5;
text_size = 4;
text_heigth = 1.2;
@aphexddb
aphexddb / readme.md
Last active March 14, 2023 20:49 — forked from avin/todo.txt
OPNSense development

Install FreeBSD packages in pfSense / OPNsense

  1. Make sure "enabled" key is set to "yes" in /etc/pkg/FreeBSD.conf
  2. Change "enabled: no" to "enabled: yes" in /usr/local/etc/pkg/repos/FreeBSD.conf
  3. Change "enabled: no" to "enabled: yes" in /usr/local/etc/pkg/repos/pfSense.conf for FreeBSD repo
  4. Now you're able to install packages from FreeBSD official repo

Setup SMB on FreeBSD https://blog.vulnifo.com/2021/09/17/how-to-setup-nfs-and-samba-on-freebsd-13/

@aphexddb
aphexddb / README.md
Last active January 19, 2019 19:14
Home Linux configurations

Network

Great writeup on setting up wifi VLAN and DMZ using pfsense and Ubuquti.

Samba

To ensure fileshares are not super slow, do some basic Samba perf tuning in /etc/samba/smb.conf:

[global]
@aphexddb
aphexddb / README.md
Last active May 30, 2018 18:36
Golang handler patterns

Example of using handlers in Golang to support a shared environment such as a logger, tracing and seperation of business logic from handlers.

To run a jaeger collector and UI run the following:

docker run -d -e \
  COLLECTOR_ZIPKIN_HTTP_PORT=9411 \
  -p 5775:5775/udp \
  -p 6831:6831/udp \
 -p 6832:6832/udp \
@aphexddb
aphexddb / pfsense.md
Last active December 15, 2017 20:26
pfsense notes

Install docker Install docker

curl -o docker-17.06.1.txz http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/docker-17.06.1.txz
pkg install ./docker-17.06.1.txz

curl -o ca_root_nss-3.34.1.txz http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/ca_root_nss-3.34.1.txz
pkg install ./ca_root_nss-3.34.1.txz
@aphexddb
aphexddb / GIF-Screencast-OSX.md
Created December 12, 2017 17:37 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@aphexddb
aphexddb / setup.sh
Created September 19, 2017 15:18
OSX Setup
#!/bin/bash
# super handy stuff
brew install jq aq thefuck the_silver_searcher wget curl
# dev
brew install maven protobuf
# devops
brew install docker-machine
@aphexddb
aphexddb / setup.sh
Created September 19, 2017 15:18
OSX Setup
#!/bin/bash
# super handy stuff
brew install jq aq thefuck the_silver_searcher wget curl
# dev
brew install maven protobuf
# devops
brew install docker-machine

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: