Skip to content

Instantly share code, notes, and snippets.

@a-c-m
a-c-m / fix-home-end-keys.sh
Created April 13, 2026 09:06
Home/End remap for OSX (like it should be)
#!/bin/bash
# =============================================================================
# fix-home-end-keys.sh
#
# Fixes Home/End key behaviour on macOS so they jump to the start/end of the
# current line, rather than the top/bottom of the document (page up/down).
#
# macOS supports a system-wide key binding file that most native (Cocoa) apps
# respect. This script safely adds the required bindings to that file without
@a-c-m
a-c-m / fix-home-end-keys.sh
Last active April 13, 2026 10:49
Home/End remap for OSX (like it should be)
#!/bin/bash
# =============================================================================
# fix-home-end-keys.sh
#
# Fixes Home/End key behaviour on macOS so they jump to the start/end of the
# current line, rather than the top/bottom of the document (page up/down).
#
# macOS supports a system-wide key binding file that most native (Cocoa) apps
# respect. This script safely adds the required bindings to that file without
@a-c-m
a-c-m / gist:3cb6c2cb1a9e977aec9723a35c7278ee
Created July 9, 2026 08:14
Auto join google meetings
// ==UserScript==
// @name Google Meet Auto-Join & Auto-Close
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Auto-clicks the join button on Google Meet, and closes the tab 5 seconds after leaving a meeting.
// @author You
// @match https://meet.google.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==