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
\documentclass[border=5pt]{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{arrows, calc, chains, positioning} | |
\begin{document} | |
\begin{tikzpicture}[node distance = 4mm and 0mm, | |
box/.style = {shape=rectangle, draw, minimum size=2em, outer sep=0pt, on chain=#1}, | |
sum/.style = {shape=circle, draw, inner sep=0pt, node contents={$+$}}, | |
every path/.append style = {-latex'} |
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 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import base64 | |
import binascii | |
import getpass | |
import logging | |
import pprint | |
import re | |
import textwrap |
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
#!/bin/sh | |
vfio_bind() { | |
# Unbind framebuffer | |
printf 0 > /sys/class/vtconsole/vtcon0/bind || printf 'Failed to unbind vtcon0.\n' | |
printf 0 > /sys/class/vtconsole/vtcon1/bind || printf 'Failed to unbind vtcon1.\n' | |
printf 'efi-framebuffer.0' > /sys/bus/platform/drivers/efi-framebuffer/unbind || printf 'Failed to unbind efi-framebuffer.\n' | |
# Load vfio-pci | |
modprobe vfio-pci |
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 | |
""" | |
Alternative lp2gh JSON Importer for Mixxx issue migration | |
You can install this like this: | |
$ python3 -m venv venv | |
$ source venv/bin/activate | |
$ pip install PyGithub |
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 yaml | |
SERVERS = [ | |
( | |
"asyncssh", | |
"images/asyncssh", | |
22000, | |
[ | |
"2.0.0", |
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
lyrics: | |
bing_lang_from: [] | |
auto: yes | |
bing_client_secret: REDACTED | |
bing_lang_to: | |
google_API_key: REDACTED | |
google_engine_ID: REDACTED | |
genius_api_key: REDACTED | |
fallback: | |
force: no |
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
TITLE "Die Schatzinsel" | |
PERFORMER "Robert Louis Stevenson gelesen von Simon Jäger" | |
FILE "Schatzinsel_CD1-5.mp3" MP3 | |
TRACK 01 AUDIO | |
REM "CD 1 - Teil 1: Der alte Freibeuter" | |
PERFORMER "Robert Louis Stevenson gelesen von Simon Jäger" | |
TITLE "1. Kapitel: Der alte Seehund im Admiral Benbow" | |
INDEX 01 00:00:00 | |
TRACK 02 AUDIO | |
PERFORMER "Robert Louis Stevenson gelesen von Simon Jäger" |
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 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import pyaudio | |
import rtmidi | |
import usb | |
RTMIDI_APIS = [ | |
rtmidi.API_MACOSX_CORE, | |
rtmidi.API_LINUX_ALSA, |
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 logging | |
import requests | |
import urllib.parse | |
import netrc | |
import pprint | |
class BearerAuth(requests.auth.AuthBase): | |
def __init__(self, token): |
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 | |
""" | |
Alternative lp2gh JSON Importer for Mixxx issue migration | |
You can install this like this: | |
$ python3 -m venv venv | |
$ source venv/bin/activate | |
$ pip install PyGithub |
NewerOlder