Bart continues his miniseries on shell scripting by teaching us conditionals in the shell. In order to explain why conditionals are a bit odd in shell scripting, Bart first walks us through how it was originally done and then shows us the evolution to a much better method. It’s still weird, and many things are […]
Continue readingMore TagCategory: Programming by Stealth
CCATP #758 – Bart Busschots on Programming By Stealth 144
This week our guest is Bart Busschots with Programming By Stealth 144. When last we recorded, Bart started teaching us the basics of shell scripting using Bash. We learned how to collect terminal commands into a reusable shell script, but we didn’t learn how to accept any kind of input. In this installment, we learn […]
Continue readingMore TagCCATP #757 Bart Busschots on PBS 143 — Shell Script Basics
In this week’s episode of Programming By Stealth, Bart Busschots starts building out one more tool in our toolbox: shell scripts. Bart starts with the basics explaining how to tell our little scripts which shell to run using the shebang line, the structure of shell scripts, commenting, assigning, and using variables, and how to write […]
Continue readingMore TagCCATP #755 — Bart Busschots on PBS 142 — The XKPasswdJS Project Kickoff!
In this week’s installment of Programming By Stealth, Bart officially kicks off the XKPasswdJS project. This is what we’ve all been waiting for! As I said to Bart at the end of our recording, we’re no longer fixing to make a plan, we have a plan. The shownotes for this episode point to the README […]
Continue readingMore TagCCATP #752 — Bart Busschots on PBS 141 — Generating UML Class Diagrams with Mermaid (Don’t Cuddle the Mermaid)
In the last installment of Programming By Stealth, Bart taught us all about UML class diagrams for documenting the structure of our code. In this installment, Bart teaches us how to use the ASCII diagramming tool Mermaid to make our class diagrams. The advantage of Mermaid over a graphical tool to make our diagrams is […]
Continue readingMore TagCCATP #751 — Bart Busschots on PBS 140 of X — UML Class Diagrams
Bart and I are back from summer vacation to kick back into gear on Programming By Stealth. As you may remember, we’ve been learning all of the tools we’ll need to rewrite, test, and document Bart’s password generation library xkpasswd from perl to JavaScript. In order to start the rewrite, we need to understand the […]
Continue readingMore TagCCATP #743 – Bart Busschots on PBS Tidbit 6 of Y — A Real-World Webpack Case Study
In the past few episodes of Programming By Stealth, Bart has been walking us through worked examples to demonstrate how to roll up a web app using Webpack. These worked examples have been contrived to show how to perform the task. This week in a Tidbit episode, Bart walks us through how he tried using […]
Continue readingMore TagCCATP #742 – Bart Busschots on PBS 139 of X — Bundling a Web App/Site with Webpack (Part 2)
In our last installment of Programming By Stealth, Bart started teaching us how to bundle an app/website using our bundler of choice, Webpack. The app/website he’s creating for us is very simplified but is intended to allow us to exercise every one of the kinds of things we’d want to bundle. This week we finish […]
Continue readingMore TagCCATP #738 – Bart Busschots on PBS 138 – Bundling a Web App/Site with Webpack (Part 1)
We’re back in the saddle after a summer of “PBS Adjacent” installments. Our last real PBS was learning how to use Webpack to bundle a JavaScript library for sharing with the world. That was cool, but a lot of us want to use Webpack to bundle a web app we’ve written ourselves to include all […]
Continue readingMore TagCCATP #736 – Bart Busschots on PBS Tidbit 5 of Y — Tips for the Vacationing Programmer
I’m about to go on vacation where I suspect I’ll have little to no Internet to play with. It would be really cool if I could use any downtime (like on the 11-hour plane flight) to do some programming. Unfortunately, our code is often filled with references to content delivery networks to get needed libraries […]
Continue readingMore Tag