Skip to content

Instantly share code, notes, and snippets.

View mshick's full-sized avatar
💭
🥇

Michael Shick mshick

💭
🥇
View GitHub Profile
@mshick
mshick / skipped.json
Last active February 9, 2024 16:09
skipped schemas
View skipped.json
[
"ad659195-7ae5-4e16-b231-ee82467a79b4",
"45e95d14-f108-4268-92ff-d920987a4f94",
"504c2619-e083-4928-ae13-af8d4807f44c",
"37ca3170-d177-47b7-9dac-97f20d207b7e",
"3e51def1-a046-4322-bcc4-59e7469ec8e4",
"bf08b80a-4d67-4f31-b77d-2f9e21614051",
"1441753a-13ff-4559-9e02-4c4025cc884e",
"59869f2c-ea1a-40a1-92ad-009fbad9a0bd",
"bca69906-24a3-4151-b4e0-9db28a3f59a6",
@mshick
mshick / configuration.md
Last active January 16, 2024 22:21
before-after configuration
View configuration.md

Before (CDK Values Only)

{
 "context": {
    "appName": "ts",
    "appDescription": "TakeShape app stacks.",
    "defaultRegion": "us-east-1",
    "configTableId": "config",
    "configLayerId": "config-extension",
@mshick
mshick / schema.md
Last active March 29, 2023 22:49
pr3921
View schema.md
{
  "defaultLocale": "en-us",
  "locales": ["en-us"],
  "queries": {
    "getCharacter": {
      "resolver": {
        "compose": [
          {
            "id": "foobar",
@mshick
mshick / key.txt
Created June 29, 2022 21:16
page-speed-insights
View key.txt
PSI API Key: AIzaSyBBwDahSRXnAgWt11C6bBiBJ6NKtn9dMzQ
View schema.json
{
"projectId": "6932824a-6645-4fad-9a9e-5f8bf15b21f8",
"dataKey": "AQIDAHhcZWXOdlBglkxBhI23ElO/clC/kuw5ynjXDSqJgfTz8gEuQAJ2TbVIlaCU7btc64AfAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMTM0WaVe8Rhi6GyT0AgEQgDsiGU5nS77M1UlcodLZH7iZr2I37OjxCCLgghIQRTdVCGbIVzfh6dUoTpjkQMeO+kGN3w1brkmTX6RKFw==",
"version": 4,
"created": "2022-06-02T21:58:57.718Z",
"updated": "2022-06-02T22:03:33.348Z",
"defaultLocale": "en-us",
"locales": ["en-us"],
"apiVersion": "2",
"schemaVersion": "3.18.0",
@mshick
mshick / atomFamilyCart.ts
Created May 18, 2022 17:56
jotai-scratch
View atomFamilyCart.ts
import { atom } from 'jotai';
import { atomFamily } from 'jotai/utils';
import type { SetOptional } from 'type-fest';
export const STORAGE_KEY = 'cart';
export type CartItemKey = {
_key: string;
};
View nodash.ts
import type { JsonObject, JsonValue } from 'type-fest';
type PropertyName = string;
type List<T> = ArrayLike<T>;
type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
type Many<T> = Array<T>;
function baseGet(path: Many<PropertyName> | PropertyName) {
return (obj: JsonObject, defaultValue = undefined) => {
if (!path) {
@mshick
mshick / .env.local
Last active January 26, 2023 16:08
deluxe-starter-env
View .env.local
# NextAuth
NEXTAUTH_URL='http://localhost:3000'
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
NEXTAUTH_SECRET='1f0e4d8bbb175863ccb4318b31c325a0372caf2b28562f11b75fcd309fe16bba'
# NextAuthAllAccess - `npx @takeshape/next-auth-all-access generate-keys`
ALLACCESS_PRIVATE_KEY='-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCtM3+W/UoPs4vZ\n53kpo75IPxXCWdXUmc9AGEetm12Dit4PZuwtHjNtQJS/SepEE5E7MnrRz7JnoaGz\nukRjZNy4/6kz60C30k9YkysXboldE0pgliOnBkqr6wJexFGpKFpuALIMSpyZep5c\nk6QBbHvlh8k7X5s+SHqFiM4raEK9LGMenUp7XabWCatNcHXmO/Dxf0Suex4+N9gJ\nQoWdMTAs8L6egm8gRniJXzsK1Ea5Blw7892XRS6Xo1YiOJUXLPDJwgsUgF+Q++UK\n/9yMpoeDxMuJFLNp1aX/o6r4JfOpheNDmIXuz4FiH3u2avSGeZXpsdo3eUNKfteg\nBKkatmiRAgMBAAECggEAZ44y6wPmFB01sMNFHjBYxLlzORCdWM/dqmTZ9mK+NrgA\nrRTMgO1dsiS6yuRWvP02CD7WUDvuXye0ltD3srXLgpDZicFOoJmN91eGnCvq1UuD\nXNxn1KVeYAvTDvYyHQGTj9G6or65gspdhNyBYpiKO2JEXst69nI/TzfMjQd5X8D+\ndF8WjgCUjwvGCAwShFdn5TkKxGERJfcxqRS1CnHx1WdWDgkC21DEyAVlLs3Nkbgh\nEZKWu0w1x1g6nAnKqwDhiqhtQta/TV
@mshick
mshick / schema.json
Created April 19, 2022 21:12
pr3519
View schema.json
{
"apiVersion": "2",
"projectId": "468e2909-8393-4958-b7e0-8ca4df77921c",
"dataKey": "AQIDAHhcZWXOdlBglkxBhI23ElO/clC/kuw5ynjXDSqJgfTz8gHaiEcoxhZhcnJSk0i3kELqAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMhzhG7DaG1rE7Htm2AgEQgDueWHyfxu7sJxkezzs3hXDZlOpgMJ74ppKaF1uGv+qijcKs/4l7dpi3eW48WFPHZNeiFZgzWYPXimJXlA==",
"version": 63,
"created": "2022-03-22T19:33:49.580Z",
"updated": "2022-04-19T21:02:54.137Z",
"defaultLocale": "en-us",
"locales": [
"en-us"
@mshick
mshick / local-has-fields.json
Last active April 8, 2022 20:52
stripe-missing-fields
View local-has-fields.json
{
"Stripe_CheckoutSession": {
"id": "Stripe_CheckoutSession",
"name": "Stripe_CheckoutSession",
"title": "Stripe_CheckoutSession",
"schema": {
"type": "object",
"properties": {
"after_expiration": {
"@ref": "stripe:PaymentPagesCheckoutSessionAfterExpiration"