Skip to content

Instantly share code, notes, and snippets.

View menangen's full-sized avatar
🏠
Working from home

Andru Menangen menangen

🏠
Working from home
  • Russia
View GitHub Profile
@Kutkovsky
Kutkovsky / Catalina_ISO.sh
Created June 26, 2019 10:17
The steps allowing to create macOS 10.15 Catalina VM on vSphere or ESXi
#!/bin/bash
# Steps to create the macOS Catalina (10.15) VM:
# login to developer.apple.com or beta.apple.com to download a tester's profile for your OS. Install it.
# Go to System Preferences > Software Update and start the update process
# When the Catalina Installer (few MBytes) is started, it downloads the remain part of installation.
# After all `Install Catalina Beta.app` should lay in the /Applications folder with approx. 6.5g size
# Proceed with the following script.
set -eux
@VAnsimov
VAnsimov / LifeCycleApp-Example1.swift
Last active November 6, 2020 11:29
Application life cycle
@main
struct YourApp: App {
var body: some Scene {
let publisherBackground = NotificationCenter.default.publisher(for: UIApplication.willResignActiveNotification)
let publisherForeground = NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)
return WindowGroup {
RootView()
.onReceive(publisherBackground) { _ in
@startergo
startergo / Big Sur kext update.md
Created May 8, 2021 05:57
Big Sur kext update
  • Find your System volume:
diskutil list
/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +255.7 GB   disk5
                                 Physical Store disk4s2
   1:                APFS Volume ⁨Big Sur HD - Data⁩       122.5 GB   disk5s1
   2:                APFS Volume ⁨Preboot⁩                 309.4 MB   disk5s2
 3: APFS Volume ⁨Recovery⁩ 887.8 MB disk5s3