Blog

A collection of quotes, things learned, and who-knows-whats

How to Show Docker Memory Usage: Amount Total, Amount Used, and Percent Used

I can view the total memory allocated to Docker with docker system info, as well as the amount and percent used for each container with docker stats. But how do I look at total usage? With a little Bash-foo, of course.

Book Snippets: The Subtle Art of Not Giving a F*ck

This book gets a lot of hate on the interwebs. I likely never would have read it, but it was given to me as a gift… So, why not? Funny enough I ended up liking parts of it.

Linear Search vs Binary Search: Explained With JavaScript

How’s that Latin proverb go again? “By teaching, we learn”.

Convert a Blob to a Base64 String With a JavaScript Promise

Sometimes you need to do this in the browser. Here’s how.

How to Add a Binary (or Executable, or Program) to Your PATH on macOS, Linux, or Windows

I often find myself explaining how to do this. It’s time I get wise and write a generic doc on it. We’ll assume you want to add a binary, named binary on macOS and Linux, and binary.exe on Windows, to your PATH. (How original, I know). Enjoy.

Current page: 10 of 44
Total blog posts: 220