Skip to content

Instantly share code, notes, and snippets.

@krisleech
krisleech / renew-gpgkey.md
Last active November 13, 2024 19:10
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

@bitelaserkhalif
bitelaserkhalif / disable_youtube_autoplay.user.js
Last active July 12, 2022 15:39 — forked from jeffmbellucci/disable_youtube_autoplay.js
Turn off/disable YouTube autoplay feature
// To run, install GreaseMonkey or TamperMonkey extension in your browser
// Copy this code into new user script, and enable
// ==UserScript==
// @name Disable Youtube autoplay
// @version 2.0
// @description This script turns off Youtube's autoplay feature after the page loads. This is permanent, you hit the button, it'll forced to be off.
// @author Jeff Bellucci & bitelaserkhalif
// @match *://www.youtube.com/*
// @run-at document-idle