Skip to content

Instantly share code, notes, and snippets.

View jcelliott's full-sized avatar

Joshua C Elliott jcelliott

View GitHub Profile
@swalkinshaw
swalkinshaw / tutorial.md
Last active June 6, 2025 19:24
Designing a GraphQL API
@coryodaniel
coryodaniel / readme.md
Last active April 30, 2020 03:25
MyApp deployment operater
  • Use bonny to define a MyApp CRD and Controller
    • CRD has a few fields:
      • image
      • deployment_template
  • Define a DBMigration CRD and Controller
    • CRD has a few fields:
      • image
      • migration_template
  • The templates are ConfigMap’s
  • deployment_template is a k8s Deployment YAML manifest w/ no image set (runs ~mix run —no-halt)

How to setup a practically free CDN using Backblaze B2 and Cloudflare

⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,