Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Mitchell iambenmitchell

View GitHub Profile
View manifest.plist
<?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 Sep 7, 2020
Get T2 Information from macOS using bash.
View getT2.sh
#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."
View gist:5060ce76189e4514eb69f4d107f0c53f
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
View blockchain-something-something-animation.markdown

blockchain something something animation

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

A Pen by Jorge on CodePen.

License.

View gist:2a5401268fd8dd14b69b4b68c1aa1fae
I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
I MISS THE RAGE ⁉️
View Use Discord Canary with OBS Virtual Cam.txt
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