Skip to content

Instantly share code, notes, and snippets.

@wbnns
wbnns / mastodonWebInterfaceShortcuts.txt
Last active Aug 4, 2022
Mastodon web interface shortcuts
View mastodonWebInterfaceShortcuts.txt
r to reply
m to mention author
p to open author's profile
f to favourite
b to boost
enter, o to open status
e to open media
x to show/hide text behind CW
h to show/hide media
up, k to move up in the list
@wbnns
wbnns / filterUnknownSendersWithAttachments.txt
Created Aug 4, 2022
Sieve filter: Move emails to spam that [1] have attachment [2] aren't in contact list
View filterUnknownSendersWithAttachments.txt
require ["include", "environment", "variables", "relational", "comparator-i;ascii-numeric", "spamtest"];
require ["fileinto", "imap4flags"];
# Generated: Do not run this script on spam messages
if allof (environment :matches "vnd.proton.spam-threshold" "*", spamtest :value "ge" :comparator "i;ascii-numeric" "${1}") {
return;
}
/**
* @type and