- install video.js -
npm i [email protected]
- install video.js types (recently updated):
npm i @types/video.js
- Check tsconfig.json -->
"typeRoots"
+"types"
config properties matter!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -e | |
## Step Zero | |
## Checks to see if we've checked out to a newly-created branch & if we have, auto-commits an empty "first" commit | |
## | |
## Rationale: Due to the way Git maintains refs to hashes for HEAD (even when moving between branches of different names) | |
## we need to first always add a default/empty commit on new branch checkout. It's also nice because it orients you. | |
## | |
## Don't believe me? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable */ | |
const AWS = require('aws-sdk') | |
/* eslint-enable */ | |
const s3 = new AWS.S3({}) | |
/* eslint-disable */ | |
exports.handler = function(event, context) { | |
/* eslint-enable */ | |
const config = event.ResourceProperties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
# revisit this: https://github.com/aws-amplify/amplify-cli/issues/3240#issuecomment-623080190 | |
Parameters: | |
env: | |
Type: String | |
Description: The environment name. e.g. Dev, Test, or Production. | |
Default: NONE | |
authRoleName: | |
Type: String | |
Description: Name of authRole |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup lang="ts"> | |
const isLoggedIn = false | |
const authFormFields = [ | |
{ | |
type: 'email', | |
required: true, | |
}, | |
{ |
To be completed...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Taken from https://stackoverflow.com/questions/55539387/deep-omit-with-typescript | |
/** Union of primitives to skip with deep omit utilities. */ | |
type Primitive = string | Function | number | boolean | Symbol | undefined | null | |
/** Deeply omit members of an array of interface or array of type. */ | |
export type DeepOmitArray<T extends any[], K> = { | |
[P in keyof T]: DeepOmit<T[P], K> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Blog @model { | |
id: ID! | |
name: String! | |
posts: [Post] @connection(keyName: "byBlog", fields: ["id"]) | |
} | |
type Post @model @key(name: "byBlog", fields: ["blogID"]) { | |
id: ID! | |
title: String! | |
blogID: ID! |
- https://k8slens.dev/ -- LENS is like a full-blown IDE for Kubernetes. Hook up any of your kubectl contexts or files to it and you're off to the races!
- https://octant.dev/ -- Octant is like Lens, but different. In some ways, better, albeit it feels slightly slower...but it's dope also!
- https://k9scli.io/ -- Manage your kube clusters in style via one of the coolest, most-bad ass CLIs ever
- EKS Fargate profiles for
<fargate-profile-namespace>
. Guide - EKS Fargate coredns profile for coredns pods to run (create profile for
kube-system
namespace, refer guide from previous step) - EFS CSI Driver installed, mount points set and pv.yaml created. Refer Guide
- EKS ALB Controller, refer Guide.
Refer Helm Installation to install helm command