- What do Etcd, Consul, and Zookeeper do?
- Service Registration:
- Host, port number, and sometimes authentication credentials, protocols, versions numbers, and/or environment details.
- Service Discovery:
- Ability for client application to query the central registry to learn of service location.
- Consistent and durable general-purpose K/V store across distributed system.
- Some solutions support this better than others.
- Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state.
- Service Registration:
- Centralized locking can be based on this K/V store.
| #!/bin/bash | |
| cd /tmp || exit | |
| echo "Downloading Postman ..." | |
| wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz | |
| tar -xzf postman.tar.gz | |
| rm postman.tar.gz | |
| echo "Installing to opt..." | |
| if [ -d "/opt/Postman" ];then | |
| sudo rm -rf /opt/Postman |
| package main | |
| import ( | |
| "bytes" | |
| "compress/gzip" | |
| "encoding/gob" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "os" |
This edition comes with the nice and lightweight XFCE desktop environment.
I just wanted to test the live version of it, to see how it behaves with the GeForce graphics cards that comes with this system.
zorin@zorin:~/.themes/ZorinGreen-Dark_alt$ uname -a
Linux zorin 5.4.0-45-generic #49~18.04.2-Ubuntu SMP Wed Aug 26 16:29:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
zorin@zorin:~/.themes/ZorinGreen-Dark_alt$
To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.
Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.
As an example, to bind Fn+PgUp to the play/pause media function:
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| #!/bin/sh | |
| ## setup _________________________________ | |
| TMUX_VER=2.9a | |
| LIBEVENT_VER=2.1.11-stable | |
| TEMP_COMPILE=~/tmux-temp-compile | |
| COMMON_INSTALL_PREFIX=/opt | |
| SYMLINK=/usr/local/bin/tmux |
| package io.vertx.blog; | |
| import io.vertx.core.AbstractVerticle; | |
| import io.vertx.core.http.HttpServerResponse; | |
| import io.vertx.core.json.JsonArray; | |
| import io.vertx.core.json.JsonObject; | |
| import io.vertx.ext.jdbc.JDBCClient; | |
| import io.vertx.ext.sql.SQLConnection; | |
| import io.vertx.ext.web.Router; | |
| import io.vertx.ext.web.handler.BodyHandler; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |