Skip to content

Instantly share code, notes, and snippets.

View jamesez's full-sized avatar

Jim Zajkowski jamesez

View GitHub Profile
@talkingmoose
talkingmoose / Tahoe-compatible Macs (regex)
Last active November 10, 2025 14:37
Regex looks for all Mac models compatible with macOS 26 Tahoe. May not be up-to-date with newly released models.
https://support.apple.com/en-us/122867
Published Date: September 15, 2025
Updated: November 10, 2025
Verification: https://regex101.com/r/YXAchM/6
1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate):
^Mac((BookPro1(6,[124]|[78],\d)|(1[3-6]|BookAir10|mini9|Pro7),\d+))|iMac2[01],\d+$
@cliss
cliss / Brewfile
Last active September 12, 2025 00:02
Casey Liss's Brewfile, as of 31 October 2021
cask_args appdir: "/Applications"
tap "homebrew/cask-fonts"
brew "mas"
#### LAPTOPS ####
#cask "tripmode"
#### LAPTOPS ####
mas "Boop", id: 1518425043
@dbalatero
dbalatero / failover.rb
Created October 26, 2011 07:17
Provides basic failover for Resque -> MySQL
module Resque
# Provides a Failover to MySQL.
module Failover
def self.extended(base)
base.class_eval do
class << self
alias_method_chain :enqueue, :active_record_failover
alias_method_chain :enqueue_at, :active_record_failover
end
end