This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import themidibus.*; | |
MidiBus midi; | |
String controllerName = "nanoKONTROL2 1 SLIDER/KNOB"; | |
int midiMax = 127; // Max slider/knob value & value when a button is pressed. | |
// Call this from sketch setup() | |
void initMidi() { | |
MidiBus.list(); | |
midi = new MidiBus(this, controllerName, -1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"defaultCommand":"g","bgColor":"#282828","textColor":"#ebdbb2","showClock":false,"alwaysNewTab":false,"gistID":"c2812fc44f9c5d1498c09fac050889ed","links":[]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[white]%}[" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}∆%{$fg[white]%}]%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_CLEAN="]%{$reset_color%} " | |
ZSH_THEME_SVN_PROMPT_PREFIX=$ZSH_THEME_GIT_PROMPT_PREFIX | |
ZSH_THEME_SVN_PROMPT_SUFFIX=$ZSH_THEME_GIT_PROMPT_SUFFIX | |
ZSH_THEME_SVN_PROMPT_DIRTY=$ZSH_THEME_GIT_PROMPT_DIRTY | |
ZSH_THEME_SVN_PROMPT_CLEAN=$ZSH_THEME_GIT_PROMPT_CLEAN | |
ZSH_THEME_HG_PROMPT_PREFIX=$ZSH_THEME_GIT_PROMPT_PREFIX | |
ZSH_THEME_HG_PROMPT_SUFFIX=$ZSH_THEME_GIT_PROMPT_SUFFIX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance force | |
; shift+f1 play/pause | |
+F1::Media_Play_Pause | |
; shift+f2 previous | |
+F2::Media_Prev | |
; shift+f3 next | |
+F3::Media_Next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>title</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/p5.js"></script> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0; | |
} | |
canvas { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BoldAsFont=-1 | |
Font=Anonymous Pro | |
FontHeight=13 | |
Scrollbar=none | |
ScrollMod=off | |
BackgroundColour=40,40,40 | |
ClicksPlaceCursor=yes | |
CursorType=block | |
Rows=35 |