Skip to content

Instantly share code, notes, and snippets.

@aenniw
aenniw / armbianEnv.txt
Last active September 4, 2018 18:08
Volumio for OrangePiZero
verbosity=1
logo=disabled
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=i2c0 usbhost2 usbhost3 spi-spidev
param_spidev_spi_bus=1
rootdev=/dev/mmcblk0p2
rootfstype=ext4
user_overlays=sun8i-h3-i2s0
@aenniw
aenniw / Reamde.md
Last active January 14, 2021 16:24

Emby to SamyGo B650 thumbnail exporter

usage:

./emby-thumbnails.py -u http://192.168.0.1:8096 -t 4a4cr9eaddda4e0283099ec02aa81d02 -s /media/library -d /meadiathumbnails
@aenniw
aenniw / blockZscProxy.sh
Created February 2, 2023 15:55
OSX Zscaler proxy disable
#!/bin/bash
ANCHOR=zsc_proxy
ANCHOR_FILE=/etc/pf.anchors/${ANCHOR}
ROOT_ANCHOR=/etc/pf.conf
if ! cat ${ROOT_ANCHOR} | grep -q '^anchor "'${ANCHOR}'"'; then
echo "Backup ${ROOT_ANCHOR}"
sudo cp "${ROOT_ANCHOR}" "${ROOT_ANCHOR}.backup"