Skip to content

Instantly share code, notes, and snippets.

View fraune's full-sized avatar
🅿️
not smashed by a parking garage

Brandon Fraune fraune

🅿️
not smashed by a parking garage
View GitHub Profile
@fraune
fraune / SwiftUI_NavigationStackNestedTabView.swift
Last active October 26, 2023 03:19
SwiftUI NavigationStack nested within TabView
//
// ContentView.swift
// MixedViewsTest
//
// Created by Brandon Fraune on 8/11/23.
//
import SwiftUI
/// https://stackoverflow.com/a/76887384/13944515
@fraune
fraune / enable-pre-commit-kotlin-lint.sh
Created September 27, 2023 02:16
Create Git pre-commit task
cd ~/Programming/gitlab/mobile/android && \
echo ./gradlew ktlintFormat > .git/hooks/pre-commit && \
chmod +x .git/hooks/pre-commit
@fraune
fraune / touch_id_sudo.sh
Last active December 27, 2023 05:49
Enable a Macbook's Touch ID to authorize the `sudo` command in MacOS Terminal
sudo grep -q -F 'auth sufficient pam_tid.so' /etc/pam.d/sudo || sudo sed -i '' '2i\
auth sufficient pam_tid.so
' /etc/pam.d/sudo