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
@jetfir3
jetfir3 / download_fusion.sh
Last active February 6, 2026 06:32
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without a Broadcom account.
#
# This script allows you to download various versions of VMware Fusion
# from Broadcom's Cloudflare CDN (versions 8.0.0 to 13.6.3)
# or from the archive.org VMware Workstation archive (versions 8.x.x+).
#
# Options:
# -k: Keep the downloaded file compressed (Cloudflare only; ignored for archive.org).
@danawoodman
danawoodman / How to allow the file picker AND camera capture on Android.md
Last active February 11, 2026 18:42
How to allow the file picker AND camera capture on Android

Allow photo album AND the camera

On Android devices, if you want to create a file input that prompts the user to either choose an image from their photo album or take a picture with their camera, you'll need this basically undocumented capture attribute added to your input's accept property:

<input type="file" accept="image/*;capture=camera" />
@trolin522581
trolin522581 / qbo2gc.awk
Created July 5, 2023 16:34
Migrate transaction data from QuickBooks Online to GnuCash
#!/usr/bin/awk -f
# Documentation is at the end of this file.
BEGIN {
FS = "\t"
tid = 1
getline
printf "Date,Transaction ID,Number,Description,Notes,Commodity/Currency,"
printf "Void Reason,Action,Memo,Full Account Name,-Account Name,-Amount With Sym,"
printf "Amount Num.,-Value With Sym,Value Num.,Reconcile,Reconcile Date,Rate/Price\n"
@kconner
kconner / macOS Internals.md
Last active January 21, 2026 01:06
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 February 10, 2026 12:55
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