Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
###
# RaceConditionSim.sh
# A script to simulate a Race Condition
#
# Copyright (c) 2021 Dayo Akanji
# MIT License
###
#!/usr/bin/env bash
###
# FixMacUpdates.sh
# A Script to Modify Updates for Installation on Unsupported Macs
#
# Copyright (c) 2020-2021 Dayo Akanji
# MIT License
###
@dakanji
dakanji / Install_USB_Maker.sh
Last active October 15, 2024 20:07
Creates Bootable USB for Mac OS Lion to Monterey (Excluding Mavericks)
#!/usr/bin/env bash
# Install_USB_Maker.sh
# Copyright (c) 2020 - 2024 Dayo Akanji
# - [email protected]
# Portions Copyright (c) Jeff Geerling
# - https://github.com/geerlingguy/macos-virtualbox-vm/blob/master/LICENSE
#
# MIT License
@dakanji
dakanji / Sceenmodes.c
Last active July 17, 2020 12:02
Display TEXT and GRAPHIC screen mode information in UEFI Environment
//
// Copyright (c) 2015 Finnbarr P. Murphy. All rights reserved.
// blog.fpmurphy.com/2015/05/check-available-text-and-graphics-modes-from-uefi-shell.html
// Display TEXT and GRAPHIC screen mode information in UEFI Environment
// License: BSD License
//
// The following code should work with any of the UDK (UEFI Development Kit) releases:
#include <Uefi.h>
#include <Library/UefiLib.h>
@dakanji
dakanji / myOC.tool
Last active July 8, 2022 14:20
Builds/Patches OpenCore (v0.5.x onwards)
#!/usr/bin/env bash
# myOC.tool
# A tool to patch and/or build OpenCore (v0.5.x onwards)
#
# (c) 2020-2022 Dayo Akanji <[email protected]>
# MIT License
# Script Params
# myOC.tool LBL_FIX GIT_TAG VARIANT RECURSE DEV_FLG NPT_VER