Skip to content

Instantly share code, notes, and snippets.

View frrist's full-sized avatar
🌶️
Making storage hot.

Forrest frrist

🌶️
Making storage hot.
View GitHub Profile
@hvoecking
hvoecking / translate.go
Last active January 22, 2025 05:35
Golang reflection: traversing arbitrary structures
// Traverses an arbitrary struct and translates all stings it encounters
//
// I haven't seen an example for reflection traversing an arbitrary struct, so
// I want to share this with you. If you encounter any bugs or want to see
// another example please comment.
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Heye Vöcking
//
@coreygo
coreygo / SynciTunesLibrary.md
Last active July 2, 2021 05:03
Brief guide to running iTunes with a NAS iTunes Media folder.

2021-07-01: Deprecated. This scenario and the hacks involved likely still work, but I'm no longer using this in lieu of simply organizing and tagging with MusicBrainz Picard and using Plex Media Server instead of iTunes.

Keeping iTunes in sync.

Unfortunately storing a TB+ of music is a real challenge on a laptop with only a 256GB SSD. Luckily with lunchy (a launchd wrapper), rsync, automator and a little magic the task is made simpler.

One might want to use this with a Gbps fiber connection and VPN. If you're using a Synology NAS it's entirely possible to configure the VPN, DNS, DHCP, etc directly. Some may prefer however to set up a VPN on the router for better isolation. The latter is my preferred method.

Polishing your gems