node: checking if a file/directory exists

2020-08-10

 | 

~2 min read

 | 

311 words

There are a number of ways to check if a file or directory exists in Node, but one of the simplest is the synchronous method on the module…

git restore vs reset vs revert: the basics

2020-08-09

 | 

~5 min read

 | 

856 words

The command for Git is still experimental, but is a more intuitive solution to some of the problems I’ve come across regularly. Similarly…

debugging typescript in vs code

2020-08-08

 | 

~4 min read

 | 

648 words

Update: I wrote a follow up to this post that takes a slightly different approach by using source maps for better debugging and focuses on…

git prune: standard and as part of fetch

2020-08-08

 | 

~3 min read

 | 

498 words

What Is Pruning? Pruning is part of the Git’s garbage collection. It’s a way to prune references to unreachable or “orphaned” Git objects…

git rebase: an interactive tour

2020-08-07

 | 

~12 min read

 | 

2379 words

A few months ago I wrote about wanting to get more familiar with when I was learning to write better commits. I didn’t follow up on my…

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!