Skip to content

Instantly share code, notes, and snippets.

View johannesrld's full-sized avatar
:fishsticks:
Do you mind? I'm busy doing the fishstick. It's a very delicate state of mind

Johannes R. L. Dickenson johannesrld

:fishsticks:
Do you mind? I'm busy doing the fishstick. It's a very delicate state of mind
  • Perth, WA
View GitHub Profile
@johannesrld
johannesrld / highlights.scm
Last active May 13, 2024 09:36
updated queries
(program
(comment)?
.
(expression_statement
.
(string
(string_fragment) @keyword.directive
(#eq? @keyword.directive "use strict"))))
(function_declaration
body:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johannesrld
johannesrld / unfuckMobileReddit.user.js
Created March 31, 2024 12:29
Redirect To Compact Reddit
// ==UserScript==
// @name Reddit Mobile Compact Redirector
// @match https://*.reddit.com/*
// @description Unfuck Reddit on mobile by linking to the old "compact" site
// @version 0.0.1
// @author Johannes Richard Levi Dickenson
// @license GPLv3
// @grant none
// @run-at document-start
// ==/UserScript==
local lddextractor = require("lddextractor")
local typeNameSubstitutes = {
[""] = "any",
["unknown"] = "any",
}
local metamethods = {
__add = true,
__sub = true,
@johannesrld
johannesrld / fonts.conf
Last active October 13, 2023 16:12
personal fontconfig settings for arch
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
@johannesrld
johannesrld / blacklist.lua
Created October 6, 2021 07:36
pursuit blacklist
local blacklist =
{
["Rat"] = true,
["rat_blighted"] = true,
["rat_cave_fgrh"] = true,
["rat_cave_fgt"] = true,
["rat_cave_hhte1"] = true,
["rat_cave_hhte2"] = true,
["rat_diseased"] = true,
["cliff racer"] = true,