Chinese MNIST Classification 1 — data preparation
import pandas as pd
dataframe = pd.read_csv('./chinese_mnist.csv')
inspect the dataset
Index(['suite_id', 'sample_id', 'code', 'value', 'character'], dtype='object')
in this tutorial, I assume you already have CFSSL and node JS installed. I want to show how client talk to server both with certificate and client talk to server without server to authenticate client (client is browser).
to get webserver use TLS, we need a certificate, here we use…
Build a secure HUB VPC with Fortigate firewall and alibaba CEN-TR to secure enterprise cross VPCs traffic with terraform
In this tutorial, We will demo how to use Fortigate and Alibaba CEN-TR to secure enterprise east-west and north-south traffic . The term east-west traffic refers to the traffic between two…
Create custom Jenkins master docker image with docker client installed for k8s
Offical jenkins master image does not have docker client installed.
sometime if you do not want launch another (agent) node to run your jenkins work, you may want use your master node to build project. …
when try to pull image from k8s.gcr.io. it always failed with error messages like below although I have http_proxy configured.
failed to pull image “k8s.gcr.io/kube-apiserver:v1.17.17”: output: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
, error: exit status 1
Couple things need to be fixed to solve this issue.
i@master-node:/etc/systemd/system$ sudo mkdir -p /etc/systemd/system/docker.service.d
i@master-node:/etc/systemd/system$ sudo touch /etc/systemd/system/docker.service.d/proxy.conf
i@master-node:/etc/systemd/system$ sudo chmod 777 /etc/systemd/system/docker.service.d/proxy.conf
i@master-node:/etc/systemd/system$ sudo vi
/etc/systemd/system/docker.service.d/proxy.confi@master-node:/etc/systemd/system/docker.service.d$ cat proxy.conf
Environment="HTTPS_PROXY=http://127.0.0.1:8123/"i@master-node:/etc/systemd/system$ sudo systemctl daemon-reload
i@master-node:/etc/systemd/system$ sudo systemctl restart docker
i@master-node:/etc/systemd/system$ sudo systemctl show — property=Environment docker
2. DNS name
Install GCP SDK
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-333.0.0-linux-x86_64.tar.gzunzip
gcloud initgcloud components updatei@DESKTOP-GJNS5EN:~$ gcloud config list
region = asia-east2
zone = asia-east2-c
account = xxxxxxxxx
disable_usage_reporting = False
project = avid-phoenix-266706
address = 127.0.0.1
port = 8123
type = httpYour active configuration is: [default]…
both WSL vethernet NIC on windows 10 host and IP address on WSL VM are dynamic. it changes after every reboot. how to make it static ? the solution is using supervisord as daemon to add a secondary IP to VM everytime when VM bootup.
You might running some service…
S4 is Version 4 SAP Business Suite, Targeting from morden user experience with fiori. and reduced transation time with in memory HANA database.
S4/HANA,S standfor simple. S4/HANA can be deployed as on-premise (include public) or Cloud (SAAS, as SAP manage the enviroment).
SAP landscape is a complete server setup of…
I would like to make medium.com webpage looks like a standalone App in windows 10. and also I ‘d like medium.com use dedicated socks5 proxy.
Firt open your medium.com from chrome browser
create a shortcut to your windows desktop.