Skip to content

Instantly share code, notes, and snippets.

View AAGaming00's full-sized avatar
💡

AAGaming AAGaming00

💡
View GitHub Profile
@AAGaming00
AAGaming00 / changes.diff
Created June 3, 2024 20:10 — forked from CyrilPeponnet/changes.diff
LK LE.UM.1.3.r4.4 - Anki vector
Only in .: .git
diff -ru ./app/aboot/aboot.c ../opensource-1.6/bootable/bootloader/lk/app/aboot/aboot.c
--- ./app/aboot/aboot.c 2019-12-24 12:48:59.000000000 -0800
+++ ../opensource-1.6/bootable/bootloader/lk/app/aboot/aboot.c 2019-12-19 10:42:02.000000000 -0800
@@ -102,7 +102,6 @@
char **buf);
void *info_buf;
-void write_device_info(device_info *dev);
void write_device_info_mmc(device_info *dev);
@AAGaming00
AAGaming00 / disable-pageview-api.js
Created May 29, 2023 01:27 — forked from gwarser/disable-pageview-api.js
"Disable Page Visibility API" scriptlet for uBO
/// disable-pageview-api.js
// Based on: https://addons.mozilla.org/firefox/addon/disable-page-visibility/
// License: http://www.opensource.org/licenses/bsd-license.php
(function(){
// visibilitychange events are captured and stopped
document.addEventListener("visibilitychange", function(e) {
e.stopImmediatePropagation();
}, true);
// document.visibilityState always returns false
Object.defineProperty(Document.prototype, "hidden", {
@AAGaming00
AAGaming00 / disable-pageview-api.js
Created May 29, 2023 01:27 — forked from gwarser/disable-pageview-api.js
"Disable Page Visibility API" scriptlet for uBO
/// disable-pageview-api.js
// Based on: https://addons.mozilla.org/firefox/addon/disable-page-visibility/
// License: http://www.opensource.org/licenses/bsd-license.php
(function(){
// visibilitychange events are captured and stopped
document.addEventListener("visibilitychange", function(e) {
e.stopImmediatePropagation();
}, true);
// document.visibilityState always returns false
Object.defineProperty(Document.prototype, "hidden", {
#!/bin/bash
# Simple single-command mfplat installation designed for use with protontricks
# https://github.com/Matoking/protontricks
#
# Licensed under CC0 1.0 Universal:
# https://creativecommons.org/publicdomain/zero/1.0/
PYTHON_INSTALLCAB_PATH="/tmp/mfplat-python-installcab";
INSTALLCAB_PY="python3 $PYTHON_INSTALLCAB_PATH/installcab.py";
WINETRICKS_CACHE_PATH=$(cd ~/.cache/winetricks; pwd);