Skip to content

Instantly share code, notes, and snippets.

View Peter-Schorn's full-sized avatar

Peter Schorn Peter-Schorn

  • Austin, TX
  • 11:36 (UTC -12:00)
View GitHub Profile
// ==UserScript==
// @name Auto-Refresh Tray Count
// @namespace http://tampermonkey.net/
// @version 2024-05-21
// @description try to take over the world!
// @author schornpe (Peter schorn)
// @match https://flow-sortation-na.amazon.com/*
// @match http://flow-sortation-na.amazon.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Tray Stacks Counter
// @namespace http://tampermonkey.net/
// @version 2024-05-14
// @description try to take over the world!
// @author Peter Schorn (schornpe)
// @match https://flow-sortation-na.amazon.com/*
// @grant none
// ==/UserScript==

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