Skip to content

Instantly share code, notes, and snippets.

View snipem's full-sized avatar

Matthias Küch snipem

  • Kassel, Germany
View GitHub Profile
@snipem
snipem / iracing_on_steam_deck.md
Created May 17, 2025 19:01
Run iRacing on Steam Deck

Install iRacing on Steam Deck

I did this using Rog Ally running Bazzite but the steps for Steamdeck should be identical. Keep in mind that you will not be able to do online races with this method, because the anti cheat engine will not work!

Download the iRacingInstaller and save it to $HOME/.steam/steam/steamapps/common/iRacing/.

Open the file $HOME/.steam/steam/steamapps/common/iRacing/StartServiceAndPlayNow.bat and add this line directly behind @ECHO OFF:

@snipem
snipem / toogle_bloops.vbs
Created April 9, 2025 18:04
Toogle Bloops for iRacing
Set WshShell = CreateObject("WScript.Shell")
Set WMI = GetObject("winmgmts:")
processName = "Bloops.exe"
exePath = "CHANGE ME TO YOUR HOME DIR\AppData\Local\Bloops\current\Bloops.exe"
found = False
For Each p In WMI.ExecQuery("Select * from Win32_Process Where Name = '" & processName & "'")
found = True
p.Terminate()
@snipem
snipem / khinsider_autoplay.user.js
Created March 20, 2024 08:07
Userscript KHInsider Autoplay
// ==UserScript==
// @name KHInsider Autoplay
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Autoplays Soundtracks from KHInsider
// @author You
// @match https://downloads.khinsider.com/game-soundtracks/album/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=khinsider.com
// @grant none
// ==/UserScript==
@snipem
snipem / granturismo_mirror.py
Created March 29, 2022 16:08
Tool for mirroring scapes in Gran Turismo 7 scape editor
#run: python3 granturismo_mirror.py
import os
import time
from appscript import app, k
from pynput.keyboard import Key, Controller
keyboard = Controller()
A = "i"
@snipem
snipem / Olympia2020.m3u8
Last active July 22, 2021 12:56
ARD Olympia 2020 Streams
# Funktionieren
https://ndrspezial-lh.akamaihd.net/i/spezial_1@430235/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_2@430236/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_3@430237/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_4@430238/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_5@430239/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_6@430240/index_3712_av-b.m3u8
# Nicht geprüft, Zahl vor und nach dem @ hochzählen
https://ndrspezial-lh.akamaihd.net/i/spezial_7@430241/index_3712_av-b.m3u8
https://ndrspezial-lh.akamaihd.net/i/spezial_8@430242/index_3712_av-b.m3u8
@snipem
snipem / README.md
Created November 13, 2020 19:13
Shadow PC fix for wrong display size on MacOS clients
  1. Download and install dc from http://12noon.com/?page_id=80
  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
snipem / termui_list_do_not_render.go
Last active March 1, 2019 11:30
termui_list_do_not_render.go
// Copyright 2017 Zack Guo <zack.y.guo@gmail.com>. 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 (
"log"
tell application "Terminal"
activate
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
snipem / justwatchletterboxd.js
Last active November 12, 2017 11:43
Userscript Letterboxd.com JustWatch Integration
// ==UserScript==
// @name Letterboxd.com to JustWatch
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// @namespace https://gist.githubusercontent.com/snipem/f6b063e404ec43d90e7f4175b6ad9ee9/raw/justwatchletterboxd.js
// @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 http://userscripts.org/users/luckyluciano did.
// @include *letterboxd.com/*
// @version 1.0
// @grant GM_log
// @grant GM_xmlhttpRequest
@snipem
snipem / 0001-Added-VIM-keybindings.patch
Created October 31, 2016 17:51
VIM navigation key bindings for Civilization 5
From 36e239f83d6858f9f0c13c89fa83d8b2de2d9756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Ku=CC=88ch?= <halde@matthias-kuech.de>
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