customizing iterm: persisting directories between sessions

2020-04-30

 | 

~1 min read

 | 

165 words

I use a lot of aliases to help navigate to common directories within my terminal. When I’m creating a new session, however, most of the time…

displaying current working directory in iterm window

2020-04-29

 | 

~1 min read

 | 

163 words

Understanding where you are in your terminal can be a useful piece of information. While you can always find it by printing the working…

rapid prototyping graphql: using memory to quickly test queries and mutations

2020-04-28

 | 

~2 min read

 | 

386 words

Imagine the following GraphQL schema for retrieving data about dogs: Highlights: Dogs have a name (always) and a breed (sometimes). Querying…

using node to find all files in a directory

2020-04-27

 | 

~3 min read

 | 

555 words

Turns out Node has for exactly this purpose. From the docs: Asynchronous readdir(3). Reads the contents of a directory. The callback gets…

standard tsconfig for node projects

2020-04-26

 | 

~1 min read

 | 

127 words

The following is a simple that I’ve found helpful when writing simple node applications. I’ve found myself copying and pasting it between…

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!