Skip to content

Instantly share code, notes, and snippets.

@Goby56
Goby56 / popver.py
Last active October 30, 2025 09:50
Script to get a rough overview of which Minecraft version people are playing
# This script will retrieve all versions of FabricAPI available on Modrinth.
# By getting an estimate of how many downloads per day players download Fabric API
# for a particular version of Minecraft, we can get a somewhat good estimate of
# which Minecraft version is the most popular. We use Fabric API as it most likely
# is the first mod of choice someone installs.
import requests, re, datetime, tabulate
fapi_versions = requests.get("https://api.modrinth.com/v2/project/fabric-api/version")

Removing a Mac's Firmware Password By Reflashing EFI ROM

According to Apple, the only way to remove an unknown firmware password from a MacBook (2011 and later) is to take it to the Apple Store with the original proof-of-purchase. However, I've found that there is another way, which I've been successful with for the unibody MacBook Pro--it's essentially just modifying a couple bytes in the EFI ROM, which should be simple. What's not simple, however, is figuring out how to read and write to the EFI chip. In this post, I'll talk about the process that I figured out and what worked for me.

The Official Method

Apple's method of resetting the firmware password is not reproducible, as Apple generates an SCBO file that unlocks the EFI using their private key. You can read more about this process here. The problem with this system is that, if you are in the unfortunate situation of neither having the firmware unlock pass