Become a member
Sign in
Chris McKee
Chris McKee

Chris McKee

Engineer. (archived blog posts https://bit.ly/30qrna1)

99 Following
169 Followers
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

Chris McKee
Chris McKee
Aug 15 · 1 min read

Reverse Proxying Cloudfront from Nginx & HaProxy over TLS

HaProxy

listen my_cf
bind :80
mode http
reqadd X-Forwarded-Proto:\ https
http-request set-header Host dsomehost.cloudfront.net
server my_cf_pt dsomehost.cloudfront.net:443 ssl sni…
Chris McKee
Chris McKee
Jul 10 · 2 min read

C# logo for stickers + stuff

originally posted at https://chrismckee.co.uk/c-logo-for-stuff-and-stickers/
around 07/2013

Chris McKee
Chris McKee
Jul 10 · 1 min read

Handy rsync for copying large amounts of data in linux

When copying to the local file system I always use the following rsync options:

rsync -aWhv --no-compress --progress /source/ /destinationfolder/

--no-compress as it's on the same machine
--progress speaks for…
Chris McKee
Chris McKee
Mar 15, 2017 · 1 min read

How to match HMACSHA256 between C# & Python

Things are rarely simple or obvious when working across languages; especially when one is .net.
Rather than waste time here’s the code, in its long form.

Test parameters