Skip to content

Instantly share code, notes, and snippets.

View mxmilkiib's full-sized avatar
🔊

Milkii Brewster mxmilkiib

🔊
View GitHub Profile
# m_drums.py - mididings drum kit switcheroo
from mididings import *
# for toggling cc state
from mididings.event import *
# for livedings
from mididings.extra.osc import OSCInterface
@mxmilkiib
mxmilkiib / m_control.py
Last active April 9, 2017 18:31
m_control.py
# m_control.py - mididings nano control switcheroo
from mididings import *
# for toggling cc state
from mididings.event import *
# auto restart - doesn't work - loads "mididings-01" client if not manually restarted
# from mididings.extra.inotify import AutoRestart
This file has been truncated, but you can view the full file.
execve("/usr/bin/DNSCryptClient", ["DNSCryptClient"], 0x7ffc417251b0 /* 67 vars */) = 0
brk(NULL) = 0x562d94132000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=421751, ...}) = 0
mmap(NULL, 421751, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe4143f6000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libKF5Auth.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pq\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=100104, ...}) = 0
This file has been truncated, but you can view the full file.
_Z21qRegisterResourceDataiPKhS0_S0_(2, 0x564a5c56f6a0, 0x564a5c56f4a0, 0x564a5c548320) = 1
__cxa_atexit(0x564a5c544132, 0x564a5c77a890, 0x564a5c77a878, 0) = 0
_Z21qRegisterResourceDataiPKhS0_S0_(2, 0x564a5c56f6a0, 0x564a5c56f4a0, 0x564a5c548320) = 1
_ZN12QApplicationC1ERiPPci(0x7ffdb041ec20, 0x7ffdb041ec0c, 0x7ffdb041edf8, 0x50a00) = 0x564a5d918c00
strlen("DNSCryptClient") = 14
_ZN7QString16fromAscii_helperEPKci(0x564a5c544258, 14, 14, 600) = 0x564a5d9118e0
_ZN16QCoreApplication19setOrganizationNameERK7QString(0x7ffdb041ec18, 14, 0x564a5d9118e0, 0) = 0
_ZN16QCoreApplication18setApplicationNameERK7QString(0x7ffdb041ec18, 16, 0, 4) = 0
_ZN11QMainWindowC2EP7QWidget6QFlagsIN2Qt10WindowTypeEE(0x7ffdb041ec30, 0, 0, 14) = 0
_ZN9QSettingsC1EP7QObject(0x7ffdb041ecc0, 0, 0x564a5c778338, 0x7f769324d2ec) = 0
@mxmilkiib
mxmilkiib / PKGBUILD
Last active January 24, 2018 12:22
Arch Linux PKGBUILD for helio-workstation
# Maintainer: Milk Brewster <aur@milkmiruku.com>
_pkgname=helio-workstation
pkgname="${_pkgname}-git"
pkgver=r308.f8e4225
pkgrel=1
pkgdesc="A high-performance MIDI sequencer with a clean interface, version control, VST support and more"
arch=('x86_64')
url="https://helioworkstation.com/"
license=('GPL3')
#!/usr/bin/env python
# m_ctrl.py - mididings things
# scene_1 maps s/m/r buttons to seq64 pattern grid
# scene_2 to map control to a channel strip
# http://dsacre.github.io/mididings/doc/genindex.html
from mididings import *
# for sending LED scene changes
@mxmilkiib
mxmilkiib / PKGBUILD
Last active April 11, 2018 02:02
milk-meta PKGBUILD - includes AUR!!!
# Maintainer: Your Name <milk on freenode>
pkgname=milk-meta
pkgver=0.1
pkgrel=1
epoch=
pkgdesc="Package bootstrap"
arch=('x86_64')
url=""
license=('GPL')
groups=()
@mxmilkiib
mxmilkiib / trello-list-color-userscript.js
Last active April 30, 2018 19:01
Trello List Column Colours
// ==UserScript==
// @name Trello List Column Colours
// @description Highlight certain columns in Trello.
// @include https://trello.com/b/AdniCH2y/to-do
// @require https://code.jquery.com/jquery-1.11.0.min.js
// @version 2.1
// @copyright 2014, Gareth J M Saunders
// ==/UserScript==
$(document).ready(function() {
@mxmilkiib
mxmilkiib / m_ctrl.py
Last active July 1, 2018 06:11
mididings script - scene_1 maps nanokontrol2 s/m/r button leds to the first three rows in seq64. subscenes of scene_2 are for channel strip effects.
#!/usr/bin/env python
# m_ctrl.py - mididings things
# scene_1 maps s/m/r buttons to seq64 pattern grid
# scene_2 to map control to a channel strip
# http://dsacre.github.io/mididings/doc/genindex.html
from mididings import *
# for sending LED scene changes
@mxmilkiib
mxmilkiib / hfh.sh
Last active August 13, 2018 12:13
hfh.sh - quick three partition (512M boot, 1G swap, everything else) fdisk script (paravirtualizated device path)
#!/usr/bin/env bash
echo -e "n\n\n\n\n+512M\n n\n\n\n\n+1G\n n\n\n\n\n\n a\n1\n t\n2\n82\nw\n"|fdisk /dev/vda