Skip to content

Instantly share code, notes, and snippets.

View willbrandin's full-sized avatar
🧑‍💻

Will Brandin willbrandin

🧑‍💻
View GitHub Profile
@willbrandin
willbrandin / event-names.txt
Last active May 25, 2022 19:32
ModernFertility Event Names
app_did_finish_launching
app_entered_foreground
app_entered_background
tapped_today_cta
scanner_cancel
scanner_retake
post_capture_sheet_resize
scanner_result_cancel
tapped_hormone_blob
tapped_sort_products
#!/bin/sh
# Takes filename as parameter.
file=$1
if [ -z "$file" ]
then
echo "<png_file> argument not specified."
exit 1
elif [ ! -f "$file" ]
@willbrandin
willbrandin / PinEntryView.swift
Created October 23, 2020 13:57
A SwiftUI View for entering login pins. Supports first responder and has no third parties.
import SwiftUI
struct PinEntryView: View {
var pinLimit: Int = 4
var isError: Bool = false
var canEdit: Bool = true
@Binding var pinCode: String
private var pins: [String] {