Skip to content

Instantly share code, notes, and snippets.

View jonathanio's full-sized avatar
💭
Starting the next new challenge...

Jonathan Wright jonathanio

💭
Starting the next new challenge...
View GitHub Profile
@jonathanio
jonathanio / terraform-ci.yaml
Created July 2, 2023 19:26
GitHub Workflows for `GITHUB_TOKEN` supported actions
---
name: Terraform CI
on:
workflow_call:
# No inputs are required, as all information about the event will be pulled
# in from the context of the event itself
jobs:
terraform-checks:
@jonathanio
jonathanio / mt-dyndns-update
Created June 8, 2015 18:59
MikroTik DynDNS Update Script
# mt-dyndns-update.rsc
# ~ MikroTik script to update DynDSN hostname using IP from provided interface
# (c) 2014 onwards, Jonathan Wright <jon@than.io>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@jonathanio
jonathanio / keybase.md
Last active November 7, 2018 20:57
keybase.md

Keybase proof

I hereby claim:

  • I am jonathanio on github.
  • I am jon_than_ (https://keybase.io/jon_than_) on keybase.
  • I have a public key ASDBBfi2iPoEW7WHMRjbFPfWtx9A8-FQOmey7FFnkec4nQo

To claim this, I am signing this object:

@jonathanio
jonathanio / nginx-rfc2616.patch
Last active August 29, 2015 14:03
nginx Patch
Description: Allow ranges on upstream cacheable/buffered files.
Added support for allowing ranges within upstream cachable/buffered
files in order to properly support RFC2616:
If a proxy that supports ranges receives a Range request, forwards
the request to an inbound server, and receives an entire entity in
reply, it SHOULD only return the requested range to its client. It
SHOULD store the entire received response in its cache if that is
consistent with its cache allocation policies.