Skip to content

Instantly share code, notes, and snippets.

View iambenmitchell's full-sized avatar

Ben Mitchell iambenmitchell

View GitHub Profile
<?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>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
@iambenmitchell
iambenmitchell / getT2.sh
Last active September 7, 2020 12:40
Get T2 Information from macOS using bash.
#NOTE: THIS SUBMITS YOUR NON PERSONAL INFO TO A DATABASE, remove the line as stated below(curl).
# The purpose of the database is to help sites like The iPhone Wiki. No personal information is collected.
#!/bin/bash
clear
ChipID=$(/usr/libexec/remotectl get-property localbridge ChipID)
BoardRevision=$(/usr/libexec/remotectl get-property localbridge BoardRevision)
BoardId=$(/usr/libexec/remotectl get-property localbridge BoardId)
HWModel=$(/usr/libexec/remotectl get-property localbridge HWModel)
macModel=$(/usr/sbin/system_profiler SPHardwareDataType | grep "Model Identifier")
echo "This tool will get you detailed information about your T2 chip."
@iambenmitchell
iambenmitchell / gist:5060ce76189e4514eb69f4d107f0c53f
Created November 12, 2020 12:30
Fix macOS Big Sur RC update
The issue is caused by an incorrect software catelog. As apple is releasing big sur thursday, they changed the software catelog to the production one. The problem is that the production one does not yet have the bridge os firmware for big sur just yet. So in order to update right now you need to change back to the devleoper catelog.
//Set software catalog to developer
sudo nvram IASUCatalogURL=https://swscan.apple.com/content/catalogs/others/index-10.16seed-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
// Once updated, restore your NVRAM back to default for future updates
sudo nvram -d IASUCatalogURL
@iambenmitchell
iambenmitchell / blockchain-something-something-animation.markdown
Created April 17, 2021 01:07
blockchain something something animation

blockchain something something animation

only did the animation - for a bitcoin/crypto thingy site

A Pen by Jorge on CodePen.

License.

I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
@iambenmitchell
iambenmitchell / Use Discord Canary with OBS Virtual Cam.txt
Created January 3, 2022 18:20
Use Discord Canary with OBS Virtual Cam
If you are on M1 // Apple Silicon and you want to use the native discord client, currently the only way to do this is to use Discord Canary. The performance increase is really good, much better battery life and you get access to KRISP. However, you are unable to use the OBS Virtual cam and if you follow instructions online to fix it, you will just end up having it crash every time you go to open it. This is because discord Canary Requires a code signature. This code signature doesnt have to be valid, but it has to be present.
How to Use Discord Canary with OBS Virtual Cam:
1. Open Terminal
2. Run the following:
sudo codesign --remove-signature /Applications/Discord\ Canary.app/Contents/Frameworks/Discord\ Canary\ Helper\ \(Renderer\).app
sudo codesign -s - /Applications/Discord\ Canary.app/Contents/Frameworks/Discord\ Canary\ Helper\ \(Renderer\).app