Simulate Google GCP API Gateway and Cloud Functions for Local Dev with Nginx

Posted on Thu 17 November 2022 in Computing • Tagged with gcp, python, api gateway, cloud functions, nginx

Simulate Google GCP API Gateway and Cloud Functions for Local Dev with Nginx


Continue reading

Linux Firewalling in 2021 and a Gentle Introduction to NFTables Part II

Posted on Thu 28 October 2021 in Computing • Tagged with linux, firewall, firewalld, iptables, susefirewall, nftables

Linux Firewalling in 2021 and a Gentle Introduction to NFTables Part II


Continue reading

Linux Firewalling in 2021 and a Gentle Introduction to NFTables Part I

Posted on Wed 27 October 2021 in Computing • Tagged with linux, firewall, firewalld, iptables, susefirewall, nftables

Linux Firewalling in 2021 and a Gentle Introduction to NFTables Part I


Continue reading

Getting the Centos8 AMI ID from AWS cli - the free one

Posted on Sat 21 November 2020 in Computing • Tagged with linux, aws, jq, centos

Getting the Centos8 AMI ID from AWS cli - the free one


Continue reading

AWS Glue - Icecast Classifier

Posted on Mon 17 February 2020 in Computing • Tagged with aws

I've been using Athena + Glue to get stats from Icecast logs.

The Icecast log format seems to be the same as the default apache log format but with one extra field

By adding a custom classifier we can get Glue to detect the schema correctly.

This can be added by …


Continue reading

Linux Commandline Calculator - zcalc

Posted on Mon 13 January 2020 in Computing • Tagged with linux, zsh, zcalc

I quite often need to be able to convert hex to binary for my MegaDrive assembly writing and a command line calculator would be useful for doing this - I've never really got on with BC.

I came across zcalc which is part of zsh. It can be enabled with

autoload …

Continue reading

openSUSE on the Huawei Matebook D

Posted on Sun 21 July 2019 in Computing • Tagged with linux, huawei, opensuse

My current status of running opensuse Tumbleweed on the UK version of the Huawei Matebook D.

Summary

Out the box leap15.1 and tumbleweed ~July 2019 works pretty well. The biggest annoyance being the inconsistent suspend when I shut the lid or when I run systemctl suspend sometimes it will …


Continue reading

Huawei Matebook D review (UK edition)

Posted on Sun 21 July 2019 in Computing • Tagged with linux, huawei

I very rarely buy new laptops but after having received a new laptop at work with a 1080p screen I was really struggling to enjoy working on my trusty X250.

Somewhat on a whim, I thought I would get myself a Huawei figuring that they would be cheap because of …


Continue reading

Messing with JQ

Posted on Sun 21 October 2018 in Computing • Tagged with linux, jq, json

JSON seems to be the goto text format these days.  I wasn't a massive fan because I think YAML is nicer to read and XML I still think is great (think XPATH, XSTL etc) albeit not very hipster

Anyway, tools are what tends to make a technology IMHO and JQ …


Continue reading

Forwarding logs with rsyslog

Posted on Sun 03 September 2017 in Computing • Tagged with rsyslog, logging

rsyslog never seems to get as much attention as it should now that everyone seems to use logstash. I like rsyslog - it's always in the system repositories and it's been about for ages.

In this scenario I wanted to forward log files from a local file system verbatim to a …


Continue reading