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
| rules: | |
| type-enum: | |
| - 2 | |
| - always | |
| - - build # build system changes | |
| - infra # CI/CD, VCS, deployment, etc. | |
| - devtools # developer tools not covered by `infra` | |
| - docs # non-meta documentation changes | |
| - meta # meta documentation changes or manifest-related changes |
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 | |
| #Get Big Sur, Monterey & Ventura InstallAssistant.pkg links from Apple | |
| #For macOS 11 (Big Sur), 12 (Monterey) and 13 (Ventura), Apple provides the Install macOS ___.app packaged as InstallAssistant.pkg | |
| #The links for the InstallAssistant packages are listed in the seed catalogs | |
| #The seed catalogs are listed in /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/SeedCatalogs.plist | |
| #The script gets the CustomerSeed seed catalog link from SeedCatalogs.plist, then gets the macOS versions available from the Info.plist and prints the links for the corresponding InstallAssistant.pkg | |
| #Other options | |
| #PublicSeed (Public Beta) | |
| #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'PublicSeed' | sed -e s/'"PublicSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) | |
| #DeveloperSeed (Developer Beta) |
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
| # Load | |
| Split-Path $MyInvocation.MyCommand.Path -Parent | Push-Location | |
| Get-ChildItem poco_*.ps1 | %{. $_} | |
| Pop-Location | |
| function Select-Poco | |
| { | |
| Param | |
| ( | |
| [Object[]]$Property = $null, |
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
| #!/usr/bin/env swift | |
| // | |
| // PrintBootCampESDInfo.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |