Archive for the 'geek' Category

Raspberry Pi Full Screen Browser (2020-05-27-raspios-buster)

Tuesday, June 30th, 2020

tl;dr

Setup a Raspberry Pi running Raspberry Pi OS (formerly Raspbian) to boot into a full screen web browser, hiding mouse pointer, disabling screen saver. Includes installing additional fonts, putting the browser in kiosk mode and dual screen for Raspberry Pi 4 B.

(more…)

Raspberry Pi IR Transmitter

Wednesday, June 10th, 2020

tl;dr

How to configure a Raspberry Pi to transmit IR output using the new kernel drivers, ir-keytable & ir-ctl, rather then LIRC. Building on the previous post, Raspberry Pi IR Receiver.

(more…)

Raspberry Pi IR Receiver

Sunday, May 31st, 2020

tl;dr

How to configure a Raspberry Pi to receive IR input from a remote control using the new kernel drivers, ir-keytable & ir-ctl, rather then LIRC. Then using that input to run a script to reboot the device.

(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…)

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…)

Video Game Console Cabinet

Thursday, August 10th, 2017

tl;dr

I created a custom cabinet for my video game consoles, AV switch and Framemeister. Includes removable back panel to access and manage the cables.

(more…)

Creating a SSH Tunnel in Java

Sunday, April 9th, 2017

tl;dr

How to create a SSH tunnel in a Java app from a localhost port through a jump box to a specific port on a server. Allowing a connection to the remote server port as if it was a localhost port.

Examples found online provided only one ‘hop’, not the double ‘hop’ needed. The code below supports 2 hops, but in theory could be used to support any number of hops.

(more…)