Skip to content

Instantly share code, notes, and snippets.

View mikewaters's full-sized avatar

Mike Waters mikewaters

  • Dealertrack
View GitHub Profile
# Luxafor via Python
# Dave Irvine www.daveirvine.me @dave_irvine
# Get PyUSB from:
# http://walac.github.io/pyusb/
#!/usr/bin/python
import usb.core
import usb.util
@mikewaters
mikewaters / macOS_SytemPrefs.md
Created August 8, 2023 15:33 — forked from rmcdongit/macOS_SytemPrefs.md
Apple System Preferences URL Schemes

macOS 10.15 System Preference Panes

Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

tell application "System Preferences"
	set CurrentPane to the id of the current pane
	set the clipboard to CurrentPane
@mikewaters
mikewaters / init.lua
Last active July 5, 2024 21:19 — forked from ebai101/init.lua
reason pinch zoom
--[[
Pinch zoom script for Reason
This file should be put in the ~/.hammerspoon directory
or just click Open Config in the Hammerspoon menu and paste all of this in
To use, just pinch with the trackpad while in the sequencer.
Hold shift to zoom in on the playhead instead of the cursor
Hold command to zoom vertically
]]
@mikewaters
mikewaters / Sync-Database-Notes-20250101.md
Created January 1, 2025 19:45
Snapshot of local first-adjacent technologies for data synchronization research
tags
active

Sync Database Notes

Non-exhaustive

Sync Platforms

Workloads that provide a synchronization mechanism between a local and remote state store.