Skip to content

Instantly share code, notes, and snippets.

diff --git a/include/gui/GuiManager.h b/include/gui/GuiManager.h
index 0f2c599..9fcd21b 100644
--- a/include/gui/GuiManager.h
+++ b/include/gui/GuiManager.h
@@ -62,6 +62,7 @@ namespace od
using AssetProvider::getAnimation;
using AssetProvider::getSound;
+ inline void _decryptString(char * const str, const size_t len);
diff --git a/configure b/configure
index 284af7b..d7ba7c9 100755
--- a/configure
+++ b/configure
@@ -3813,7 +3813,7 @@ esac
$as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
-AM_CFLAGS="${AM_CFLAGS} -DWINVER=0x601 -D_WIN32_WINNT=0x601 -D_WIN32_IE=0x800"
+AM_CFLAGS="${AM_CFLAGS} -DWINVER=0x601 -D_WIN32_WINNT=0x601 -D_WIN32_IE=0x800 -DPSAPI_VERSION=1"
@UCyborg
UCyborg / AeroGlassUpdateSymbols.vbs
Created July 28, 2019 11:22
Downloads debug symbols required by Aero Glass if it doesn't have the latest information about internal DWM functions.
Const WindowsFolder = 0
Const SystemFolder = 1
Const TempFolder = 2
Dim objShell, regPath
Set objShell = WScript.CreateObject("WScript.Shell")
regPath = Array("HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots\WindowsDebuggersRoot10",_
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots\WindowsDebuggersRoot10",_
"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots\WindowsDebuggersRoot81",_
// ==UserScript==
// @name YouTube exact (DIS)like counter
// @namespace https://github.com/UCyborg
// @version 0.5.2
// @description Replaces rounded video (dis)like counters on YouTube with non-rounded ones, based off https://www.returnyoutubedislike.com/
// @author Anarios & JRWR & UCyborg
// @icon data:image/x-icon;base64,AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAbA
// ==UserScript==
// @name YouTube always-mobile
// @namespace https://github.com/UCyborg
// @description Always redirects desktop YouTube to mobile version
// @version 1.0.1
// @author UCyborg
// @downloadURL https://gist.github.com/UCyborg/100935b7572423a56e28fb0e60596c92/raw/YouTube_always-mobile.user.js
// @include /https:\/\/www\.youtube\.com\/(?!embed\/.*$)/
// @run-at document-start
// @grant none
// ==UserScript==
// @name YouTube layout config
// @namespace https://github.com/UCyborg
// @description Provides configuration interface for switching between desktop and mobile version of YouTube.
// @version 1.0
// @author UCyborg
// @downloadURL https://gist.github.com/UCyborg/754fe319866a7f126ec1d074ed922b37/raw/YouTube_layout_config.user.js
// @include /https:\/\/(www|m)\.youtube\.com\/(?!embed\/.*$)/
// @run-at document-start
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js
@UCyborg
UCyborg / yt.js
Created October 18, 2023 19:35
AVD 2.4.7.50 - Patched yt.js
// yt.js, 2013-2016
// author ICh
// contributor ED
// namespace antvd
//
var antvd = (function(antvd)
{
if (!antvd.AntLib)
{