November 27, 2018

DoH - DNS over HTTPS

A cartoon intro to DNS over HTTPS https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/ (2018/05/31) Even though all pages you browse are HTTPS, there are still some threats. A DNS query envelope the User Agent sends includes most of your IP address and which domain name you are looking for. Since these DNS requests are not encrypted, the resolver your computer uses and routers on a path to a DNS server can read and abuse them. Read more

November 26, 2018

Dive

Dive - A tool for exploring each layer in a docker image https://github.com/wagoodman/dive Dive shows changed (added/removed/modified) files per layer from an image. This tool also calculates an experimental metric called “image efficiency” that shows how much wasted space your image contains.

November 23, 2018

tus, Gitless and Service Workies

tus - Open Protocol for Resumable File Uploads https://tus.io/ Nowadays, more and more people share photos and videos from their devices. However, choppy mobile networks interrupt these file uploads time to time. tus is a simple and extensible protocol for resumable file uploading built on top of the HTTP. It describes how to resume/terminate an interrupted upload. The spec is here: https://tus.io/protocols/resumable-upload.html Gitless https://gitless.com/ Gitless aims to provide a pretty simple and friendly command line interface with the gl command that wraps Git. Read more

November 22, 2018

RUN --mount - Dockerfile frontend experimental syntaxes

Dockerfile frontend experimental syntaxes https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md You can build images with BuildKit on Docker 18.06 or later. With BuildKit, RUN instructions in Dockerfile accept --mount option. It can be used as a volume for build-time. For example, RUN --mount=type=cache,target=/var/cache/apt apt-get install ... means “Mount /var/cache/apt as a cache directory while running the command”. The cache remains in Docker host machine until you remove it with docker builder prune. In other words, you can share cache files among two or more build without writing them in the images. Read more

November 19, 2018

Build Your Own Shell using Rust / monorepo-tools

Build Your Own Shell using Rust https://www.joshmcguigan.com/blog/build-your-own-shell-rust/ A tutorial on building a shell using Rust. The tutorial starts with the simplest interactive CLI application that runs a command from the input. And then implement supporting multiple commands, handling arguments, implement well-known-built-in commands (such as cd), error handling and pipes. The tutorial does not deal with TTY (PTY) but it is a good starting point for people who are learning Rust or aspiring to develop a new shell. Read more

(c) Hibariya Lerche 2018

Powered by Hugo & Kiss.