Category: Tech

Go Docker SDK, Raw Terminal Ctrl+C handling

I spent my weekend in working on a new project called dockerit. It’s a simple wrapper around Docker written in Go and making use of the Docker SDK. One of the biggest sticking points for me, being fairly new with the Golang world, was trying to pass stdin stdout and stderr between the container and…

By addshore January 10, 2021 3

Simple Go defer code example

In Go, a defer statement will execute a function call just before the function it is called from returns. I found that most of the examples of a Go defer call online seemed to do complicated things with numbers. So here is a nice simple example with just text output. Example You can run this…

By addshore January 10, 2021 1

My Git Aliases

Overtime key presses really add up, especially when you use certain tools all throughout the day. Here are the bash and git aliases that I use for git to avoid doing some of these keypresses. I’m not sure how many times a day I use these shortcuts, or how many key presses I skip, but…

By addshore January 9, 2021 6

Auto reloading pi kiosk script from Github

While at Newspeak House in 2020 I found myself wanting to change how the screens dotted around the place worked. A little bit of context is needed here. These screens were dotted around the communal areas, each attached to as raspberry pi, and each running a kiosk script to load a browser and website when…

By addshore December 15, 2020 0

Open Sourcing WBStack

Open Sourcing the code and config for WBStack has always been part of the plan, although functionality came first throughout the first year or so. Finally there is a github organization for wbstack containing 16 public repositories that make up the entire deployment for wbstack.com. This effort took a few weeks trying to split sensible…

By addshore December 13, 2020 8