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
// https://www.shadertoy.com/view/XlBcRV | |
//RWTexture2D<float4> outputTexture : register(u0); | |
Texture2D<float4> inputTexture : register(t0); | |
sampler texSampler : register(s0); | |
cbuffer ParamConstants : register(b0) | |
{ | |
float4 Fill; | |
float4 Background; |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<lexml version='3'> | |
<node ID='0e19ffe6-c09d-11ec-8b4f-3c7c3fd88cf0' type='GROUP'> | |
<properties> | |
<property type='b'> | |
<key><![CDATA[background]]></key> | |
<value>1</value> | |
</property> | |
<property type='c'> | |
<key><![CDATA[color]]></key> |
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
jzq() { | |
local in | |
temp=`mktemp` | |
while read in; do | |
echo "$in" >> $temp | |
done | |
fzf --print-query --preview \ | |
"cat $temp | jq {q} | bat -l json --color always -n -p" \ | |
--preview-window 'top,99%' --reverse --no-info <<< '' | |
rm $temp |
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
--[[---------------------------------------------------------------------------- | |
-- Duplex.MIDI-Fighter-Twister | |
----------------------------------------------------------------------------]]-- | |
duplex_configurations:insert { | |
-- configuration properties | |
name = "Mix", | |
pinned = true, |
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
--[[---------------------------------------------------------------------------- | |
-- Duplex.MIDI-Fighter-Twister | |
----------------------------------------------------------------------------]]-- | |
duplex_configurations:insert { | |
-- configuration properties | |
name = "Mix", | |
pinned = true, | |
-- device properties |
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
--====================================================-- | |
-- Class: Midi | |
--====================================================-- | |
--Todo: midi in | |
class 'Midi' | |
function Midi:__init(midi_in_device_name,midi_out_device_name,omit_nrpn_lsb) | |
self.midi_channel = 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
-- random notes ranges are set according to my tastes, sorry about it. | |
local group_kick = Group { | |
name = "Kick", | |
Parameter { | |
-- not a tune per-se, it's the pitch envelope intensity. | |
-- we like the 909 here: | |
randomize_min = 70, | |
randomize_max = 110, | |
id = "ktune", name = "Tune", number = 100, type = "cc", default_value = 90 }, | |
Parameter { |
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
function pandonitor { | |
if [[ -f $1 ]]; then | |
while true; do | |
inotifywait -qq -e modify $1 | |
if [[ $2 == 'slides_owl' ]]; then | |
pandoc ${@:3} -t beamer -V theme:owl -o /tmp/pandonitor.pdf $1 | |
elif [[ $2 == 'slides_metro' ]]; then | |
pandoc ${@:3} -t beamer -V theme:metropolis -o /tmp/pandonitor.pdf $1 | |
elif [[ $2 == 'eis' ]]; then | |
pandoc ${@:3} --pdf-engine=xelatex --template eisvogel -o /tmp/pandonitor.pdf $1 --listings\ |
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
#!/usr/bin/env python3 | |
import os | |
import signal | |
import gi | |
gi.require_version('Gtk', '3.0') | |
gi.require_version('AppIndicator3', '0.1') | |
from gi.repository import Gtk, AppIndicator3 | |
import threading | |
from os import path | |
import time |
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
from __future__ import print_function | |
import sys | |
import scapy | |
from scapy_ssl_tls.ssl_tls import * | |
import socket | |
if __name__ == "__main__": |
NewerOlder