Updated for working with k3d 3.x
Prereqs:
- Assuming a Mac
- install k3d https://github.com/rancher/k3d
- Using Docker Desktop, must be installed and running
- kubectl, tkn installed
Updated for working with k3d 3.x
Prereqs:
This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.
"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.
I needed to quickly encode a protobuf from the command-line, and while I pretty much immediately came across protoc --encode
as the obvious solution, I did not find much documentation on the input textual syntax.
Here is the relevant snippet from protoc --help
:
--encode=MESSAGE_TYPE Read a text-format message of the given type
from standard input and write it in binary
to standard output. The message type must
be defined in PROTO_FILES or their imports.
Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it.
All I need to do is npm i -D webpack@next
, right?
+ [email protected]
Docker image to Virtualbox disk
https://stackoverflow.com/questions/23436613/how-can-i-convert-a-docker-image-into-a-vagrant-virtualbox-box by user blueskin (CC by-sa 3.0)
Find the size of the docker image from docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
version: '3.3' | |
services: | |
db_1: | |
image: mongo:3.0 | |
expose: | |
- "27017" | |
command: --replSet murmur --storageEngine wiredTiger --noauth | |
networks: | |
- skynet | |
ports: |
#!/usr/bin/env elixir | |
defmodule Canvas do | |
@behaviour :wx_object | |
@title "Canvas Example" | |
@size {600, 600} | |
def start_link() do | |
:wx_object.start_link(__MODULE__, [], []) |
export default function abilitiesPlugin(Vue, ability) { | |
const bus = new Vue() | |
const update = ability.update | |
ability.update = function updateAndNotify(...args) { | |
const result = update.apply(this, args) | |
bus.$emit('ability:update') | |
return result | |
} |
source: https://savedlog.com/uncategorized/letsencrypt-ssl-certificate-namecheap-hosting/
The “Positive SSL” certificate I bought along with my domain is invalid with any of my subdomains and cannot be used with wildcards. One annoying thing is that namecheap doesn’t offer auto installation of free let’s encrypt certificates, even though, they are saying “Namecheap is dedicated to data security and privacy for all internet users. We believe the movement to encrypt nearly all web traffic is a positive direction. As more sites embrace HTTPS and use of security products, providers of free SSL are beginning to come online.”
Let me show you what it needs to be done in order to “encrypt nearly all web traffic”.
First, not required but it’s helpful to enable ssh access, it is not enabled by default on the base hosting plans, just go an start a live chat and request ssh access.