Skip to content

Instantly share code, notes, and snippets.

View gingerbeardman's full-sized avatar

Matt Sephton gingerbeardman

View GitHub Profile
@KnIfER
KnIfER / - GitHubDesktop_custom.md
Last active June 6, 2024 22:20
GitHubDesktop pin repository list

Workaround for Desktop / Allow the repository list to be expanded all the time

How to use :

  • try to alt+click the big button
  • or right/left click on the left edge of maximized window.

It will toggle the pinning state of repository list view.

When the list view is pinned, it's styles are modified to make it non-modal and always visible.

@usagimaru
usagimaru / HiddenMacOSDebuggingPanel.md
Last active October 22, 2025 07:21
Enables useful debugging panel in macOS apps

Use _NS_4445425547 or NS🐞 for enables debuggging panel. When enabled it, a ladybug 🐞 menu appears in the app menu bar.

“4445425547” means DEBUG in Unicode table.

0x44=D
0x45=E
0x42=B
0x55=U
0x47=G

@stephancasas
stephancasas / NSApplication+NSResponderDebug.swift
Created March 18, 2024 20:35
An extension on NSApplication providing a computed property that describes the current responder chain.
//
// NSApplication+NSResponderDebug.swift
//
// Created by Stephan Casas on 3/18/24.
//
import Cocoa;
extension NSApplication {
@jerryhopper
jerryhopper / twitter_replace_x.user.js
Created July 24, 2023 13:09
userscript for Twitter : Replace the evil X
// ==UserScript==
// @name Twitter - replace X
// @namespace http://tampermonkey.net/
// @version 0.1
// @description i like birds!
// @author [email protected]
// @match https://twitter.com/home
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// ==/UserScript==
@jcsalterego
jcsalterego / .gitignore
Last active December 14, 2023 16:59
Bluesky Icon
icon.iconset
@dvessel
dvessel / macOS_SytemPrefs.md
Created April 15, 2023 15:29 — forked from rmcdongit/macOS_SytemPrefs.md
Apple System Preferences URL Schemes

macOS 10.15 System Preference Panes

Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

tell application "System Preferences"
	set CurrentPane to the id of the current pane
	set the clipboard to CurrentPane
@Veticia
Veticia / TwitterLinksToNitter.user.js
Created December 9, 2022 16:34
Convert twitter URLs to Nitter URLs
// ==UserScript==
// @name Twitter links To Nitter
// @namespace brazenvoid
// @description Convert twitter URLs to Nitter URLs
// @author brazenvoid
// @include *
// @exclude https://twitter.com/*
// @run-at document-end
// ==/UserScript==
@stesee
stesee / zte-sms-to-file.sh
Last active May 28, 2025 12:21 — forked from mariodian/zte-sms-control.sh
Read SMS on ZTE
#!/bin/bash
# Based on
# Authentication https://github.com/d3suu/ZTE_MF971V_CurlAuth/blob/master/zte_login_pin.sh
# SMS parsing https://gist.github.com/mariodian/65641792700d237d30f3f47d24c746e0
# Cookie things https://stackoverflow.com/questions/15995919/how-to-use-curl-to-send-cookies
URL=http://192.168.1.1
PASSWORD="XXXX"
@RhetTbull
RhetTbull / uti.csv
Created June 28, 2021 04:10
A CSV list of Apple macOS Universal Type Identifiers (UTIs) and associated extensions & MIME types. Generated programmaticaly with calls to UTTypeCreatePreferredIdentifierForTag (https://developer.apple.com/documentation/coreservices/1448939-uttypecreatepreferredidentifierf)
extension UTI preferred_extension MIME_type
c public.c-source c None
f public.fortran-source f None
h public.c-header h None
i public.c-source.preprocessed i None
l public.lex-source l None
m public.objective-c-source m None
o public.object-code o None
r com.apple.rez-source r None
s public.assembly-source s None
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active October 23, 2025 06:02
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.