Skip to content

Instantly share code, notes, and snippets.

View RoootTheFox's full-sized avatar

rooot RoootTheFox

View GitHub Profile
@RoootTheFox
RoootTheFox / yt-live-timstamp.user.js
Last active June 10, 2025 11:38
youtube live stream timestamp
// ==UserScript==
// @name youtube live timestamp
// @namespace https://rooot.gay/
// @version 2025-06-10
// @description adds a timestamp next to the LIVE indicator for streams
// @author rooot
// @updateURL https://gist.github.com/RoootTheFox/7e83ecba5074c3985f3a5572e0b5eb80/raw/49a0eff2f3098489b419844b31af0682c82a153a/yt-live-timstamp.user.js
// @downloadURL https://gist.github.com/RoootTheFox/7e83ecba5074c3985f3a5572e0b5eb80/raw/49a0eff2f3098489b419844b31af0682c82a153a/yt-live-timstamp.user.js
// @match https://www.youtube.com/watch?v=*
// @icon https://www.youtube.com/s/desktop/d36f30a8/img/logos/favicon_144x144.png
@RoootTheFox
RoootTheFox / bskyredirectskip.user.js
Last active May 28, 2025 12:07
bsky redirect skip
// ==UserScript==
// @name go.bsky.app skip
// @namespace https://rooot.gay/
// @version 2025-05-28
// @description gets rid of the go.bsky.app redirect slowdown c:
// @author rooot
// @match https://bsky.app/*
// @updateURL https://gist.github.com/RoootTheFox/9480ae8ab1429cf09f05ecbcfacf60d3/raw/8689ae91a49ab2b965497ea0509fc73773c5037b/bskyredirectskip.user.js
// @icon https://web-cdn.bsky.app/static/favicon.png
// @run-at document-start
diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c
index bc00369..173ad2a 100644
--- a/wiringPi/wiringPi.c
+++ b/wiringPi/wiringPi.c
@@ -1077,6 +1077,74 @@ const char* GetPiRevision(char* line, int linelength, unsigned int* revision) {
*********************************************************************************
*/
+const char* hackyGetRevisionFix(char* line, int linelength, unsigned int* revision) {
+ FILE *modelFd;
@RoootTheFox
RoootTheFox / gd-auth.md
Last active May 11, 2025 21:10
gd auth

DashAuth API

Warning

If you are a modder or a developer, please tell me what you think of the current specification and if/how it can be improved!


All responses use JSON as data type.

Types

Token (used for client->3rd party requests): Bearer <random string>

@RoootTheFox
RoootTheFox / README.md
Last active September 12, 2024 17:17
revert to the bird (twitter revert)

twitter revert guide

Note

The userscript method is the RECOMMENDED WAY since it has more features and also applies the style for you. You should use the script unless you only want to replace the icon in the top left.

You do NOT NEED BOTH.

recommended way: userscript (all features)

@RoootTheFox
RoootTheFox / yippie.html
Created April 13, 2023 22:33
yippie!!1 (this is a bday shitpost)
<!DOCTYPE html>
<head>
<title>nya</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
<style>
#time {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
@RoootTheFox
RoootTheFox / catppuccin-mocha-twitter.user.css
Last active December 27, 2022 15:29
catppuccin mocha teal for twitter.com (very work in progress, going to contribute this to catppuccin when ready)
/* ==UserStyle==
@name Twitter Catppuccin (Mocha)
@namespace github.com/RoootTheFox
@version 0.1.0
@description Catppuccin Mocha (teal) for twitter dot com
@author RoootTheFox
==/UserStyle== */
@-moz-document domain("twitter.com") {
/* currently uses this custom catppuccin css because the -raw changes haven't been merged (if they ever get merged) and I need them */
:root {
@RoootTheFox
RoootTheFox / thing.js
Last active December 15, 2021 00:05
vanilla discord snow fall (for copy pasting into devtools, https://cople.github.io/Snowfall.js/)
// load style
var tmp_head = document.getElementsByTagName('head')[0];
var tmp_style = document.createElement('style');
tmp_style.innerHTML = '.snowflake { \
position: absolute; \
color: #fff; \
line-height: 1; \
pointer-events: none; \
-webkit-user-select: none; \
-moz-user-select: none; \