Hi, I’m Caleb 👋

Here’s my simple developer blog for helpful reference

Distribute Docker Compose Services with an Overlay Network

Overlay Networks Overlay networks are an abstraction that make it possible for nodes on otherwise disconnected networks to communicate as if they are on the same network. Turns out their is a way to do this with docker networking so you can run your services from a docker compose on different machines without them having to know about it. The services can all continue to talk to each other using the docker DNS names without concern for where the other services are actually located!...

March 13, 2024 · 3 min · 611 words · Caleb Wightman

Dotnet Microservices Docker Development

Past Experience Previously, I have had trouble getting docker running painlessly on both Windows and Linux with dotnet, specifically for development. I just want the containers to update when there are code changes, is that too much to ask for?! In previous projects I would down and up my containers every time there was a change and wait minutes for the containers to rebuild every time just to see if the color of my button changed, this was really frustrating and slow!...

March 2, 2024 · 6 min · 1132 words · Caleb Wightman

Auto-Publish Obsidian Notes to Hugo Pages with Docker

Intro I’ve been a user of obsidian for my notes for just a little while, but already I love its open source nature, it has so many cool plugins, and that the notes are just plain text/markdown… I hadn’t ever used markdown before but quickly fell in love with it.. Which got me thinking… I’ve wanted to make a blog/repository of development notes for a while, what if there was a way I could publish the markdown of some of my notes to a webpage!...

December 30, 2022 · 9 min · 1903 words · Caleb Wightman

Widget Cards

#react #ui Fairly simple widget cards with tab-able panes made with react typescript and bootstrap. We start with a generalized widget card. I gave only a few options for fixed sizes, because I want them to be consistent if you are placing a bunch together on a page. Other than that it is basically a nice frame or wrapper around whatever children you give the component. The style style={{ overflowY: "auto", overflowX: "hidden" }} is important if you want the widget to be scroll able from within the pane....

December 29, 2022 · 4 min · 709 words · Caleb Wightman

regex notes

#programming/raku #programming/regex Regex- a pattern for strings /^ start $/ end Character Class Negation Matches \d \D A digit \w \W A word character (letter, digit, underscore) \s \S Whitespace, blanks, newlines, etc. \h \H Horizontal whitespace \v \V Vertical whitespace \n \N Logical newline (carriage return, line feed) . Any char Method Example Matches Enumeration [abc] a, b, or c Negation -[abc] Anything except a, b, or c Range [a....

October 10, 2022 · 1 min · 87 words · Caleb Wightman