Don't use this gist, See the repository zfhrp6/mixxx_midi_mapping.
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 <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#define MAX_ARGS 50 | |
#define MAX_LEN 500 | |
int main(void) | |
{ |
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 Main: | |
def toggle(self, *args, **kwargs): | |
from pywinauto import Desktop, Application | |
Application().start('Rundll32.exe Shell32.dll,Control_RunDLL Mmsys.cpl,,1') | |
app = Application(backend='uia').connect(path='rundll32.exe', title='サウンド') | |
sound = app.window() | |
children = sound.child_window( | |
title='次のオーディオ録音デバイスがインストールされています:', control_type='List' |
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
// ==UserScript== | |
// @name Amazon URL canonicalizer | |
// @author zfhrp | |
// @description Replace Amazon product page url with canonical form (`https://amazon.co.jp/dp/XXXXXXXX/`) | |
// @homepageURL https://openuserjs.org/users/zfhrp | |
// @version 1.0.0 | |
// @match *://*.amazon.co.jp/dp/* | |
// @match *://*.amazon.co.jp/*/dp/* | |
// @match *://*.amazon.co.jp/gp/product/* | |
// @match *://*.amazon.co.jp/*/ASIN/* |
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.dark div.thread | |
{ | |
display: none; | |
} | |
html.dark .tweet-context | |
{ | |
margin-left: unset; | |
} |
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
// ==UserScript== | |
// @name YouTube short video normalizer | |
// @author zfhrp | |
// @description Replace YouTube short video page url with canonical form (`https://www.youtube.com/watch?v=XXXXXXXX`) | |
// @homepageURL https://openuserjs.org/users/zfhrp | |
// @version 1.0.0 | |
// @match *://www.youtube.com/shorts/* | |
// @icon https://www.youtube.com/s/desktop/82a4cf4f/img/favicon_32x32.png | |
// @run-at document-start | |
// ==/UserScript== |