Archive for the 'howto' Category

Raspberry Pi Switch Chromium Browser Tabs

Tuesday, July 23rd, 2019

TL;DR

Switch browser tabs without browser extensions or plugins, using xdotool and crontab.

(more…)

Markdown Workflow

Friday, June 14th, 2019

tl;dr

A document workflow using mostly Markdown files, iCloud to sync between devices and a cron scheduled git commits.

(more…)

MacOS Finder New Markdown File

Saturday, June 8th, 2019

tl;dr

Apple Script that will create a new Markdown file in the current folder, copying the filename to the first line as a H1.

(more…)

Markdown Header Conversion Script

Tuesday, June 4th, 2019

tl;dr

Bulk convert Markdown headers with double underlines and underlines to hash/pound/number sign style.

(more…)

Concrete Countertop Coffee Table

Monday, September 10th, 2018

tl;dr

I created a coffee table from a toolbox chest of drawers, castors, wood, steel and concrete.

(more…)

Stupid Remote v4: TV remote control Web App

Wednesday, June 20th, 2018

tl;dr

Stupid Remote is a web app that controls devices over HDMI CEC and infrared: turning tvs on and off, switching inputs adjusting volume. Customization requires editing simple HTML and JavaScript and uses cec-client and lircd for control.

Stupid Remote v4 has been released, changes include new docs, audited dependencies and working Swagger UI.

(more…)

OpenCV Face Recognition

Tuesday, May 15th, 2018

tl;dr

OpenCV is an Open Source computer vision library that, among other things, can recognize faces, including eyes and smiles.

I set out a few weeks ago to build some prototypes with the library, to get an idea of how it works. I have created 3 prototypes, one that detects faces, one that detects eyes and one that detects smiles. All the projects are on GitHub here and they all use Python 3.

(more…)

3D Printing The first few weeks

Friday, April 20th, 2018

In February I finally got a Prusa i3 Mk3 3D printer that was ordered in December, a very late Xmas gift. I had struggled with a MakerBot Replicator previously, but based on my research, I had high hopes for the Mk3.

This is the story of the first few weeks of 3D printing and what I learned.

(more…)

Filebeat on OpenBSD 6.2

Sunday, March 25th, 2018

I recently installed a new of OpenBSD 6.2 server. As part of that install, I needed to install Filebeat to forward logs to an ELK server (Elasticsearch, Logstash and Kibana).

The process to install and configure are much simpler then previous OpenBSD versions (as covered here) because Go 1.7 is now a simple binary package install.

The following steps assumes you have installed OpenBSD 6.2 and will cover dependent package and Filebeat installation, and configuration of Filebeat.

(more…)

OpenBSD 6.2 VPN Endpoint for iOS and macOS

Sunday, February 25th, 2018

tl;dr

The following instructions describe how to remotely connect to a network over an IPsec / L2TP VPN through an OpenBSD server, using native clients on macOS and iOS.

There are many VPN appliances commercially available that provide a nice UI and often come with an expensive support contract. If you are willing to roll up your sleeves a little and don’t mind using the command line, it is possible to create your own VPN server with OpenBSD.

(more…)