DEV Community

Chris Cook profile picture

Chris Cook

I post things so I don’t forget them

Work

Co-Founder at Flyweight.io

Three Year Club
Writing Debut
GitHub + DEV 2023 Hackathon Runner Up
Two Year Club
4 Week Community Wellness Streak
4 Week Writing Streak
2 Week Community Wellness Streak
1 Week Community Wellness Streak
One Year Club
Node
Buffer Logs and Flush Automatically on Error with Powertools for Lambda

Buffer Logs and Flush Automatically on Error with Powertools for Lambda

21
Comments 1
4 min read

Want to connect with Chris Cook?

Create an account to connect with Chris Cook. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
How To Remove Dynamic Values From Snapshot With Serializers

How To Remove Dynamic Values From Snapshot With Serializers

10
Comments
2 min read
Creating a TypeScript CLI for Your Monorepo

Creating a TypeScript CLI for Your Monorepo

71
Comments 9
1 min read
Middleware for Step Functions: Automatically Store and Load Payloads from Amazon S3

Middleware for Step Functions: Automatically Store and Load Payloads from Amazon S3

22
Comments 4
11 min read
What's a Valuable Skill You Should Have?

What's a Valuable Skill You Should Have?

3
Comments 5
1 min read
Collect Logs and Metrics from non-AWS Server using CloudWatch Agent

Collect Logs and Metrics from non-AWS Server using CloudWatch Agent

12
Comments
10 min read
Optional vs. Undefined: How To Check for Optional Properties

Optional vs. Undefined: How To Check for Optional Properties

13
Comments
2 min read
Highlights: Extract Highlighted Text from Images using OCR and CV in your Browser

Highlights: Extract Highlighted Text from Images using OCR and CV in your Browser

9
Comments
2 min read
The Fastest Way to Download from Amazon S3 (using Raycast)

The Fastest Way to Download from Amazon S3 (using Raycast)

11
Comments 1
3 min read
How To Use JSON with Comments for Configs

How To Use JSON with Comments for Configs

73
Comments 21
2 min read
Excluding Dependencies: Bundling for Node and the Browser

Excluding Dependencies: Bundling for Node and the Browser

7
Comments
2 min read
The Puppeteer Language Experiment

The Puppeteer Language Experiment

5
Comments
5 min read
A Simple Way to Sign AWS Requests with Signature V4

A Simple Way to Sign AWS Requests with Signature V4

18
Comments 2
3 min read
Format and Parse Amazon S3 URL

Format and Parse Amazon S3 URL

11
Comments 1
5 min read
Solving the Puzzle: Lambda Function URLs with IAM Authorization and CloudFront Custom Domains

Solving the Puzzle: Lambda Function URLs with IAM Authorization and CloudFront Custom Domains

16
Comments 3
5 min read
TypeScript: The Unexpected Magic of Generics

TypeScript: The Unexpected Magic of Generics

6
Comments
3 min read
Websites with AWS: Hosting with Private S3 Bucket

Websites with AWS: Hosting with Private S3 Bucket

28
Comments 4
6 min read
Running on Lambda: Serverless Reader View with Chrome and Readability

Running on Lambda: Serverless Reader View with Chrome and Readability

22
Comments 5
6 min read
Websites with AWS: Single Page Applications

Websites with AWS: Single Page Applications

44
Comments 13
4 min read
Serverless Plugin: Exporting Environment Variables and Stack Outputs

Serverless Plugin: Exporting Environment Variables and Stack Outputs

12
Comments 1
3 min read
Websites with AWS: Hosting, HTTPS and Custom Domain

Websites with AWS: Hosting, HTTPS and Custom Domain

29
Comments 3
9 min read
Assertions: How to Assert Conditions and Types

Assertions: How to Assert Conditions and Types

29
Comments 1
3 min read
How To Spy on Classes

How To Spy on Classes

30
Comments 3
2 min read
Extracting Class Methods: How To Derive an Interface From a Class

Extracting Class Methods: How To Derive an Interface From a Class

24
Comments 1
3 min read
Template Literal Types: How To Type Strings

Template Literal Types: How To Type Strings

19
Comments 1
2 min read
Stringify and Parse Errors in JavaScript

Stringify and Parse Errors in JavaScript

26
Comments
2 min read
How To Use expect.objectContaining With Null and Undefined

How To Use expect.objectContaining With Null and Undefined

15
Comments
2 min read
AdaGPT: My Learnings While Building a GitHub Action

AdaGPT: My Learnings While Building a GitHub Action

18
Comments 1
5 min read
AdaGPT: AI support for Issues and Pull Requests right at your fingertips!

AdaGPT: AI support for Issues and Pull Requests right at your fingertips!

34
Comments 7
2 min read
How To Debug a Single Test Case

How To Debug a Single Test Case

13
Comments
2 min read
Type Negation: How to Forbid Certain Properties

Type Negation: How to Forbid Certain Properties

19
Comments 4
3 min read
Understanding ID Token vs. Access Token in AWS Amplify

Understanding ID Token vs. Access Token in AWS Amplify

16
Comments 6
3 min read
Type Inference: How to Use Conditional Types and Generics

Type Inference: How to Use Conditional Types and Generics

22
Comments
3 min read
Conditional Return Types: How to Return the Right Type

Conditional Return Types: How to Return the Right Type

40
Comments 16
2 min read
Convert HTML To Notion Blocks

Convert HTML To Notion Blocks

18
Comments 3
4 min read
How To Mock Only One Function From Module

How To Mock Only One Function From Module

2
Comments
2 min read
Read All Files of Directory and Subdirectories with Recursive Generators in JavaScript

Read All Files of Directory and Subdirectories with Recursive Generators in JavaScript

18
Comments 5
2 min read
Trigger GitHub Workflow for Comments on Pull Request

Trigger GitHub Workflow for Comments on Pull Request

24
Comments 10
5 min read
Symmetric Difference of Arrays in JavaScript

Symmetric Difference of Arrays in JavaScript

5
Comments 1
2 min read
Function Overloading: How to Handle Multiple Function Signatures

Function Overloading: How to Handle Multiple Function Signatures

20
Comments 9
2 min read
Automatically Transcribe YouTube Videos with OpenAI Whisper

Automatically Transcribe YouTube Videos with OpenAI Whisper

39
Comments 2
3 min read
Match Nodes with One or More Labels

Match Nodes with One or More Labels

2
Comments
2 min read
New Version of git-pull-run

New Version of git-pull-run

2
Comments
2 min read
How To Iterate Over C String

How To Iterate Over C String

21
Comments 2
2 min read
Array Filter: How to Filter Values With Correct Types

Array Filter: How to Filter Values With Correct Types

23
Comments 1
1 min read
How To Run and Debug JavaScript and TypeScript in VSCode

How To Run and Debug JavaScript and TypeScript in VSCode

22
Comments 7
3 min read
Release NPM Package With Automatic Versioning

Release NPM Package With Automatic Versioning

11
Comments 3
2 min read
Print Number Pattern Using Loops

Print Number Pattern Using Loops

5
Comments
2 min read
AWS Service Principals for IAM

AWS Service Principals for IAM

14
Comments
1 min read
React useState with History

React useState with History

29
Comments
2 min read
Do you know about the Maker's Schedule?

Do you know about the Maker's Schedule?

11
Comments
1 min read
How To Implement Custom Matchers

How To Implement Custom Matchers

18
Comments 3
5 min read
How To Debug Any React App in Seconds

How To Debug Any React App in Seconds

13
Comments
1 min read
EventBridge Rules to Invoke Lambda and StepFunction

EventBridge Rules to Invoke Lambda and StepFunction

17
Comments
3 min read
Should Technical Managers Be Able To Code?

Should Technical Managers Be Able To Code?

20
Comments 26
1 min read
Switch-cased Error Handling in JavaScript

Switch-cased Error Handling in JavaScript

24
Comments 2
1 min read
Use Pull Request Number as Serverless Deployment Stage

Use Pull Request Number as Serverless Deployment Stage

13
Comments
2 min read
How To Access Private Class Members in TypeScript

How To Access Private Class Members in TypeScript

16
Comments 3
1 min read
Sign GraphQL Request with AWS IAM and Signature V4

Sign GraphQL Request with AWS IAM and Signature V4

24
Comments
3 min read
How To Recommend VSCode Extensions

How To Recommend VSCode Extensions

8
Comments
2 min read
loading...