Find out own SSH fingerprint:
ssh-keygen -lf /etc/ssh/ssh_host_ecdsa_key.pub
Add own public key to remote server for later verification:
This is how to integrate plantuml scripts in you reveal-md presentations.
Download the preproc.js from below to your project and replace the plantuml server url with your plantuml server.
Also replace the plantumlDir
with your target dir for the generated png files.
Run reveal-md with the preproc.js:
reveal-md slides.md --preprocessor preproc.js
This is tested with Traefik 1.7
This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals
https://example.com
-> https://example.com/abc/xyz/
https://example.com/
-> https://example.com/abc/xyz/
https://example.com/something
-> no redirectNginx can be configured to route to a backend, based on the server's domain name, which is included in the SSL/TLS handshake (Server Name Indication, SNI).
This works for http upstream servers, but also for other protocols, that can be secured with TLS.
nginx -V
for the following:
...
TLS SNI support enabled
/////////// changes for pom.xml | |
<dependency> | |
<groupId>org.powermock</groupId> | |
<artifactId>powermock-api-mockito</artifactId> | |
<version>1.6.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.powermock</groupId> | |
<artifactId>powermock-module-junit4</artifactId> | |
<version>1.6.2</version> |
My low cost keyboard does not have a less/greater/pipe key....
So I mapped a special key, to the less/greater/pipe key
# find out the keycode of the special key, for me it was 148
xev
# set Strg_r to Mode_switch -> Strg_r + special key will print pipe
sudo xmodmap -e "keycode 0x69 = Mode_switch Mode_switch Mode_switch Mode_switch"
# set key binding for special key. Replace the keycode with your keycode
sudo xmodmap -e "keycode 148 = less greater bar"
Expose daemon on tcp://localhost:2375 without TLS
.#!/bin/bash | |
set -e | |
DIR=~/install-docker-client-temp | |
mkdir -v --parents $DIR | |
#https://get.docker.com/builds/Linux/i386/docker-latest.tgz | tar xvz --directory $DIR | |
curl https://download.docker.com/linux/static/edge/x86_64/docker-17.11.0-ce.tgz | tar xvz --directory $DIR | |
mv -v $DIR/docker/docker /usr/local/bin/docker | |
chmod +x /usr/local/bin/docker |