Tag: test
-
Regex
This regex matches image tags with a bunch of optional attributes in any order but a defined src: Useful tool for writing regex tests: https://regexr.com/3dvqn
-
Pizza making notes
Baking Steel When baking pizza in our standard oven, I use Baking Steel (I have the griddle version, which I flip over to the side without a trough) preheated in the oven for ~30 mins at 500F on the top rack. I launch the pizza with a wooden launching peel onto the steel for ~3…
-
Bash learnings
Bash things I always need to look up. Snippets If/then/else For loop Tools curl jq jq – command line JSON processor tr Transformations! Replacements, changing case, https://linuxhint.com/bash_tr_command/ Use | tr ‘\n’ ‘ ‘) to replace new lines with spaces. awk Awk is a command line text-processing tool. Use awk to replace a text with an…
-
Mental models
This is not an exhaustive list of all mental models. For that you should read the Farnam Street Great Mental Models books. These are the ones I’ve encountered and find useful. Reversible decisions quickly, irreversible decisions slowly. Barbell approach The best way to strike a balance between reward and risk is to invest in the…
-
Generative art project ideas
Reflect across a random line, not just a straight X or Y line. Aragonite Agate Abstract line drawings of people, a la Jenny Walton Asemic writing Letters 1 bounding box pick points close to each other Connect, repeat 2-3 times with connectors 2 Draw a line Pick a point on the line and draw another…
-
Resources for new dads
Recommended reading The Birth Partner by Penny Simkin Expecting Better and Cribsheet by Emily Oster Baby Sign Language Made Easy by Lane Rebelo For heading to the hospital Know your wife’s birth plan in and out. She’ll be in pain and appreciate someone advocating for her. Wear comfortable shoes. You’ll be on your feet a…
-
Chuck’s Notes
Welcome to the digital garden tended by Chuck Grimmett. Not sure what this is? Check out my post, What are digital gardens? This space is meant to evolve and change over time. Right now it is very much in its infancy. I’m customizing the WordPress theme to display the content like the vision in my head,…