Skip to content

Instantly share code, notes, and snippets.

@evanreichard
evanreichard / README.md
Created April 18, 2024 12:26
Timed our waiting for device dev-mapper-rl\x2dhome.device

Issue

Wanted to document this somewhere.

Timed our waiting for device dev-mapper-rl\x2dhome.device

Reason was because I removed the home logical volume and failed to remove it out of /etc/fstab

So then it failed to boot. You have to

@evanreichard
evanreichard / kagi_llm.user.js
Created April 11, 2024 01:07
Auto Kagi LLM
// ==UserScript==
// @name Auto Kagi LLM
// @match https://kagi.com/assistant?mode=4*
// @grant none
// @version 1.0
// @author Evan Reichard
// ==/UserScript==
function doAutoLLM() {
let hashLocation = window.location.hash;
@evanreichard
evanreichard / gist:fbe1f82a9887b989d583c6a4f93c9153
Created September 19, 2023 14:41
uBlock Origin Medium.com Annoying Footer Filter
medium.com###root > div > div > div > div ~ div + div:has(svg)
@evanreichard
evanreichard / yattee-redirect.user.js
Last active July 27, 2023 14:10
yattee-redirect.user.js
// ==UserScript==
// @name Yattee Redirect
// @version 0.0.3
// @updateURL https://gist.github.com/evanreichard/8db561c7be7a6c308db18ce3e983c8d6/raw/yattee-redirect.user.js
// @match https://www.youtube.com/*
// @match https://m.youtube.com/*
// @grant none
// @noframes
// @run-at document-start
// ==/UserScript==
@evanreichard
evanreichard / automations.yaml
Last active March 26, 2023 18:16
Sonoff Tasmota RF Bridge Demultiplexer
# NOTE:
# The following is a _subset_ of HA's "automations.yaml"
- alias: '[RFBridge] Demultiplexer'
trigger:
- platform: mqtt
topic: tele/RFBridge/RESULT
- platform: mqtt
topic: tele/RFBridge/LWT
action:
@evanreichard
evanreichard / archive-redirect.user.js
Last active September 15, 2023 07:40
Auto Archive Redirect
// ==UserScript==
// @name Auto Archive Redirect
// @namespace Evan Reichard
// @version 0.0.3
// @match *://*/*
// @grant GM.xmlhttpRequest
// @grant GM.openInTab
// @noframes
// @run-at document-start
// ==/UserScript==
@evanreichard
evanreichard / pwa-everything.user.js
Created January 1, 2022 21:28
pwa-everything.user.js
// ==UserScript==
// @name PWA Everything
// @author Evan Reichard
// @version 0.0.1
// @match *://*/*
// @grant none
// @run-at document-idle
// @noframes
// ==/UserScript==
@evanreichard
evanreichard / hn-tweaks.user.js
Last active March 21, 2022 21:50
hn-tweaks.user.js
// ==UserScript==
// @name Hacker News Tweaks
// @version 0.0.3
// @downloadURL https://gist.githubusercontent.com/evanreichard/96d89512cbfe23e5d7a81479c482e6da/raw/hn-tweaks.user.js
// @match *://news.ycombinator.com/*
// @grant GM.addStyle
// @grant GM.registerMenuCommand
// @grant GM.unregisterMenuCommand
// @grant GM.getValue
// @grant GM.setValue
@evanreichard
evanreichard / darkreader.user.js
Last active March 11, 2023 14:45 — forked from kfur/darkreader.js
Dark Reader UserScript for Safari Browser
// ==UserScript==
// @name DarkReader
// @version 0.0.6
// @match *://*/*
// @downloadURL https://gist.github.com/evanreichard/f983ca26836d4af6ca0f6fb602b9dcaf/raw/darkreader.user.js
// @require https://unpkg.com/darkreader@4.9.46/darkreader.js
// @grant GM.xmlhttpRequest
// @grant GM.registerMenuCommand
// @grant GM.unregisterMenuCommand
// @grant GM.getValue