Skip to content

Instantly share code, notes, and snippets.

View jgrisham's full-sized avatar

Jim Grisham jgrisham

  • South Carolina, United States of America
View GitHub Profile
@kconner
kconner / macOS Internals.md
Last active November 6, 2025 09:43
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@raxityo
raxityo / Bing_Temper.js
Last active August 6, 2023 03:14
Tweaks on Bing Chat
// ==UserScript==
// @name Bing Tamper
// @namespace Violentmonkey Scripts
// @match https://www.bing.com/search
// @grant none
// @version 1.0
// @author -
// @description 3/17/2023, 11:59:35 AM
// ==/UserScript==
@wiomoc
wiomoc / scriptel.py
Created October 18, 2022 20:51
Daily printout
# requires https://github.com/erikflowers/weather-icons/blob/master/font/weathericons-regular-webfont.ttf saved as weathericons.ttf along the project
import datetime
import json
import urllib.request
from collections import defaultdict
from PIL import ImageDraw, Image, ImageFont
# Weather
@Wowfunhappy
Wowfunhappy / Info.plist
Last active June 15, 2025 17:24
KQueueScanContinuePatch
<?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>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>wowfunhappy.$(PRODUCT_NAME:rfc1034identifier)</string>
# Created by @PhilippIRL
# This script patches Spotify's offline.bnk file (this file caches the remote config) to trick Spotify into thinking that your account is enabled for dev tools.
# Spotify will automatically revert this local change after some time when it next fetches the remote config.
# Of course you will have to completely close Spotify before running this script.
import os, sys, platform
systemPlatform = platform.system()
if systemPlatform == 'Windows':
@wolfiediscord
wolfiediscord / FAQ.MD
Last active December 6, 2025 20:58
A guide of how to install unsupported macOS versions on unsupported macs. An FAQ is listed at the end as well.
@Wowfunhappy
Wowfunhappy / gist:2fca7ed5d1b1310de3854b92c65eef7e
Created January 22, 2022 13:24
Building XNU for OS X 10.9.5.
# Install Xcode 5.0.2. Later versions will not work.
git clone https://github.com/apple-oss-distributions/xnu.git
cd xnu/
git checkout d2a0abf2ede8152c5a107fe51e032c1193d2015b
cd ..
git clone 'https://github.com/apple-oss-distributions/dtrace.git'
cd dtrace/
git checkout cdf0eec474eafb19dbb2c998320aaad28f755d0b
@bennlee
bennlee / remapping-keys-via-hidutil.md
Created November 19, 2021 05:39
How to remapping keys on macOS without thirdparty applications.

How to remapping keys on macOS without thirdparty applications.

You could remapping keys via the macOS embedded command line tool hidutil.


Key IDs Table
Usage Usage ID (hex) Usage Usage ID (hex) Usage Usage ID (hex) Usage Usage ID (hex)
Title : Revisiting Mac OS X Kernel Rootkits
Author : fG!
Date : April 18, 2014
|=----------------------------------------------------------------------------=|
|=----------------=[ Revisiting Mac OS X Kernel Rootkits ]=-------------------=|
|=----------------------------------------------------------------------------=|
|=------------------------=[ fG! <phrack@put.as> ]=---------------------------=|
|=----------------------------------------------------------------------------=|
@oubiwann
oubiwann / open-genera-installation-on-linux.md
Last active November 13, 2025 21:10
Open Genera Installation on Linux

Open Genera Installation on Linux

About

These notes are based upon the steps provided here:

The notes in this Gist were created due to multiple attempts at installing Open Genera on different platforms that required more steps not inlcuded in the source notes above.