Thanks to /u/zpoo32 for reporting several issues in this list!
- deemix: just the cli and the library
- deemix-pyweb: the app with a GUI
- deemix-server: just the server part of deemix-pyweb
| #!/usr/bin/env python3 | |
| """Listen to and print JACK client/port meta-data changes.""" | |
| import jack | |
| PROPERTY_CHANGE_MAP = { | |
| jack.PROPERTY_CREATED: 'created', | |
| jack.PROPERTY_CHANGED: 'changed', | |
| jack.PROPERTY_DELETED: 'deleted' |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # timebase.py | |
| # | |
| """A simple JACK timebase master.""" | |
| import argparse | |
| import sys | |
| import time |
| #!/bin/bash | |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # kevin gallagher (@ageis) <[email protected]> | |
| # normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here. | |
| ulimit -s unlimited | |
| export MYUID=$(id -u) | |
| export USER="$(id -un)" | |
| if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then |
| /* | |
| * alsa-query.c - print hardware capabilities of ALSA device | |
| * | |
| * compile with: gcc -o alsa-query alsa-query.c -lasound | |
| */ | |
| #include <stdio.h> | |
| #include <alsa/asoundlib.h> | |
| #define ARRAY_SIZE(a) (sizeof(a) / sizeof *(a)) |
| #!/bin/sh | |
| # Source: https://faq.i3wm.org/question/2172/how-do-i-find-the-criteria-for-use-with-i3-config-commands-like-for_window-eg-to-force-splashscreens-and-dialogs-to-show-in-floating-mode.1.html | |
| # i3-get-window-criteria - Get criteria for use with i3 config commands | |
| # To use, run this script, then click on a window. | |
| # Output is in the format: [<name>=<value> <name>=<value> ...] | |
| # Known problem: when WM_NAME is used as fallback for the 'title="<string>"' criterion, | |
| # quotes in "<string>" are not escaped properly. This is a problem with the output of `xprop`, | |
| # reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=66807 |
| // pixar.cpp | |
| // Ran through clang-format, then commented | |
| // Also changed text to "HIRE ME" and used fork() | |
| // to have 4 child processes for easy multithreading | |
| // | |
| // Original by Andrew Kensler | |
| // Edits by Adrian Biagioli | |
| #include <stdlib.h> // card > pixar.ppm |
| #!/bin/bash | |
| # This script is intended to make switching between laptop and external displays easier when using i3+dmenu | |
| # To run this script, map it to some shortcut in your i3 config, e.g: | |
| # bindsym $mod+p exec --no-startup-id $config/display.sh |
Thanks to /u/zpoo32 for reporting several issues in this list!
| #!/usr/bin/env bash | |
| # requires jq | |
| DISPLAY_CONFIG=($(i3-msg -t get_outputs | jq -r '.[]|"\(.name):\(.current_workspace)"')) | |
| for ROW in "${DISPLAY_CONFIG[@]}" | |
| do | |
| IFS=':' | |
| read -ra CONFIG <<< "${ROW}" | |
| if [ "${CONFIG[0]}" != "null" ] && [ "${CONFIG[1]}" != "null" ]; then |
| #!/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 |