Skip to content

Instantly share code, notes, and snippets.

View joshhsoj1902's full-sized avatar

Josh Bryans joshhsoj1902

  • Accelerant
  • Ottawa
  • 02:45 (UTC -04:00)
View GitHub Profile
@aarondewindt
aarondewindt / docker.service
Last active November 26, 2025 18:26
Setup docker on the steamdeck
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target docker.socket firewalld.service containerd.service time-set.target
Wants=network-online.target containerd.service
Requires=docker.socket
[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
@tprelog
tprelog / enable-docker.sh
Last active October 30, 2024 20:38
Use docker-compose on TrueNAS SCALE 22.12 (Bluefin) without Kubernetes
#!/usr/bin/env bash
#
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes)
#
# This script is a hack! Use it at your own risk!!
# Using this script to enable Docker is NOT SUPPORTED by ix-systems!
# You CANNOT use SCALE Apps while using this script!
#
# 1 Create a dedicated Docker dataset in one of your zpools
@neutmute
neutmute / dimmer.rules
Last active February 8, 2026 00:41
openhab universal dimmer
import org.openhab.core.model.script.ScriptServiceUtil
/*
# UniversalDimmer for OpenHAB
Reliably dim or colour lights or change volume of a target value over a set period of time
Thread: https://community.openhab.org/t/rule-to-slowly-fading-in-or-out-any-given-item-based-on-variables/54988/30?u=habau
Source: https://gist.github.com/neutmute/6a8e44f300b2b5a4971630371cd0dd97
Requires the RegEx transformation to be installed
*/