which I found via rotatedlife's post in
https://www.reddit.com/r/MacOS/comments/74scld/unable_to_turn_on_filevault_on_high_sierra_apfs/
func main() { | |
input := []string{ | |
"a", | |
"b", | |
"c", | |
"foo", | |
} | |
data := make(map[string][]string) |
#!/usr/bin/perl | |
# this needs a serious cleanup/rewrite - it was hacked together | |
# very quickly for a completely different purpose many years ago | |
# and has grown in the worst organic way since | |
# but ... it does work fairly well so it persists | |
# Copyright 2007-2011 A Tobey <[email protected]> | |
use strict; | |
use warnings; |
#!/bin/env python3 | |
# | |
# this is NOT a human-facing tool | |
# | |
# This is to replace the legacy data files being used to populate | |
# variables in a shell script and instead get them from the vars | |
# files even though that still feels weird. | |
# | |
# Example: | |
# azs=$(yamlpath.py roles/cassandra/vars/clusters.yml clusters/multitenant-us-east-1/availability_zones) |
This is a quick & dirty way to attach an Akai MPK mini 2 USB MIDI controller to Linux so the Linux machine can act as its synthesizer. This approach should work for any modern USB MIDI instrument.
I looked around on the web and, surprisingly, I didn't find any simple options for quickly starting Fluidsynth up and wiring it to a MIDI controller for simple keyboard usage. There are a few out there that involve using Qsynth which is cool but I didn't want a GUI for something relatively simple.
#!/usr/local/bin/perl | |
use warnings; | |
use strict; | |
use Config::ApacheFormat; | |
use Getopt::Long; | |
use File::Path; | |
use File::Basename; | |
use Net::SSH::Perl; | |
use Data::Dumper; # for debugging |
#!/bin/bash | |
# put this in /etc/dnsmasq.conf then start/restart it | |
# modify the interface= to point at the ethernet port the device is connected to | |
# optionally, set MAC address in the dhcp-host line to be the MAC of the device | |
#interface=enp0s31f6 | |
#dhcp-range=192.168.102.9,192.168.102.20,255.255.255.0,12h | |
#dhcp-host=70:58:12:a8:e5:35,192.168.102.10 | |
# set INTERNET_INTERFACE to the laptop's internet access interface, e.g. wifi interfaces |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
package hal | |
import ( | |
"regexp" | |
"time" | |
"github.com/netflix/hal-9001/hal" | |
) | |
/* hal.Cmd, hal.Param, hal.CmdInst, and hal.ParamInst are handles for hal's |
I hereby claim:
To claim this, I am signing this object: