Patrick Bacon

Code Generation for Rails Utility Scripts


7 months ago by Patrick Bacon on Atomic Spin.
It seems that on every Rails project I work on, I end up writing utility scripts that make changes to the production data in some way or another. Perhaps...

Running Tests from MacVim in iTerm2 Version 3


6 months ago by Patrick Bacon on Atomic Spin.
Way back in 2011, I wrote a blog post showing how to Run Tests from MacVim via Terminal.app or iTerm.app. I’ve been using that setup for years without...

DateStr – A Strongly-Typed Date String for TypeScript


4 months ago by Patrick Bacon on Atomic Spin.
Nearly every project I have ever worked on has had to deal with dates in one way or another. For example, there might be a need to generate a report for...

Running the Current Test File in VS Code


2 months ago by Patrick Bacon on Atomic Spin.
For the last few months, I’ve been using Visual Studio Code on a Node.js project. It’s a pretty great editor, and its support for TypeScript...

Importing with Absolute Paths using webpack in JavaScript/TypeScript


12 days ago by Patrick Bacon on Atomic Spin.
Using relative paths in your import statements is great for “Hello World” examples and blog posts. But when used in large projects with hundreds...