Skip to content

Instantly share code, notes, and snippets.

View Peter-Schorn's full-sized avatar

Peter Schorn Peter-Schorn

  • Austin, TX
  • 03:07 (UTC -12:00)
View GitHub Profile

How to Deploy a NodeJS Application to AWS using Elastic Container Registry and App Runner

Signup for Amazon Web Services (AWS)

To get started, sign up for an aws account here.

Install AWS CLI

Install the AWS CLI here.

@Peter-Schorn
Peter-Schorn / XShape.swift
Last active February 4, 2022 01:03
X Shape in SwiftUI
import SwiftUI
/**
An X shape.
To ensure the shape is square, add the following modifier:
```
.aspectRatio(1, contentMode: .fit)
```
*/
@Peter-Schorn
Peter-Schorn / CustomAppStorage.swift
Last active December 16, 2021 02:11
SwiftUI AppStorage Reimplementation
import Foundation
import SwiftUI
import Combine
@propertyWrapper public struct CustomAppStorage<Value>: DynamicProperty {
private class Observer: NSObject, ObservableObject {
private let store: UserDefaults
private let key: String