Skip to content

Scripting and development

Write it down once, and stop doing it by hand

Every business runs on a few systems that were never designed to talk to each other. What makes them cooperate is almost never a platform. It is a small program with one clear job and an honest error message.

A workspace with code on screen

The tools nobody sells you

  • PowerShell for Windows, directory work, mailboxes and scheduled tasks that actually report when they fail.
  • Python for anything that touches data, an interface to another system, or needs real error handling rather than a shrug.
  • Bash for the Linux glue, the file moves and the log wrangling.
  • One off tools: importers, checkers, small dashboards, and command line utilities for the one thing your people keep doing by hand.

Everything ships with a help flag, a dry run on anything that writes, and a short readme covering install, run and recovery. If it can delete something it tells you what it is about to delete and waits.

What a script of mine looks like when it runs

It says what it is doing, it says what it found, and it stops rather than guessing. Silence is not success.

nightly backup, alerts only on failure
$ ./nightly.sh
[ok]   snapshot taken           14 volumes
[ok]   copied off site          2.1 TiB, 41 min
[ok]   restore drill            1 file pulled back and compared
[warn] one drive reporting reallocated sectors
[ok]   done. nobody needs to be woken up.

The warning line is the important one. A job that only ever prints success is a job nobody reads, and then the day it fails nobody notices either.

Websites you own outright

Most small business sites are far heavier than they need to be: a page builder, a dozen third party scripts, and a monthly bill for the privilege. I build static sites, the same way this one is built, so pages load immediately, cost almost nothing to host, and are hard to break.

  • Plain HTML output that serves from the edge, with no page builder in the middle.
  • The pages a customer actually needs, written to be read rather than to fill space.
  • Catalogue and data driven pages where the content lives in a file you can edit, not in somebody's database.
  • The source is yours, in a repository, with no builder lock in and no per page subscription.

When the thing has to physically exist

Sometimes the answer is not software. A bracket, a mount, a housing, a part that is out of production and holding up the whole job. Three dimensional printing covers a lot of that, and small microcontroller boards cover the rest when something needs to sense or switch on its own.

Start here

Tell me what is going on.

One paragraph is plenty: what you are trying to do, and what you have already tried. You get an answer, usually within one business day, with what I think it is, what it would take, and whether you should bother.

What I recommend is what I already runYou own the source and the systemsI will tell you when not to buy it