Tuesday, February 20, 2018

[HowTo] Detect USB device attach/detach on MacOS in C#

var fileSystemWatcher = new FileSystemWatcher("/dev");
fileSystemWatcher.Created += (s, e) => { // handle USB device arrival };
fileSystemWatcher.Deleted += (s, e) => { // handle USB device removal };
fileSystemWatcher.EnableRaisingEvents = true;

Environment.SetEnvironmentVariable("MONO_MANAGED_WATCHER", "enabled");


Wednesday, February 7, 2018

[HowTo] Export and import Capture One keyboard shortcut set


Friday, February 2, 2018

How to change Raspberry Pi hostname

How to setup multiple WiFi networks on Raspberry Pi


How to connect to a Raspberry Pi Zero with a USB cable and SSH on Windows