Skip to content

Instantly share code, notes, and snippets.

View karldreher's full-sized avatar

Karl Dreher karldreher

  • Vancouver, WA
  • 14:21 (UTC -07:00)
View GitHub Profile
@Cherry
Cherry / worker.js
Created April 10, 2021 15:52 — forked from AggressivelyMeows/worker.js
A worker to upload and read files from a private B2 bucket.
// A simple guide on how to use this Worker.
// To upload to the private bucket, you can send a POST request to the URL you want the file to end up at.
// For example: worker-url.com/images/user-1/subfolder/hi.png
// Once done, you can test your file by going to:
// worker-url.com/images/user-1/subfolder/h1.png
// Super simple API to use, much better than dealing with B2 directly, in my opinion.
addEventListener('fetch', event => {
event.respondWith(handleRequest(event))
@ruanbekker
ruanbekker / docker-howto.txt
Created April 25, 2017 10:59
Some Docker Howto Command Line Examples
My Docker Notes. I will post more in future on details about Docker, Docker Compose, Docker Swarm on my blog under:
https://sysadmins.co.za/tag/docker
Get Docker:
# curl -sSL https://get.docker.io | bash
Docker Hub:
Search:
# docker search ubuntu

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?