using callbacks to reverse data flow in react

2019-09-05

 | 

~2 min read

 | 

391 words

React’s one way data flow makes it easy to reason through, but sometimes the controlling component needs to know what’s going on inside. For…

regex in javascript strings: remove numeric or alphabetic characters

2019-09-04

 | 

~1 min read

 | 

103 words

Built into Javascript’s primitive are Regex methods such as and .1 We can use the latter to sanitize inputs. A simply way to clean a phone…

npm link

2019-09-03

 | 

~3 min read

 | 

532 words

Unless you’re working on a mono-repo, it’s fairly common that in the process of making changes to a code base, you’ll actually need to…

changing the default shell to zsh

2019-09-02

 | 

~3 min read

 | 

590 words

By default, the shell on a Mac is . Changing this should be a simple three step process: Make sure that is installed and is an accepted…

error handling: app can’t be opened because apple cannot check it for malicious software

2019-09-01

 | 

~1 min read

 | 

105 words

Recently upgraded an application and got this warning Error: Cannot Be Opened In the past, I used to be able to “right” click on the app…

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!