Skip to content

Instantly share code, notes, and snippets.

View lukemcgregor's full-sized avatar

Luke McGregor lukemcgregor

  • Company-X
  • New Zealand
View GitHub Profile
@bradwestfall
bradwestfall / S3-Static-Sites.md
Last active April 20, 2026 17:37
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation
@davidfowl
davidfowl / dotnetlayout.md
Last active May 8, 2026 07:25
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/