Skip to content

Instantly share code, notes, and snippets.

@drewclauson
drewclauson / inspector.py
Created July 11, 2025 14:31 — forked from beamerblvd/inspector.py
Serial Sump Pump Inspecter
from __future__ import annotations
from collections.abc import (
Callable,
)
import datetime
import enum
import json
import os
import pathlib

USB Google Coral Automation on Proxmox

Google did some weird stuff with their Google Coral USB, it has two different VID:PID depending on if the device has been initialized or not, which can cause issues when automating USB passthrough to a VM. Here are the instruction to overcome said issues:

Init the google coral automatically

  1. Go into /usr/local/bin/ and create a coral-init folder
cd /usr/local/bin
mkdir coral-init
@drewclauson
drewclauson / rocky-docker.sh
Created May 2, 2023 18:41 — forked from ryanmaclean/rocky-docker.sh
Install Docker on Rocky Linux
#!/usr/bin/env bash
## Script to install docker-ce on Rocky Linux
## Run using `sudo rocky-docker.sh`
# Ensuring "GROUP" variable has not been set elsewhere
unset GROUP
echo "Removing podman and installing Docker CE"
dnf remove -y podman buildah
import csv
import sys
from collections import namedtuple
from datetime import datetime
import re
#
# OFX Specification: http://www.ofx.net/
#
# Instructions (as of 02/15/2015):
@drewclauson
drewclauson / karabiner-elements-remote-desktop.json
Created April 25, 2019 15:58 — forked from toonetown/karabiner-elements-remote-desktop.json
Karabiner Elements JSON configuration for Microsoft Remote Desktop
{
"title": "Microsoft Remote Desktop",
"rules": [
{
"description": "Windows Mappings",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "x", "modifiers": { "mandatory": [ "command" ] } },
"to": [ { "key_code": "x", "modifiers": [ "left_control" ] } ],
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Knock knock!',
userName: 'Emberman'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Knock knock!',
userName: 'Emberman'
});