Slinkyworks

Use Ghost with Cloudfront and WAF

Recently I ran into issues creating blog posts using the ghost blogging platform. For my ghost blog I use lightsail with clould front but was seeing intermittent issues when creating a blog post which turned out be a number of issues. Issue 1 - Not Caching Admin/Settings Pages My

Securing S3 Presigned URLs for Uploads

In this post I give a break down of how to secure S3 presigned upload URLs for untrusted third parties. As a quick refresher, unsigned URLs can be generated and used by third parties to upload and download files to and from S3. In the case of an upload the

Hammerspoon

The following is a script to enable drag scroll for a trackball: -- HANDLE SCROLLING WITH MOUSE BUTTON PRESSED -- Use button right click -- Use button 3 for kensington back button -- Use button 6 for Elecom Deft Pro local config = { scrollButtons = { 3, 6 }, rightButtonScrollEnabled = true, scrollSpeedMultiplier = -4, --

How to determine the HTTP Headers sent by a CDN

I wanted to detect if a request sent to my webserver is routed via a CDN or not. With Akamai we can add a setting to the akamai property to add a HTTP header to the request to determine this. It's possible to look at the HTTP headers

Ploopy Classic Trackball

ploopy trackball qmk

Slinkyworks © 2026