Skip to content

Instantly share code, notes, and snippets.

View dwoffinden's full-sized avatar
😄

Daniel Woffinden dwoffinden

😄
View GitHub Profile
@dwoffinden
dwoffinden / endscopetool.py
Last active September 27, 2025 16:13 — forked from RaphaelWimmer/endscopetool.py
Python implementation of the endscopetool (sic!) Android application used for the Vitcoco ear wax remover camera thingy.
#!/usr/bin/env python3
# Python implementation of the endscopetool (sic!) Android application used for the Vitcoco ear wax remover camera thingy.
# CC-0 / Public Domain
# (0) 2023 Raphael Wimmer
# v0.1.0
# reverse-engineered using a packet capture log - this means that I have no idea what all those magic numbers mean
# and whether there are further features that might be supported by the hardware
# usage: first connect to the 'softish-XXXX' wifi, then run this script. Check code for keyboard shortcuts.
import socket
@dwoffinden
dwoffinden / doh-server.nix
Last active October 19, 2024 04:52
Ad-blocking DNS-over-TLS/HTTPS server w/ NixOS & Knot Resolver. Pi-hole alternative.
# Copyright 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
{ config, pkgs, ... }:
let
# https://github.com/StevenBlack/hosts/issues/451
# https://github.com/ScriptTiger/Hosts-Conversions
# https://github.com/ScriptTiger/scripttiger.github.io
# https://scripttiger.github.io/alts/
adblockLocalZones = pkgs.stdenv.mkDerivation {
name = "adblock-rpz";

Keybase proof

I hereby claim:

  • I am dwoffinden on github.
  • I am dwoffinden (https://keybase.io/dwoffinden) on keybase.
  • I have a public key whose fingerprint is 46FC 889E BC38 100E 51E8 3245 F3EA 503B 360F BD40

To claim this, I am signing this object: