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
/* | |
* ParallelThread.h | |
* | |
* SPDX-License-Identifier: BSD-3-Clause | |
* | |
* Copyright (C) 2024 brummer <[email protected]> | |
*/ | |
/**************************************************************** | |
** ParallelThread - class to run a processes in a parallel thread |
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/python3 | |
# -*- coding: utf-8 -*- | |
guitarix_pgm = "guitarix -N -p 7000" | |
import socket, json, os, time, signal | |
import sys, tty, termios | |
from subprocess import check_output | |
class _Getch: |
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/python | |
# -*- coding: utf-8 -*- | |
guitarix_pgm = "guitarix -p 7000" | |
import socket, json, os, time | |
class RpcNotification: | |
def __init__(self, method, params): |
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
#include <cairo.h> | |
#include <cairo-svg.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <libgen.h> | |
// gcc -g png2svg.c -lm `pkg-config --cflags --libs cairo` -o png2svg | |
void strdecode(char *target, const char *needle, const char *replacement) { |
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
#include <stdio.h> | |
#include <errno.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <string.h> | |
#include <jack/jack.h> |