This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function string.ColorHex(hex) --Converts a hex code (#FFF, FFF or #FFFFFF, FFFFFF) into a color (Color(255, 255, 255)). Supports alpha. | |
local h = string.Split(string.gsub(hex, "#", ""):upper(), "") --FFF, FFFFFF, FFFFFFFF | |
local c = #h | |
for i=1, 8-c, 1 do | |
h[i+c] = "F" | |
end | |
if #h != 8 then return nil end | |
local ct = {["r"] = h[1]..h[2], ["g"] = h[3]..h[4], ["b"] = h[5]..h[6], ["a"] = h[7]..h[8]} | |
for k, v in pairs(ct) do | |
ct[k] = tonumber(v, 16) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nextupdate, .internalfunc, .deprecatedfunc, .stubpage, .validatepage, .thumbinner, .rcoptions, .derivedonly, #mw-history-search, fieldset { | |
background-color: #424242 !important; | |
} | |
h1 { | |
color: #d5d5d5 !important; | |
font-size: 30px; | |
text-shadow: 0 0 3px rgba(0, 0, 0, 0); | |
position: static !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--bg-color-primary: #2b2b2b; | |
--bg-color-secondary: #393939; | |
--bg-color-tertiary: #444; | |
--text-color-primary: #fff; | |
--text-color-secondary: #cecece; | |
--text-color-code-inline: #e85278; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
++++++++[>++[>++++>++++++>+++++++<<<-]<-]>>+++.>++++++++.---.>++++++. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YouTube Shorts Redirect | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.0 | |
// @description Redirects YouTube shorts links to the regular youtube video player. | |
// @author Chev | |
// @match *://*.youtube.com/shorts/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// @run-at document-start |