node: how to determine if a path is a file or directory

2022-01-29

 | 

~1 min read

 | 

125 words

When using Node, it’s often necessary to know if the path you’re referencing is a file or directory. If you don’t handle these cases, it’s…

learning lessons

2022-01-29

 | 

~2 min read

 | 

226 words

This morning I was walking Finn and we ran into a cute Beagle and her owner. Finn dug in and refused to walk as he does when he wants to…

vs code: react functional component code snippet

2022-01-25

 | 

~2 min read

 | 

211 words

I found myself making a lot of new React components recently and decided to finally create a code snippet to help me move more quickly. To…

javascript: awaiting asynchronous operations on lists (arrays)

2022-01-18

 | 

~2 min read

 | 

366 words

I’ve written previously about converting syncrhonous code into its asynchronous equivalent, but there’s an edge case that’s worth talking…

compiling a c program

2022-01-13

 | 

~5 min read

 | 

869 words

How do you actually compile a C program? What are the steps to go from authoring a program in C to running it? Steps: Author Compilation Pre…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!