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')

check balance


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…

This tutoiral will show you how to use CEN-TR for intra-region cross VPC communication. we will create a CEN instance, a CEN-TR router, two Spoke VPC, and one VM in each VPC. VM in each VPC can reach other VM in other VPC via CEN-TR. …

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 it always failed with error messages like below although I have http_proxy configured.

failed to pull image “”: output: Error response from daemon: Get 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
i@master-node:/etc/systemd/system/docker.service.d$ cat proxy.conf
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
gcloud init
gcloud 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 =
port = 8123
type = http
Your 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…

What is S4/HANA

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).

What is SAP landscape

SAP landscape is a complete server setup of…

I would like to make webpage looks like a standalone App in windows 10. and also I ‘d like use dedicated socks5 proxy.

Firt open your from chrome browser

create a shortcut to your windows desktop.


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store