Skip to content

Instantly share code, notes, and snippets.

View ThinkSalat's full-sized avatar

Shawn Salat ThinkSalat

View GitHub Profile
@0atman
0atman / configuration.nix
Last active June 8, 2026 16:46
A rebuild script that commits on a successful build
{
config,
pkgs,
options,
...
}: let
hostname = "oatman-pc"; # to alllow per-machine config
in {
networking.hostName = hostname;
@kleutzinger
kleutzinger / mute-all-discord-servers.txt
Last active August 19, 2026 01:13
Mute all your discord servers
This file helps you mute every discord channel in your account
you have to run it in the developer console on the web client
follow the instructions below. this is tested on firefox and chrome.
1. open the discord webapp at https://discord.com/channels/@me
2. manually expand all server folders
(note any servers inside collapsed server folders will not be modified, this can be useful for leaving certain groups of servers unmodified)
3. open browser network inspector
4. right click on a sever icon
5. (un)mute a server
@jheddings
jheddings / ex-notes.py
Last active December 3, 2025 16:25
Import Apple Notes into Notion.
#!/usr/bin/env python3
# !! NOTE - this script is no longer maintained... please see the repo for further
# updates: https://github.com/jheddings/notes2notion
# this script attempts to migrate from Apple Notes to Notion while retaining as
# much information and formatting as possible. there are limitations to the
# export data from Notes, so we try to preserve the intent of the original note.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
@Chematronix
Chematronix / TabsOnWheels - Switch Tabs with Mouse Wheel.ahk
Last active December 8, 2024 11:21
TabsOnWheels: Switch browser (or other program's) tabs with your mouse wheel when hovering over the tab bar (and optionally address bar). Press Middle/Wheel Mouse Click to switch tabs from anywhere in the program.
; ---------------------------------------------------- ;
; TabsOnWheels ;
; ---------------------------------------------------- ;
; Switch browser (or other program's) tabs with your mouse wheel when hovering over the tab bar (and optionally address bar).
; Press Middle/Wheel Mouse Click to switch tabs from anywhere in the program.
; If the target window is inactive when starting to scroll, it will be activated.
;
; Install https://www.autohotkey.com/ (Windows only) to run.
; To auto-start, copy the script or a shortcut to your
; Start Menu\Programs\Startup directory