Skip to content

Instantly share code, notes, and snippets.

# why the FUCK do they make this so hard
# based off the instructions to install typora https://support.typora.io/Typora-on-Linux/
# first we need to get the pubkey and add it to gpg
wget -qO - https://linux.dropbox.com/fedora/rpm-public-key.asc | sudo tee /etc/apt/trusted.gpg.d/dropbox.asc
# now we add the repo. for some reason using add-apt-repository adds some garbage files (beginning
# with "archive_uri") so we're just going to echo it in manually.
echo "deb https://linux.dropbox.com/debian/ bookworm main" | sudo tee /etc/apt/sources.list.d/dropbox.list
@Corgi
Corgi / dw-npc.txt
Created February 11, 2023 16:19
NPC Generation macro for use with Dungeon World and Foundry VTT (v10)
/* Instant NPC - v1.5
Source: https://github.com/brunocalado/mestre-digital/tree/master/Foundry%20VTT/Macros/Dungeon%20World
Updated for Foundry VTT v10 with help from the FoundryVTT Discord server
Requires Names, Knacks, and Instincts RollTables to work
Icon: https://raw.githubusercontent.com/brunocalado/mestre-digital/master/Foundry%20VTT/Macros/Dungeon%20World/Instant%20NPC.svg
Icon2: icons/environment/people/commoner.webp
*/
(async () => {
const NPCName = await drawFromTable('Names');
@Corgi
Corgi / default.lua
Created January 1, 2023 20:00 — forked from PseudoDoctor/default.lua
How to: Bind F13 to F24 keys on the G-keys (Logitech Gaming Keyboards)
function OnEvent(event, arg , kb)
end
@-moz-document domain("https://bato.to") {
#comic_wrap div:first-child {
position:static;
}
}
// ==UserScript==
// @name Aywas: Knowledge Base Staff Entry Stripper
// @include http://www.aywas.com/knowledge/tags*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
// ==/UserScript==
/*--- Very simple script that hides the gray staff-only articles from the Aywas Knowledge Base. Not very elegant, but does the job.*/
var staffTR = $("tr[bgcolor|='#DDD']");
staffTR.remove ();