Skip to content

Instantly share code, notes, and snippets.

View peterfriese's full-sized avatar
🔥

Peter Friese peterfriese

🔥
View GitHub Profile
@peterfriese
peterfriese / MediumArticleApp.swift
Last active March 2, 2022 06:27 — forked from haIIux/MediumArticleApp.swift
Firebase Initialization - Swift
import SwiftUI
import Firebase
@main
struct MediumArticleApp: App {
init() {
FirebaseApp.configure()
}
@peterfriese
peterfriese / ReminderList
Last active November 9, 2021 08:30 — forked from disc0infern0/ReminderList
a Reminder List with control of focus, adding new values with double click, auto deleting nil values, using Combine for delay
//
// ReminderList.swift
//
// Demonstrates:-
// list settings (style, colouring etc )
// autoscrolling
// control of focus in List,
// adding new values with enter, or double click,
// auto deleting nil values,
// using Combine for managed delay/UI updates
@peterfriese
peterfriese / GPG and git on macOS.md
Created November 27, 2020 16:55 — forked from danieleggert/GPG and git on macOS.md
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys