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
@-moz-document url("https://tweetdeck.twitter.com/") { | |
html.dark{color:#e1e8ed} | |
html.dark .is-inverted-dark .stream-item{background-color:#fff} | |
html.dark body{background-color:#1c6399} | |
html.dark body:before{background-image:radial-gradient(circle,#1c6399,#274256)} | |
html.dark::selection{background:#e1e8ed;color:#111} | |
html.dark a{color:#8bd} | |
html.dark a:hover,html.dark a:focus,html.dark a:active{color:#8bd} | |
html.dark .txt-mute{color:#8899a6} |
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
const getSelector = el => { | |
let sel = []; | |
let currEl = el; | |
while (!!currEl) { | |
sel = [`${currEl.tagName.toLowerCase()}.${currEl.className.trim().replace(/\s+/g, '.')}`, ; | |
currEl = currEl.parentElement; | |
} |
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
const Masto = require('mastodon'); | |
const fs = require('fs') | |
const M = new Masto({ | |
access_token: 'ACCESS_TOKEN', | |
api_url: 'https://YOUR-INSTANCE.TLD/api/v1/' | |
}); | |
function getNextPage(req) { | |
return (req.headers && req.headers.link && req.headers.link.includes('rel="next"')) ? req.headers.link.split(/<([^>]+)>/)[1] : null; |
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
html, html .system-font-stack { | |
font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif; | |
} |
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
html, | |
.scrollable { | |
/* Replace the color by the color of column headers for a better effect. */ | |
scrollbar-color: #313543 transparent; | |
/* This is optional but I find the default scrollbars way too fat. */ | |
scrollbar-width: thin; | |
} |
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
module.exports = { | |
overrides: [ | |
{ | |
include: [/react-pose/, /stylefire/], | |
plugins: ['./plugin-transform.js'] | |
} | |
] | |
} |

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
/* ==UserStyle== | |
@name Crunchyroll large/responsive video player - 1/25/2020, 4:32:28 PM | |
@namespace github.com/eramdam | |
@version 1.0.0 | |
@description What the title says | |
@author Damien Erambert (Eramdam) | |
==/UserStyle== */ | |
@-moz-document regexp("https://www.crunchyroll.com/[a-z-]+/episode-[a-z-0-9]+") { | |
#template_container { |
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 Screenshot Plex | |
// @namespace Violentmonkey Scripts | |
// @match *://192.168.86.250:32400/*/* | |
// @match *://app.plex.tv/* | |
// @grant none | |
// @version 1.0 | |
// @author @Eramdam | |
// @description 5/3/2020, 1:03:26 PM | |
// @require https://unpkg.com/[email protected]/dist/FileSaver.min.js |
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
#!/usr/bin/env sh | |
:: default : yabai -m config active_window_opacity 1; yabai -m config normal_window_opacity 1; | |
# Focus | |
shift + alt - home : yabai -m window --focus north | |
shift + alt - j : yabai -m window --focus north | |
shift + alt - end : yabai -m window --focus south | |
shift + alt - k : yabai -m window --focus south | |
shift + alt - delete : yabai -m window --focus west |