Running local scripts with HTML buttons

I was curious if it was possible to run local scripts from simply clicking a button on a basic HTML page, as I can think of a few good scenarios for browser based dashboard pages. This is using Python with Flask to start a tiny local web server, to serve a basic HTML page. The […]

Google Apps Scripts for filtering Gmail in Sheets

Made a couple of Google Apps Scripts yesterday/today. The first one counts how many unread emails in your Gmail Inbox from a domain or particular email address, and adds the number in the adjacent cell in the spreadsheet. There is some conditional formatting applied to show what’s above 0, and what’s 20 and above. The second one generates a […]

Email Parsing with N8N and Graylog

I’ve been building some website monitoring stuff lately using self-hosted software. Here’s one that uses n8n (like Zapier) to ingest email logs (sent from a WordPress site) from an IMAP folder, parses the email content into the GELF format (for Graylog), then sends it to a Graylog install via a HTTP POST request. I configured […]

Auxl

I’ve been learning how to interact with APIs lately, and this app on MacOS (Auxl) has been fun to play with. You visually drag around Nodes on a canvas to build your requests.

Netbox

If you work in IT with multiple client networks to keep track of, or you just have a lot of personal internet-connected devices around the place, NetBox looks like an awesome tool for interactive documentation! I’ve only just come across it recently, but I am definitely keen to try it out for my own stuff. […]

Grafana

This is a Grafana dashboard running on one of the raspberry Pis in my home network. It’s visualising a data feed that’s being fetched from a couple of cloud servers using Prometheus and Prometheus Node Exporter. The little ‘Job’ drop-down field at the top can toggle between 3 different servers to quickly change the source […]

Portainer

If you’re wanting to learn docker and what it’s all about, but you’re a visual learner (like me), there are a couple of great self-hosted GUI’s for managing containers. The one I’ve been using is Portainer – community edition (pictured). You can run the full version locally in your own network, and then just add […]

My Raspberry Pis

My HomeLab currently consists of two Raspberry Pi 4’s The Pi in the black case is the 4GB RAM model, running my install of Home Assistant. The Pi in the official (red & white) case is the 8Gb RAM model, running Open Media Vault 6 to act as a SMB network share and to run […]

The year of the plugin

flat screen monitor

I’ve decided that this year I’m going to learn how to build WordPress plugins. Not necesarily to publish to the wp.org repo, but something that will make my life just a little bit easier. I’ve followed Dustin Hartzler’s webinar tutorial back in Feb of 2014, but I think I will go back and re-watch it. Then […]

Grunt LiveReload on WordPress

The last component of Grunt I wanted to setup before I get stuck into my current WordPress project, is LiveReload. This does what it sounds like. When it detects any file changes (based on rules I set in the Gruntfile.js file), it automatically reloads the browser so I don’t have to constantly hit CMD + […]

Docker & Grunt

Today I decided to look into Docker & Grunt. Docker doesn’t really seem like the kind of thing that would benefit me much in my workflow for building SMB WordPress websites. Looks like it might be useful for larger sites, or more likely, web apps. Grunt, I have setup and am planning to use it […]