Skip to content

Instantly share code, notes, and snippets.

@Carl251936
Carl251936 / yt.css
Created November 23, 2023 04:25 — forked from chloechantelle/yt.css
YouTube CSS
/* Required: http://www.fontsquirrel.com/fonts/open-sans */
@-moz-document domain("youtube.com")
{
:root
{
--bg: #1d1e2a !important;
/* main */
--bg2: #1a1b26 !important;
/* alt */
--bg3: #14151F !important;
@Carl251936
Carl251936 / dabblet.css
Created November 19, 2023 10:39 — forked from oli/dabblet.css
Comparing transitions of RGB(a) and HSL(a) colors
/* Comparing transitions of RGB(a) and HSL(a) colors */
/* There should be two boxes per row during transition, not three/four */
.wrapper {
min-height: 100%;
}
h1 {
font-weight: normal;
font-size: 1.5em;
}
.wrapper div {
var icons = [
"<svg height=\"32\" class=\"octicon octicon-mark-github text-white\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"32\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"></path></svg>",
"<svg height=\"24\" class=\"octicon octicon-x text-gray\" viewBox=\"0 0 12 16\" version=\"1.1\" width=\"18\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6
/* ==UserStyle==
@name Custom Chrome image background color.
@description Changes the background color of an image with transparency when viewing it directly.
@version 1.0.2
@author Zennn
@namespace zennn
@license WTFPL
@updateURL https://gist.github.com/doZennn/e4d706e2db289045f68b133d9c0076e4/raw/custom_chrome_image_background.user.css
@preprocessor less
@var color bgcolor "Background Color" transparent
/* ==UserStyle==
@name Custom Chrome image background color.
@description Changes the background color of an image with transparency when viewing it directly.
@version 1.0.2
@author Zennn
@namespace zennn
@license WTFPL
@updateURL https://gist.github.com/doZennn/e4d706e2db289045f68b133d9c0076e4/raw/custom_chrome_image_background.user.css
@preprocessor less
@var color bgcolor "Background Color" transparent
@Carl251936
Carl251936 / analytics.js
Created November 7, 2023 08:48 — forked from kabeer11000/analytics.js
Manually Deobfuscated Google Analytics js
/*
*
* This is currently a WIP
* Source originally pulled 3/28/2018
* https://www.google-analytics.com/analytics.js
*
* Tools:
* 1) Google Chrome source formatter
* 2) VS Code right-click rename symbol
*
@Carl251936
Carl251936 / carbon.html
Created October 19, 2023 18:09 — forked from niklausgerber/carbon.html
Carbon Ads Code for my Website
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=niklausgerbercom" id="_carbonads_js"></script>
@Carl251936
Carl251936 / tablefilter.js
Created October 19, 2023 04:18 — forked from itsazzad/tablefilter.js
TableFilter
!function webpackUniversalModuleDefinition(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,function(){return function(o){function webpackJsonpCallback(t){for(var e,n,r=t[0],i=t[1],s=0,a=[];s<r.length;s++)n=r[s],u[n]&&a.push(u[n][0]),u[n]=0;for(e in i)Object.prototype.hasOwnProperty.call(i,e)&&(o[e]=i[e]);for(c&&c(t);a.length;)a.shift()()}var n={},u={0:0};function __webpack_require__(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,__webpack_require__),e.l=!0,e.exports}__webpack_require__.e=function requireEnsure(i){var t=[],n=u[i];if(0!==n)if(n)t.push(n[2]);else{var e=new Promise(function(t,e){n=u[i]=[t,e]});t.push(n[2]=e);var r,s=document.createElement("script");s.charset="utf-8",s.timeout=120,__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.src=function jsonpScr
var qc=Object.defineProperty;var Hc=(t,e,n)=>e in t?qc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var zc=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ms=(t,e,n)=>(Hc(t,typeof e!="symbol"?e+"":e,n),n);var zv=zc((Wv,Yu)=>{(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Qn=typeof globalThis<"u"?globalThis:typeof window<"u"?