If you are using a private registry with a self-signed certificate, and need to connect to it from a macOS laptop, you are likely to incur in the following error: $ docker-compose up -d Pulling search (docker.registry.mydomain.io:5000/image:2.0.1)… ERROR: Get https://docker.registry.mydomain.io:5000/v1/_ping: x509: certificate signed by unknown authority it turns that (a) there is not much of … More Docker for Mac and insecure registries
This is the first of a series of three articles that shows how to setup a Vagrant-based Apache Mesos test/development environment on your laptop; then how to run a Python notebook against the HTTP API; and finally, how to launch Docker containers on the running Agent VM. It is pretty jam-packed and requires a certain … More A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3
Make your code more pythonic by using magic methods in your classes. … More Python Magic Methods
overview Uses OpenSSL library to encrypt a file using a private/public key pair and a one-time secret. A full description of the process can be found here. configuration This uses a YAML file to describe the configuration; by default it assumes it is in /etc/filecrypt/conf.yml but its location can be specified using the -f flag. … More filecrypt – OpenSSL file encryption
This is the post on github and it shows a few useful and worthy features have been added. To install on Ubuntu 14.04 (and newer – possibly older too, but I haven’t tested it): sudo add-apt-repository ppa:git-core/ppa sudo apt-get update && sudo apt-get install git then you should see the newest version: $ git –version … More Git 2.9 has been released
Updated The code is now available on github: https://github.com/massenz/distlib. Introduction A Merkle Tree is a tree structure where the individual nodes’ hashes are computed and stored in the parent node, so that the hash stored in the root node is the only value that is required to later validate the contents of the tree (stored … More Implementing A Merkle Tree in C++
The code presented here makes judicious use of Optionals, Functionals and the new Streaming interfaces.
It’s all very awesome, and makes me wonder: Java, what took you so long? … More Using Java 8 Optional and Functional interfaces to reduce boilerplate