Skip to content

Instantly share code, notes, and snippets.

View kevinlekiller's full-sized avatar
💭
I may be slow to respond.

kevinlekiller

💭
I may be slow to respond.
View GitHub Profile
@kevinlekiller
kevinlekiller / apply_patch.sh
Last active May 31, 2018 21:30
Reduces the POP noise when switching outputs on the Asus Xonar Essence STX (ST also probably). Linux Kernel Patch.
#!/bin/bash
MAKE_FLAGS="-j8"
<<About
This script compiles the snd_oxygen_lib/snd_oxygen/snd_virtuoso modules with the patch in this gist and installs them.
You will need to rerun this every time you use a new kernel.
Tested on Arch Linux (Kernel 4.4).
Copyright (C) 2016 kevinlekiller
@kevinlekiller
kevinlekiller / dispcal.patch
Last active May 26, 2019 11:47
Patch for https://www.argyllcms.com/ dispcal to add 20 point grayscale RGB calibration (can be used for 10 point also).
--- Argyll_V2.1.1/spectro/dispcal.c 2019-04-29 12:33:26.000000000 -0400
+++ Argyll_V2.1.1_20point/spectro/dispcal.c 2019-05-26 07:40:16.662940045 -0400
@@ -3105,7 +3105,7 @@
int c;
/* Print the menue of adjustments */
- printf("\nPress 1 .. 7\n");
+ printf("\nPress 1 .. 7 or a .. u\n");
printf("1) Black level (CRT: Offset/Brightness)\n");
printf("2) White point (Color temperature, R,G,B, Gain/Contrast)\n");
@kevinlekiller
kevinlekiller / TamrielTradeCentre.lua
Last active September 28, 2019 16:28
HTTP data for TTC
TamrielTradeCentreVars =
{
["Default"] =
{
["@kevincsw"] =
{
["$AccountWide"] =
{
["EUData"] =
{
local http = require("socket.http")
require("TamrielTradeCentre")
if not TamrielTradeCentreVars["Default"] then
return
end
local serverEU = false
local gf = io.open("guilds.lua", "rb")
@kevinlekiller
kevinlekiller / simplelog.io_mass_enable_mailboxes.user.js
Last active July 23, 2022 18:07
Mass enable all mailboxes for aliases on the current page on simplelogin.io ; use with an addon like Violentmonkey
// ==UserScript==
// @name simplelogin.io mass enable mailboxes
// @namespace kevinlekiller/simplelogin.io
// @include https://app.simplelogin.io/*
// @version 1.1
// @description Mass enable all mailboxes for aliases on the current page on simplelogin.io
// @licence gpl-3.0 https://www.gnu.org/licenses/gpl-3.0.html
// @author kevinlekiller
// ==/UserScript==
async function mass_enable() {
@kevinlekiller
kevinlekiller / CMAA2.fx
Created June 30, 2021 21:11 — forked from martymcmodding/CMAA2.fx
CMAA 2 for ReShade
/*=============================================================================
ReShade 4 effect file
github.com/martymcmodding
Rough port of CMAA2 to ReShade by Pascal Gilcher
I do not claim any copyright to any of the work used in this product
CMAA2 (Copyright (c) 2018, Intel Corporation) is licensed under
http://www.apache.org/licenses/LICENSE-2.0
@kevinlekiller
kevinlekiller / MMPX.fx
Created June 30, 2021 21:11 — forked from martymcmodding/MMPX.fx
McGuire & Mara, MMPX Style-Preserving Pixel Art Magnification, port to ReShade
/*
Copyright 2020 Morgan McGuire & Mara Gagiu.
Provided under the Open Source MIT license https://opensource.org/licenses/MIT
by Morgan McGuire and Mara Gagiu.
*/
/*=============================================================================
ReShade 4 effect file
github.com/martymcmodding
@kevinlekiller
kevinlekiller / CAS.glsl
Created February 8, 2022 03:38 — forked from agyild/CAS-scaled.glsl
AMD's Contrast Adaptive Sharpening filter ported to mpv along with ReShade modifications
// LICENSE
// =======
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
// -------
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// -------
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
@kevinlekiller
kevinlekiller / a.sh
Last active February 18, 2023 06:11
Starting GW2 overlays on Steam with Proton. Set as Steam launch option for GW2. Change -provider Steam to -provider Portal if you use a Anet account. Change the 60 seconds of sleep to something lower if your computer is fast (you want to be in game before Buritto or Blish start).
# Burrito overlay, put burrito_link.exe and burrito.x86_64 in the game folder.
echo -e "@echo off\nstart burrito_link.exe\nstart Gw2-64.exe -provider Steam\nexit" > gw2.bat; echo -e "DXVK_ASYNC=1 MANGOHUD=1 $(echo %command% | sed "s/Guild Wars 2\/Gw2-64\.exe.*$/\"Guild Wars 2\"\/gw2.bat/") &\nsleep 60\nchmod u+x burrito.x86_64\n./burrito.x86_64" > gw2.sh; sh gw2.sh
# Blish HUD, put the Blish.HUD folder in the game directory.
BHDIR=$(realpath "$(find -iname "Blish.HUD*")"); rm -f BlishHUD; ln -s "$BHDIR" BlishHUD; rm -f BlishHUD/BlishHUD.exe; ln -s "$BHDIR/Blish HUD.exe" BlishHUD/BlishHUD.exe; echo -e "@echo off\nstart Gw2-64.exe -provider Steam -autologin\nping -n 60 127.0.0.1>nul\ncd BlishHUD\nstart BlishHUD.exe\nexit" > gw2.bat; DXVK_ASYNC=1 MANGOHUD=1 eval $(echo %command% | sed "s/Guild Wars 2\/Gw2-64\.exe.*$/\"Guild Wars 2\"\/gw2.bat/")
@kevinlekiller
kevinlekiller / run.sh
Last active September 13, 2022 13:33
Download RuneScape 3 launcher and sandbox it with firejail, with vkBasalt on top.
#!/bin/bash
# GPLv2
# Start like this to update RuneScape launcher: UPDATE_RUNESCAPE=1 ./run.sh
#--------------------------------------------
WD=$(realpath "$(dirname "$0")")
runescape=$(realpath "$WD/runescape")
UPDATE_RUNESCAPE=${UPDATE_RUNESCAPE:-0}
if [[ ! $UPDATE_RUNESCAPE -eq 0 ]]; then
rm -f "$runescape"