Skip to content

Instantly share code, notes, and snippets.

@redconfetti
redconfetti / resources.md
Last active April 1, 2024 05:27
Clockwork Pi uConsole Resources
@redconfetti
redconfetti / rpibat.sh
Last active March 29, 2024 18:59
View Battery Level in Clockwork Pi uConsole terminal
#!/bin/bash
BATTERY_DIR="/sys/class/power_supply/axp20x-battery"
echo "$(cat $BATTERY_DIR/capacity)%"
echo "Health: $(cat $BATTERY_DIR/health)%"
echo "Current: $(cat $BATTERY_DIR/current_now)%"
echo "Voltage: $(cat $BATTERY_DIR/voltage_now)%"
@redconfetti
redconfetti / access-virus-ti-firmware.md
Created March 27, 2024 10:45
Access Virus TI Firmware

Access Virus TI Firmware

Download the "Virus TI Installer 5.1.7.00 for macOS" from Virus.info. The file should save as "Virus TI Software Suite 5.1.7.00.pkg". Rename the file as "virus.pkg".

Open a terminal and run the following command to copy the firmware binary to your local path:

$ pkgutil --expand-full virus.pkg virus_pkg
$ ls "virus_pkg/Core_components.pkg/Payload/Library/Application Support/Access Music/Virus TI/Common"
@redconfetti
redconfetti / alesis-quadrasynth-qs-series.md
Last active March 20, 2024 03:52
Alesis Quadrasynth / QS Series

Alesis Quadrasynth / QS Series

[Alesis Studio Electronics][] was founded in 1984 in Hollywood, California. Initially started by selling digital effects processors at a price more accessible to home project studios, they branched out into sequencers, drum machines, and revolutionized the audio industry by introducing the ADAT digital tape standard.

The [Alesis Quadrasynth series][] seems to be named after the QuadraVerb 2 FX processor that was developed for the [QuadraVerb 2 multi-effects][] unit

@redconfetti
redconfetti / moog-sub-37.xml
Last active March 7, 2024 05:02
Moog Sub 37 MIDI Device Configuration for Cubase
<?xml version="1.0" encoding="utf-8"?>
<MidiDevices>
<list name="Devices" type="obj">
<obj class="PMidiParameterDevice" ID="140502802700288">
<int name="RuntimeID" value="408"/>
<string name="DeviceNode Name" value="Moog Sub 37" wide="true"/>
<string name="ClassName" value="Midi Device"/>
<string name="IDString" value="Moog Sub 37"/>
<list name="Children" type="obj">
<obj class="PMidiDeviceNode" ID="140501191468944">
@redconfetti
redconfetti / README.md
Created February 6, 2024 04:26
Moog Subsequent 37 - Cubase MIDI Device Manager Setup

README

In Cubase 13 under Studio > More Options > MIDI Device Manager, click on 'Import Setup' and import moog-sub-37-cubase-midi-device.xml so that Cubase supports all the default patch names in the Program Selector menu of your MIDI tracks.

@redconfetti
redconfetti / cleanup.sh
Created November 7, 2023 03:13
Cleanup Builds Directory
#!/bin/bash
# Cleanup Builds
#
# Obtains latest Git commit SHAs from branches in remote origin
# and assembles an array of build filenames to retain in a build directory (e.g. app-build-$commit_sha.war)
# Runs command to remove all found files except those identified in array
readonly BUILD_DIR=./builds
[
{
"google_experiment_mod3": "367",
"numbered": "true",
"google_experiment_mod": "42",
"size": "42",
"titled": "true",
"background": "#000",
"google_experiment_mod2": "942",
"options": "{\"charts\":{\"cards\":\"Untitled Chart\"},\"chosen\":\"cards\"}",
@redconfetti
redconfetti / main.yml
Created March 4, 2016 04:04
Ansible - Remote User Config
# /ansible/roles/remote-user/tasks/main.yml
#
---
- name: Test Default SSH port
local_action: wait_for port=22 timeout=5 host={{inventory_hostname}}
register: default_ssh
ignore_errors: true
- name: set ansible_ssh_port to default
set_fact: ansible_ssh_port=22