Skip to content

Instantly share code, notes, and snippets.


Dwight Spencer denzuko

View GitHub Profile
denzuko / stunnel.conf
Created Oct 1, 2022 — forked from nealey/stunnel.conf
stunnel configuration to connect to SSL+IRC
View stunnel.conf
client = yes
accept = 58697
connect =
denzuko / Dockerfile
Last active Jul 4, 2022
Docker image release for newsraft
View Dockerfile
FROM python:latest as build
COPY . /src
ENV DEBIAN_FRONTEND=noninteractive
RUN apt install -y libncurses5-dev libncursesw5-dev libsqlite3-dev libcurl-dev libexpat-dev libyajl-dev libgumbo-dev scdoc meson ninja-build
meson setup builddir && \
meson compile -C builddir
FROM scratch
COPY --from=build /src/builddir/* /
denzuko / Makefile
Last active Jun 23, 2022
Code for
View Makefile
SRC := $(wildcard *.m4a.mp3)
TARGET := $(subst mpa.mp3,mp3,$(SRC))
%.mp3: %.m4a.mp3:
@mv "$@" "$<"
all: $(TARGET)
denzuko / Makefile
Last active Jun 10, 2022
Yet Another Ansible clone of ssh+make in GNU Make
View Makefile
## Execute:
## NUM_THREADS=4 make --jobs=${NUM_THREADS} RHOSTS="host1.local host2.local host3.local" CMD="whoami" RUSER="${USER}"
## RUNTIME flags
CMD := uptime
RUSER := root
denzuko / fabrio.nomad
Last active Mar 4, 2022
Cluster Jobs - nomad, waypoint, terraform, consul-template, etc..
View fabrio.nomad
job "Fabio-Install" {
datacenters = ["dc1"]
type = "sysbatch"
group "Service" {
task "Start service" {
driver = "raw_exec"
artifact {
source = ""
View radio.js
import Eris from "eris";
const dataFactory = (error, value) => ({
error: Boolean(error),
data: value
export default class Radio extends Eris {
constructor(props) {
super(props.token || "");
denzuko / user-data.yaml
Created Jan 17, 2022
Example user-data
View user-data.yaml
# vim: set ts=2 sw=2 filetype=yaml:
hostname: pi.local
manage_etc_hosts: true
- name: pirate
gecos: "Hypriot Pirate"
denzuko / README
Last active Dec 14, 2021 — forked from artiee/README
Test setup for requirejs, backbone, underscore, handlebars...
Create the structure above and download the required libraries
*** You must run this on server (e.g. on a local Apache or Node.js) because RequireJS's text-plugin won't be able to fetch the required handlebar-templates due to browser-security. ***
View console.log
$ sudo apt-get update
... # trunicated # ...
Ign jessie/main Translation-en
Ign jessie/contrib Translation-en_US
Ign jessie/contrib Translation-en
Ign jessie/main Translation-en_US
Ign jessie/main Translation-en
Ign jessie/non-free Translation-en_US
Ign jessie/non-free Translation-en
Ign jessie/rpi Translation-en_US