This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # morphllm Offboarding Script for Windows | |
| # Usage: irm https://gist.githubusercontent.com/USER/ID/raw/offboarding.ps1 | iex | |
| $ErrorActionPreference = "Stop" | |
| $ORG = "morphllm" | |
| # Require Administrator privileges | |
| if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
| Write-Host "ERROR: This script requires Administrator privileges." -ForegroundColor Red | |
| Write-Host "Right-click PowerShell and select 'Run as Administrator'" -ForegroundColor Yellow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import serial | |
| import datetime | |
| class MockSerial: | |
| def __init__(self, port, baudrate): | |
| self.port = port | |
| self.baudrate = baudrate | |
| self.is_open = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # Ensure Xcode and Command Line Tools are installed | |
| xcode-select --install | |
| sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer | |
| sudo xcodebuild -license | |
| # Install Homebrew | |
| which -s brew |