Self-hosting a container registry
#!/usr/bin/env sh
USERNAME=username
PASSWORD=password
HOST=127.0.0.1
PORT=5000
NAME=registry
DIRECTORY=~/.var/ow-image-registry
usage()
{
echo <
#!/usr/bin/env sh
USERNAME=username
PASSWORD=password
HOST=127.0.0.1
PORT=5000
NAME=registry
DIRECTORY=~/.var/ow-image-registry
usage()
{
echo <
How would I introduce someone to the idea of functions? When you want a room painted, you call a painter. When you want a sink unclogged, you call a plumber. When you want something done, you call someone who can do it. Let's create a word that means "someone you…
Table of Contents 1. Parsing custom binary formats 1. Exploration 2. Binary Format Basics 3. Reading the MNIST data files 4. Misc I/O 5. An alternative higher-level API, ByteBuffer -> asIntBuffer Parsing custom binary formats This is a rough draft of some notes on working with binary data in…
Alembic [https://github.com/pallet/alembic] is fine if you're using Leiningen [https://leiningen.org/], but I've been using deps.edn [https://clojure.org/guides/deps_and_cli] and Clojure's built-in project/dependency management. deps.edn {:deps {org.clojure/tools.deps.alpha {:git/url "https://github.com/clojure/tools.deps.…
SQLite doesn't have a true "boolean" affinity. https://www.sqlite.org/datatype3.html#affname > 3.1. Determination Of Column Affinity The affinity of a column is determined by the declared type of the column, according to the following rules in the order shown: If the declared type contains the string…
TLS is a successor to SSL. SSL was developed in 1995 and while dealing with security issues went through 3 versions before someone wrote a similar but new protocol to try to address some of the issues inherent in SSL. This new protocol was TLS. You should be using TLS.…
I often get into a spot where I have a bunch of whitespace and newlines separating a couple of closed parentheses. (defun fib (n) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2)) ))) Lets assume your cursor is anywhere between the end of line 4 and the…
This is an account of my development environment overhaul. I’ve recently made the following changes: * Move from xfce [https://xfce.org/] to StumpWM [https://stumpwm.github.io/] * Move from Qwerty to Norman [https://normanlayout.info/] * Move from vanilla Emacs to Doom Emacs with Evil-mode (Vim bindings) StumpWM Instead of…
Eric Ihli 2018 Funding for this study was provided by Ezmonic [https://ezmonic.com]. Abstract Pi is a constant that not only surrounds us but continues to surprise us with unexpected appearances. For all of Pi's ubiquitousness, how much does the average person really know about it? This study aims…
Robert Greenberg [https://robertgreenbergmusic.com/] has some amazing lectures on music from The Great Courses [https://robertgreenbergmusic.com/courses/]. Even if the subject matter (classical music) doesn't interest you, he's an excellent lecturer and his enthusiasm is infectious. Regardless of topic, he's entertaining. Something from the beginning of Lecture 2…