Skip to content

Instantly share code, notes, and snippets.


Matthias Küch snipem

  • Kassel, Germany
View GitHub Profile
snipem /
Created Mar 29, 2022
Tool for mirroring scapes in Gran Turismo 7 scape editor
#run: python3
import os
import time
from appscript import app, k
from pynput.keyboard import Key, Controller
keyboard = Controller()
A = "i"
snipem / Olympia2020.m3u8
Last active Jul 22, 2021
ARD Olympia 2020 Streams
View Olympia2020.m3u8
# Funktionieren
# Nicht geprüft, Zahl vor und nach dem @ hochzählen
snipem /
Created Nov 13, 2020
Shadow PC fix for wrong display size on MacOS clients
  1. Download and install dc from
  2. Create a shortcut on desktop
  3. Add -width=max -height=max -refresh=max -depth=max to Target: in preferences
  4. Open Autostart folder with CMD-R and enter Shell:common startup
  5. Copy shortcut to Autostart
snipem / termui_list_do_not_render.go
Last active Mar 1, 2019
View termui_list_do_not_render.go
// Copyright 2017 Zack Guo <>. All rights reserved.
// Use of this source code is governed by a MIT license that can
// be found in the LICENSE file.
// +build ignore
package main
import (
View vim-terminal.applescript
tell application "Terminal"
set allWindows to number of windows
global found
set found to false
repeat with i from 1 to allWindows
set allTabs to number of tabs of window i
repeat with j from 1 to allTabs
if processes of tab j of window i contains "nvim" then
snipem /
Last active Nov 14, 2017
Searches for content in Arte Mediathek. Returns url to the video to be used in youtube-dl
# run: "mit offenen karten"
query=$(echo "$@" | jq -s -R -r @uri)
curl -s "$query/1/" |
jq -r .teasers[].url | uniq
snipem / justwatchletterboxd.js
Last active Nov 12, 2017
Userscript JustWatch Integration
View justwatchletterboxd.js
// ==UserScript==
// @name to JustWatch
// @require
// @namespace
// @description Adds Just Watch links and offers to a letterboxd site. Helps on countries not supported by gowatchit. This script is heavily inspired from the work did.
// @include **
// @version 1.0
// @grant GM_log
// @grant GM_xmlhttpRequest
snipem / 0001-Added-VIM-keybindings.patch
Created Oct 31, 2016
VIM navigation key bindings for Civilization 5
View 0001-Added-VIM-keybindings.patch
From 36e239f83d6858f9f0c13c89fa83d8b2de2d9756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Ku=CC=88ch?= <>
Date: Mon, 31 Oct 2016 18:46:26 +0100
Subject: [PATCH] Added VIM keybindings to Civilization 5
UI/InGame/WorldView/WorldView.lua | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/UI/InGame/WorldView/WorldView.lua b/UI/InGame/WorldView/WorldView.lua
snipem /
Last active Aug 13, 2016
Alle Olympia Streams des ZDF nebeneinander auf dem Desktop. MPV Player wird benötigt.
killall mpv
common="--cache-default=153600 --cache-secs 10 --no-resume-playback --mute"
mpv $common --geometry=0%:0% --autofit=33% "" > /dev/null&
mpv $common --geometry=50%:0% --autofit=33% "" > /dev/null&
mpv $common --geometry=100%:0% --autofit=33% "" > /dev/null&
mpv $common --geometry=0%:50% --autofit=33% "" > /dev/null&
mpv $common --geometry=50%:50% --autofit=33% "" > /dev/null&
mpv $common --geometry=100%:50% --autofit=33% "" > /dev/null&
snipem /
Created Jun 1, 2016
Lists all your Deezer playlists, put's them to a file for you to edit, deletes all the playlists listed in that file
curl "$access_token&limit=$nr_to_fetch&index=0" | jq '.data[] | "\(.title),\(.nb_tracks),\(.id)"' > all_playlists.txt
# NOW Edit all_playlists.txt and copy it to all_playlists_edited.txt
cat all_playlists_edited.txt | awk -F, '{print $3}'| sed "s/\"//g" |
while read line ; do