Skip to content

Instantly share code, notes, and snippets.

View nbergen's full-sized avatar

Nate Bergen nbergen

  • Seattle
  • 18:08 (UTC -07:00)
View GitHub Profile
@nbergen
nbergen / octoprint_ackackack.py
Last active April 7, 2024 19:21 — forked from Mauker1/octoprint_ackackack.py
OctoPrint-AckAckAck. Install by placing octoprint_ackackack.py in ~/.octoprint/plugins or (OctoPrint 1.8.3+) by pasting the RAW(!) gist URL into Plugin Manager > Get More > from URL
# coding=utf-8
from __future__ import absolute_import
import octoprint.plugin
import logging
from collections import deque
class AckAckAckPlugin(octoprint.plugin.StartupPlugin, octoprint.plugin.SettingsPlugin, octoprint.plugin.EventHandlerPlugin):
@nbergen
nbergen / paperless.yaml
Last active December 16, 2023 17:33 — forked from integrii/paperless.yaml
Kubernetes specs to bootstrap paperless-ngx including dependent services.
# Once you apply this and your containers come online, you need to exec into the web service and run `./manage.py createsuperuser`.
# Change the postgresql password in this spec.
# This spec assumes you want NodePort services and not LoadBalnancer services.
# This spec assumes that you want to mount all your volumes under a hostPath of /data/paperless.
# This spec assumes that you want all pods on a node called k8s-worker5.
apiVersion: v1
kind: Namespace
metadata:
name: paperless