Skip to content

Instantly share code, notes, and snippets.

@residentsummer
residentsummer / yabai_more_mff_8777db4.diff
Created November 19, 2021 17:43
More mouse_follows_focus for yabai
diff --git a/src/message.c b/src/message.c
index 4927814..ce446dc 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1628,15 +1628,17 @@ static void handle_domain_window(FILE *rsp, struct token domain, char *message)
{
struct token command;
struct window *acting_window;
- struct selector selector = parse_window_selector(NULL, &message, window_manager_focused_window(&g_window_manager));
+ struct window *focused_window = window_manager_focused_window(&g_window_manager);
@residentsummer
residentsummer / unbound.conf
Created January 11, 2021 08:33
pfSence: exclude client from pfBlockerNG DNSBL
server:
access-control-view: 192.168.1.1/32 ads
access-control-view: 192.168.1.2/32 ads
access-control-view: 192.168.1.0/24 noads
view:
name: "ads"
view-first: yes
view:
@residentsummer
residentsummer / DRG.ipynb
Created March 29, 2020 20:53
Destiny Reduntant Gear
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@residentsummer
residentsummer / gostab.sh
Created February 25, 2017 16:15
Script to stabilize shaky GoPro footage with ffmpeg and libvidstab
#!/bin/bash
# Run without args to see usage
##### Configuration #####
# Maximum shakiness and accuracy
DETECT_OPTS="shakiness=10:accuracy=15"
# Fish-eye correction for GoPro H3+B 16:9 Wide
# http://stackoverflow.com/questions/30832248/is-there-a-way-to-remove-gopro-fisheye-using-ffmpeg/40659507#40659507