- Chatham House Rule, so no attribution of ideas to people or companies
- bootstrapping environments (without object stores)
- service discovery
- removing spofs
| package main | |
| import ( | |
| "encoding/json" | |
| "errors" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| _ "net/http/pprof" |
I'm definitely not looking for work. However to provide some helpful guidance for hiring like-minded engineers, I would only consider working for a company if it met these requirements:
Copenhagen Street Food: big indoor street food place in Paper Island. Tons of options, but the duck fat fries from Copper and Wheat are amazing.
Musiksmag: decent little cafe / bar / record shop in Nørrebro.
Ruby: great cocktail bar.
Kalaset: fun place for brunch. Close to:
The use case I had when I implemented client SSL authentication was to secure a web interface for a centralised log service that I was running. I wanted it to have it available, securely, on the public internet. I implemented it using nginx's ssl module.
I only had this available for 4-5 developers. I think I'd only attempt to use this for anyone who is comfortable with SSH keys or if it was an API client. I think the technical bar is a little too high for anything else.
I wrote some scripts, which I've pushed to a public GitHub repository: olly/heracles. The README is a mix of actual commands that work, and thoughts for how things could be configured. The idea was for it to generate CAs, server certificates and client certificates, and store them in a git repository for easy backup. There in a fairly rough state, but what's there works and I had tested on a real setup.
| $ egrep 'a.*e.*i.*o.*u' /usr/share/dict/words | |
| abietineous | |
| abstemious | |
| abstemiously | |
| abstemiousness | |
| abstentious | |
| acetabuliferous | |
| acetarious | |
| acheilous | |
| acheirous |
First things first — I've had RSI and incessant pain before, and I don't want it again. There are many instances of keyboard break software, but the one I use is AntiRSI. It's available from the Mac App Store for a fiver, and its worth every penny to me. If you prefer free, an older version is still available. I enforce it always being running (but with the ability to turn it off when playing games) with a script I run from cron.
I use LaunchBar for more things than I can count. A Mac just doesn't seem to work right until I've got LaunchBar working.
| I have run an nginx container... | |
| docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 6d67de07731d nginx "nginx -g 'daemon ..." 40 minutes ago Up 40 minutes 80/tcp, 443/tcp epic_goldberg | |
| I want to use Debian for debug: | |
| docker run -it --pid=container:6d67de07731d --net=container:6d67de07731d --cap-add sys_admin debian | |
| I can see the nginx process: |
| // Largely copied (with some modernisation applied) from: | |
| // https://github.com/reem/rust-lazy/blob/master/src/single.rs | |
| use std::cell::UnsafeCell; | |
| use std::ptr; | |
| use std::ops::{Deref, DerefMut}; | |
| use self::Inner::{Evaluated, EvaluationInProgress, Unevaluated}; | |
| pub trait Invoke<A = (), R = ()> { |