Skip to content

Instantly share code, notes, and snippets.

View shredthaGNAR's full-sized avatar

Me shredthaGNAR

View GitHub Profile
@edleeman17
edleeman17 / tampermonkey.js
Created May 24, 2022 10:54
Forward medium.com articles to 12ft.io
// ==UserScript==
// @name 12ft.io
// @match *://medium.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
'use strict';
@taskylizard
taskylizard / fmhy.md
Last active October 6, 2026 11:55
/r/freemediaheckyeah, in one single file (view raw)
@dominicstop
dominicstop / kill_adobe.command
Last active July 3, 2026 11:42
Force Kill/Terminate All Adobe-Related Process and Apps in MacOS
declare -a adobeProcessList=('AdobeCRDaemon' 'AdobeIPCBroker' 'com.adobe.acc.installer.v2' 'CCXProcess.app' 'CCLibrary.app' 'Adobe CEF Helper' 'Core Sync' 'Creative Cloud Helper' 'Adobe Desktop Service' 'Creative Cloud');
for processName in "${adobeProcessList[@]}"; do
pgrep -f "$(echo $processName)" > /dev/null;
if [ $? -ne 0 ]; then
echo "process not running, skipping: ${processName}";
continue;
fi;
@b0gdanw
b0gdanw / DisableBigSur.sh
Last active April 7, 2026 22:21
Disable Big Sur services
#!/bin/zsh
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
#Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12)
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist
# user
TODISABLE=()
@rusty-snake
rusty-snake / cu2ub.py
Last active June 10, 2026 00:01
ClearURLs to µBlock origin converter
# Copyright © 2021 rusty-snake
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@zhuowei
zhuowei / Ensemble.plist
Last active September 18, 2023 06:26
Put this file as /Library/Preferences/FeatureFlags/Domain/Ensemble.plist and reboot to (hopefully) turn on Universal Control on macOS 12
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- not sure which one it is, so set both -->
<key>Ensemble</key>
<dict>
<key>Enabled</key>
<true/>
</dict>
@tomdaley92
tomdaley92 / karabiner.json
Created August 17, 2021 22:04
Karabiner elements MacOS configuration (capslock + j,k,l,i,u,o => arrow keys and page up/down)
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": true
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@kepano
kepano / obsidian-web-clipper.js
Last active September 21, 2026 12:20
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@dnnsmnstrr
dnnsmnstrr / btt.sh
Created August 1, 2021 18:58
Launch BetterTouchTool's named triggers from the command line. Requires the BTT webserver interface to be active.
#!/bin/bash
if [ -z "$1" ]
then
echo "No trigger supplied"
exit
fi
curl "http://127.0.0.1:12345/trigger_named/?trigger_name=$*"