reqadd X-Forwarded-Proto:\ https
http-request set-header Host dsomehost.cloudfront.net
server my_cf_pt dsomehost.cloudfront.net:443 ssl sni req.hdr(Host)
Few quick notes: the port can be anything you like, the connection must be made via
tcp won’t work due to the SNI requirement.
The important part here is feeding the SNI to cloudfront ala sni req.hdr(Host)
An extra thing you may wish to do, depends on your resolver setup. IP ranges are pretty broad and non-static for cloudfront so you can set the resolver to use
resolver myresolvername at the end of the server line and setup your resolver to allow more frequent dynamic prodding of the cf dns record. …
originally posted at https://chrismckee.co.uk/c-logo-for-stuff-and-stickers/
Back in early 2013 I was pasting stickers all over my Acer, as if it was some sort of third-rate thermal insulation, and I thought to myself, wouldn’t it be nice if I could have a C# one.
Annoyingly all the C# ones were god awful. But Jeremy Kratz had made a nice C++ one while at MSFT and had kindly made it clear he wasn’t bothered about the licence something confirmed recently.
Anyhoo I liked it and decided to try and replicate it in Illustrator then sort for print in PhotoShop, whacked in main shape and lines, added in a circle for the c with a bit of editing, and a # sign in a nice Visual Studio friendly font (Consolas Bold) and coloured it in VS livery. …
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 itself
-a preserves ownership & permissions using archive flag
-W copying whole files only
# and optional ones for watching
-h human-readable transfer rate and file sizes
-v keeps it verbose so we can see whats happening