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 Redirect to Old Reddit | |
// @namespace https://frippz.se/ | |
// @version 1.1.0 | |
// @description Redirects to old.reddit.com | |
// @author Fredrik Frodlund | |
// @match *://reddit.com/* | |
// @match *://www.reddit.com/* | |
// @match *://np.reddit.com/* | |
// @match *://amp.reddit.com/* |
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
<script> | |
export let dialog | |
</script> | |
<dialog bind:this={dialog} on:close> | |
<slot/> | |
</dialog> |
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
{ | |
"tagname-lowercase": true, | |
"attr-lowercase": ["viewBox"], | |
"attr-value-double-quotes": true, | |
"attr-value-not-empty": false, | |
"attr-no-duplication": true, | |
"doctype-first": true, | |
"tag-pair": true, | |
"tag-self-close": false, | |
"spec-char-escape": true, |
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
dd if=/dev/zero bs=4096 count=1048576 | ssh [email protected] 'cat > /dev/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
const elements = document.querySelectorAll('body *'); | |
const containers = document.querySelectorAll('html, body'); | |
containers.forEach(el => { | |
if (getComputedStyle(el).overflow === 'hidden') { | |
el.style.setProperty ('overflow', 'unset', 'important'); | |
} | |
}); | |
elements.forEach(function (element) { |
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
{ | |
"description": "Open 1Password Mini", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "f13" | |
}, | |
"to": [ | |
{ | |
"key_code": "backslash", |
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
/** | |
* Toggle dyslexic mode | |
*/ | |
function dyslexicMode() { | |
// Place button inside role="banner" | |
var toggleContainer = document.querySelector('[role="banner"] .landmark-content'); | |
// Create toggle button | |
toggleContainer.insertAdjacentHTML('beforeend', '<button type="button" class="toggle-dyslexic-mode" data-text-original="Enable dyslexic mode" data-text-swap="Disable dyslexic mode">Enable dyslexic mode</button>'); |
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
/* stylelint-disable at-rule-empty-line-before */ | |
/** | |
* CSS Resets | |
* | |
* Resets so that we start of with the same styles cross-browser | |
*/ | |
/** | |
* HTML5 elements legacy reset | |
*/ | |
article, |
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
@media screen { | |
.cell { | |
outline: 1px solid green; | |
} | |
.cell-group { | |
outline: 1px solid red; | |
} |
NewerOlder