Skip to content

Instantly share code, notes, and snippets.

View K4rakara's full-sized avatar

Julia K4rakara

View GitHub Profile
@K4rakara
K4rakara / shorts-begone.js
Last active July 18, 2023 12:20
Shorts Begone!
// ==UserScript==
// @name Shorts Begone
// @namespace https://gist.github.com/K4rakara
// @description Forces YouTube Shorts to use the standard YouTube player.
// @icon data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' focusable='false' style='pointer-events: none; display: block; width: 100%25; height: 100%25;'%3E%3Cg%3E%3Cpath d='M17.77,10.32l-1.2-.5L18,9.06a3.74,3.74,0,0,0-3.5-6.62L6,6.94a3.74,3.74,0,0,0,.23,6.74l1.2.49L6,14.93a3.75,3.75,0,0,0,3.5,6.63l8.5-4.5a3.74,3.74,0,0,0-.23-6.74Z' fill='red'%3E%3C/path%3E%3Cpolygon points='10 14.65 15 12 10 9.35 10 14.65' fill='%23fff'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E
// @include https://www.youtube.com/shorts/*
// @include https://youtube.com/shorts/*
// @run-at document-start
// @version 1.0
// ==/UserScript==
@K4rakara
K4rakara / howto.sh
Created May 2, 2022 01:59
Ubuntu Toolbox
podman build -t ubuntu-toolbox - < ubuntu-toolbox.dockerfile
@K4rakara
K4rakara / funytimes.js
Last active December 16, 2021 13:18
Fuck you, New York Times
// ==UserScript==
// @name FuNYTimes
// @description Fuck You, New York Times.
// @match https://www.nytimes.com/*
// @version 1
// ==/UserScript==
!function() {
console.log("FuNYTimes: now active.");
@K4rakara
K4rakara / .ccls
Created April 16, 2021 16:16
Pokemerald .ccls
tools/agbcc/bin/agbcc
-Iconstants
-Igflib
-Iinclude
-Isound
-Isrc
-L./tools/agbcc/lib
-L./tools/agbcc/lib
-L./libagbsyscall
-lc
@K4rakara
K4rakara / gimkit.js
Created February 6, 2020 18:56
Clapper for gimkit
javascript:{
const pes = document.querySelectorAll('div#root div div div div.fade-router-enter-done div');
let ee;
pes.forEach((e)=>{
if (e.innerHTML.indexOf('👏')!==-1) {
ee = e.parentElement.parentElement.parentElement.parentElement;
}
});
let reh;
Object.keys(ee).forEach((k)=>{