Posts in Technology

Node Virtual Environment nodeenv

Install nodeenv python package

Read more ...


Error: The maximum number of rules per security group has been reached

How to deal with the error: “The maximum number of rules per security group has been reached.”

Read more ...


Philips HF3520

My HF3520 had a mainboard failure and my attempts to repair it also failed. I have salvaged some of the components. Trying to save the environment by keeping them out of landfill in the hope someone else needs the parts

Read more ...


Lenovo Z13 Gen 1 Review

Last Updated: Jan 6, 2023

Read more ...


Dell WD19TB screen flashing with M1 Mac

New 2022 M1 Macbook external display flickers when plugged into the Dell WD19TB docking station.

Read more ...


Download page including assets loaded at runtime

curl and wget can be used to archive a site but even with the most exotic command line switches they will omit dynamically loaded assets pulled via javascript during run time. curl and wget will not follow them and the site will not work for later offline viewing. To download all the assets including dynamically loaded data we can generate a HAR file from the developer tools view in chrome.

Read more ...


Arch Linux on X1 Carbon 6th Gen

This is a bunch of random notes on installing Arch Linux on a ThinkPad X1 Carbon 6th Gen.

Read more ...


Arch Linux Tips

This is a bunch of random tips on Arch Linux.

Read more ...


Pagerduty Cloudwatch integration

It is possible to send your own custom payload to the Pagerduty Cloudwatch integration from a Lambda (instead of via a Cloudwatch alarm). Pagerduty does not document the internals but if you publish a custom message to the SNS topic that you have a HTTPS subscription to Pager duty following these simple rules you will see the event in Pagerduty.

Read more ...


M5 Paper e-ink Calculator

I added an M5 Paper to my collection of dev boards and decided to make a basic calculator to teach my son to count. Since he is only a few months old he mostly uses it as an expensive teething device.

Read more ...


Python 3.10 tips

Handy tips and notes about Python 30.8 10, 11 and beyond.

Read more ...


Demystifying AWS IAM Policies: Unraveling De Morgan’s Laws and S3 Buckets Policy

As of September 2021 You will now get error messages that detail the source of a IAM access block for the following policy types:

Read more ...


TLS/SSL Certificate Authority (CA) Trust store verification

The CA trust store is how a TLS client establish trust with the servers offered certificates. Curl uses openssl and Python uses its own store (like Java). The store on my system is located here:

Read more ...


Stringer Self Hosted RSS Reader

My setup is using the docker compose file and a local build of the docker image (since docker hub image is years old). Here is a dark theme (solarized) for the CSS. Just paste this over your stringer/app/assets/stylesheets/application.css file. I did not spend much time on it but it looks good enough for my taste.

Read more ...


Intercept HTTP/HTTPS TLS traffic

Use open source project mitmproxy and have visibility into what iOS apps (or anything else) are sending back to their mother ship.

Read more ...


Moved blog to alabaster with Sphinx

Mostly notes to self on how to deploy and architecture / setup. Inspired by https://github.com/vincentbernat/vincent.bernat.ch

Read more ...


Kubernetes tips

The problem is solved by removing the leading slash after the podname colon separator:

Read more ...


Enterprise tips for AWS Workspaces and AWS Managed AD

fjleon of Reddit has pointed out that today many of the limitations I have written about have been solved. see the discussion on Reddit Or check the documentation for the latest.

Read more ...


AWS Boto KeyError endpoint_resolver in session.py when using multithreading

When using multithreading in Python with AWS boto to get a session I was randomly hitting this error:

Read more ...


Route 53 Associate multiple private hosted zones with same name

Can I associate multiple private hosted zones with the same domain name to the same VPC?

Read more ...


CloudTrail and VPC Endpoints Logging

Today I learnt that AWS CloudTrail does not log requests that are denied by VPC endpoint policy. The reason for this is that it would allow an attacker to exfiltrate data via CloudTrail and the VPC endpoint outside of the VPC! (For example by sending lots of requests with data you want to extract in the request fields)

Read more ...


Expose WSL2 To LAN

I need to connect to my WSL2 container from other machines on the network over SSH: My container is assigned 172.24.208.2 and I will map 5022 to 22 on the host.

Read more ...


Docker Tips

Random useful docker stuff

Read more ...


Cloudwatch Loginsights handy queries

Find all requests matching URL

Read more ...


Gitlab

Random notes on Gitlab

Read more ...


Empty the clipboard as keystrokes with AutoHotKey

This is an AutoHotKey script for pasting the clipboard contents by simulating hardware keystrokes. It also fixes for stuck keys such as control and shift keys after the shortcut runs which are useful when pasting into a KVM, VMware console, RDP or Citrix session where latency is high or clipboard support doesn’t exist.

Read more ...


postfix/smtp[5600]: fatal: valid hostname or network address required in server description

Getting the error:

Read more ...


Introducing X-ENI or Cross Account ENI

Stumbled on an interesting new feature based on a commit in the AWS .net SDK which may have been released early.

Read more ...


Python quick dirty ping scan subnet

This script will automatically ping scan the subnet your host is connected to. To do this it does the following:

Read more ...


Proxyify application that does not support proxy

I have a legacy application that needs to connect over a proxy such as squid or HAProxy to a service on the internet. In other words I want to use netcat (nc) or something similar to proxy traffic through a proxy using the proxy protocol (or CONNECT method).

Read more ...


Bash Tips

The ultimate guide is here

Read more ...


Error when checking or applying host profile compliance “coredump partition”

The following error message occurs when you either

Read more ...


EMC VNX CLARiiON hacking MLUCLI

I stumbled upon on an Ebay bargain I could not resist, thankfully my old boss and good friend Wilhelm kindly allowed me to purchase a VNX 7600 with all the drives, and run the monster in a closet in our office! W.W also let me spend some time exploring the internals of the VNX. The original owner shuffled all the drives around including the sacred first 5 drives that contain the FLARE OS rendering it useless.

Read more ...


LiPo Charging Hack

When trying to charge a LiPo that had been drained to 0 voltage I was getting an error:

Read more ...


How to check MTU with ping on ESX (or any OS)

Just keep decreasing the packet size with -s flag on the ping command:

Read more ...


2147943712 Task Scheduler

When trying to get the Task Scheduler to run regardless of if a user is logged on or not.

Read more ...


Make any Windows window transparent

Everything displayed in the Windows user session is ultimately controlled by the Windows GDI Any everything displayed in a users session must run as that user (without modifying kernel or display drivers). Python provides a convenient API to control GDI.

Read more ...


Failover Cluster add disk fails on Windows

When trying to add a new cluster disk in a Failover Cluster the following error comes up in the report.

Read more ...