Skip to content

Instantly share code, notes, and snippets.

View alechemy's full-sized avatar
🏄‍♂️

Alec Custer alechemy

🏄‍♂️
View GitHub Profile
@alechemy
alechemy / sharp-shimmerless-grid.slang
Last active December 14, 2025 21:29
sharp-shimmerless-grid.slang(p)
#version 450
layout(push_constant) uniform Push
{
vec4 OutputSize;
vec4 OriginalSize;
vec4 SourceSize;
uint FrameCount;
} params;
@alechemy
alechemy / Portfile
Created April 2, 2025 22:37
beets v2.2.0 Portfile
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
name beets
version 2.2.0
revision 0
@alechemy
alechemy / config
Created June 22, 2023 13:47
Kobo Scripting - Syncthing and NickelMenu
menu_item :main :Start Syncthing :cmd_spawn :quiet :exec /mnt/onboard/.adds/stop_syncthing.sh
chain_always :nickel_setting :enable :force_wifi
chain_always :nickel_wifi :enable
chain_always :nickel_wifi :autoconnect_silent
chain_success :cmd_spawn :quiet :exec /mnt/onboard/.adds/start_syncthing.sh
menu_item :main :Stop Syncthing :cmd_spawn :quiet :exec /mnt/onboard/.adds/stop_syncthing.sh
chain_always :nickel_setting :disable :force_wifi
chain_always :nickel_wifi :disable
chain_always :nickel_misc :rescan_books
menu_item :main :Rescan :nickel_misc :rescan_books
@alechemy
alechemy / custom.css
Created April 14, 2022 22:12
Super unfinished port of Obsidian Everforest theme to Logseq
/* This should be applied on top of the Dev theme: https://github.com/pengx17/logseq-dev-theme */
/* Colours */
:root {
/* Dark theme color variables */
--bg0-dark: #22282c;
--bg1-dark: #272f34;
--bg-dark: #2f383e;
--bg2-dark: #374247;
--bg3-dark: #404c51;
@alechemy
alechemy / faq-downloader.py
Last active February 9, 2026 16:57
Gamefaqs FAQ Downloader
#!/usr/bin/env python3
# coding: utf-8
"""
Download a GameFaqs.com FAQ in printable text format.
Forked from https://forum.omz-software.com/topic/2648/download-plain-text-html-document-and-save-content-as-text
Updated to use the new gamespot domain, remove Pythonista-specific functionality,
and bypass Cloudflare protections.
Dependencies:
@alechemy
alechemy / espanso-dreyers.yml
Last active June 11, 2021 14:32
espanso config for removing uses of words condemned by Benjamin Dreyer in his book, "Dreyer's English".
yaml name: espanso-dreyers
parent: default
matches:
- trigger: "very"
replace: ""
word: true
- trigger: "rather"
replace: ""
@alechemy
alechemy / kitty.conf
Created June 1, 2021 23:51
Kitty Peppermint Theme Port
# Peppermint Theme for Kitty Terminal Emulator
# Original Theme by Noah Frederick: https://noahfrederick.com/log/lion-terminal-theme-peppermint
background #000000
cursor #bbbbbb
cursor_text_color #ffffff
foreground #c7c7c7
selection_foreground #000000
selection_background #e6e6e6
color0 #4C4C4C
color8 #737373