Skip to content

Instantly share code, notes, and snippets.

View mshick's full-sized avatar
💭
🥇

Michael Shick mshick

💭
🥇
View GitHub Profile
{
"Resources": {
"Vpc8378EB38": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": "10.0.0.0/16",
"EnableDnsHostnames": true,
"EnableDnsSupport": true,
"InstanceTenancy": "default",
"Tags": [
@mshick
mshick / new.json
Last active February 23, 2024 16:54
es-valvoline
{
"$projectId": "413f9d67-4d77-4a9c-8c23-eef765d419ca",
"$stage": "dev",
"s_id": "896403-EA",
"d_createdAt": "2021-07-01T03:12:00.342Z",
"d_updatedAt": "2024-02-06T15:11:09.475Z",
"i_version": 107,
"s_relationsUpdatedAt": null,
"s_profileAssetId": null,
"s_parentId": null,
@mshick
mshick / es-diff.md
Last active February 22, 2024 22:22
es-diff

gid://shopify/Product/6863399190628

NEW------

{
  "_index": "api-index-de2e9a18-41ea-412f-8577-7d500cee5f74",
  "_type": "_doc",
  "_id": "gid://shopify/Product/6863399190628",
  "_score": 1,
  "_source": {
@mshick
mshick / skipped.json
Last active February 9, 2024 16:09
skipped schemas
[
"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

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
{
  "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
PSI API Key: AIzaSyBBwDahSRXnAgWt11C6bBiBJ6NKtn9dMzQ
{
"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
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;
};
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) {