Keepalive connections in upstream
upstream microservieA {
server 10.0.0.10:57241;
keepalive 128;
}
location {
proxy_pass microservieA;
proxy_http_version 1.1;
Keepalive connections in upstream
upstream microservieA {
server 10.0.0.10:57241;
keepalive 128;
}
location {
proxy_pass microservieA;
proxy_http_version 1.1;
for a in `docker ps -q`; do echo =========$a======= ; docker exec -it $a supervisorctl status ; done;
node { | |
// https://registry.hub.docker.com/_/maven/ | |
def maven32 = docker.image('maven:3.2-jdk-7-onbuild'); | |
stage 'Mirror' | |
// First make sure the slave has this image. | |
// (If you could set your registry below to mirror Docker Hub, | |
// this would be unnecessary as maven32.inside would pull the image.) | |
maven32.pull() | |
// We are pushing to a private secure docker registry in this demo. |
Install gnome-tweak-tool | |
* Glipper does not work any more use gnome extension which works awesome `https://extensions.gnome.org/extension/779/clipboard-indicator/` | |
* netspeed indicator | |
* Finally great launcher found https://github.com/Ulauncher/Ulauncher/ | |
* Sound input device switcher https://extensions.gnome.org/extension/906/sound-output-device-chooser/ | |
* Gtile https://extensions.gnome.org/extension/28/gtile/ | |
* Printer https://extensions.gnome.org/extension/1218/printers/ | |
* Very good Mac Theme https://github.com/vinceliuice/WhiteSur-gtk-theme https://www.gnome-look.org/p/1403328/ |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
# Make sure you grab the latest version | |
curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip | |
# Unzip | |
unzip protoc-3.4.0-linux-x86_64.zip -d protoc3 | |
# Move protoc to /usr/local/bin/ | |
sudo mv protoc3/bin/* /usr/local/bin/ | |
# Move protoc3/include to /usr/local/include/ |
##################### ElasticSearch Configuration Example ##################### | |
# This file contains an overview of various configuration settings, | |
# targeted at operations staff. Application developers should | |
# consult the guide at <http://elasticsearch.org/guide>. | |
# | |
# The installation procedure is covered at | |
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>. | |
# | |
# ElasticSearch comes with reasonable defaults for most settings, |
sudo lsof -F sn0 | tr -d '\000' | grep deleted | sed 's/^[a-z]([0-9])n/\1 /' | sort -n