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
Posted on Thu 17 November 2022 in Computing • Tagged with gcp, python, api gateway, cloud functions, nginx
Posted on Thu 28 October 2021 in Computing • Tagged with linux, firewall, firewalld, iptables, susefirewall, nftables
Posted on Wed 27 October 2021 in Computing • Tagged with linux, firewall, firewalld, iptables, susefirewall, nftables
Posted on Sat 21 November 2020 in Computing • Tagged with linux, aws, jq, centos
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 …
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 …
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.
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 …
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 …
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 …
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 …