Skip to content

Instantly share code, notes, and snippets.

View denzuko's full-sized avatar

Dwight Spencer ( denzuko

View GitHub Profile
denzuko / Dockerfile
Last active October 29, 2023 22:28
Docker based tasks for Airflow, k8s, and nomad.
FROM python:3.9.18-alpine3.18
RUN pip install pipx invoke[invocations] scrapy scapy beautifulsoup ansible[dockerpy,pywinrm]
COPY /src
CMD --list
denzuko /
Created October 23, 2023 04:10 — forked from scyto/
My Docker Swarm Architecture
## Execute: docker compose up -D ./docker-compose.yml
version: '3'
image: gianarb/orbiter:latest
test: ["CMD", "exit 0"]
interval: 25s
denzuko / docker-compose.yml
Created October 12, 2023 02:07 — forked from sairamkrish/docker-compose.yml
Airflow - Docker swarm setup
version: "3.8"
# This should give a high level idea of the approach.
# The complete solution is too complex and involves multiple internal microservices.
# I have tried to capture core things to consider while some else needs to achieve Docker swarm based auto scalout of workers.
image: customized/airflow:prod
denzuko / LICENSE
Last active June 9, 2023 02:37 — forked from justjkk/LICENSE
Parsing JSON with lex and yacc
The MIT License (MIT)
Copyright (c) 2015 J Kishore Kumar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
denzuko / 00-Intro
Last active January 6, 2023 17:41 — forked from Lanny/
File Hierarchy Preview
Leverging FZF for a user interface one can do fuzzy searching with a directory tree and document preview.
The creates that tree then colors the path thus giving a graph of the item searched.
Example Usage includes:
- More advance Poorman's Mindmap
- Person/Contact Graph as a filesystem
- Asset Mapping (with pass(1) and LDAP file system structures)
- Maps with stow
- Project Management / Kanboard
denzuko / stunnel.conf
Created October 1, 2022 07:30 — forked from nealey/stunnel.conf
stunnel configuration to connect to SSL+IRC
client = yes
accept = 58697
connect =
denzuko / Dockerfile
Last active July 4, 2022 19:28
Docker image release for newsraft
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 June 23, 2022 04:59
Code for
SRC := $(wildcard *.m4a.mp3)
TARGET := $(subst mpa.mp3,mp3,$(SRC))
%.mp3: %.m4a.mp3:
@mv "$@" "$<"
all: $(TARGET)