Latest

Intergrate vscode editor in angular
To intergrate vscode editor in angular 13 typescript and above, ngx monaco editor should be installed. The following steps described…

Spring WebFlux Databuffer Limit
The default databuffer limit size in spring webflux is 262144(256K) bytes, and it is hardcode in Base class(BaseDefaultCodecs), When you…

Understanding sync.Map in Go
As we know that go provides a type of map that allows us to store key-value pair data, but if…

Kubernetes configmap guide
A ConfigMap is a Kubernetes resource that allows you to store configuration data as key-value pairs. You can use ConfigMaps…

Happy New Year
Happy New Year! The Chinese new year is comming soon(The day after tomorrow). Wish you all who comes here: The…

Php configure memcached in centos8
Install and configure php and memcached plugin for wordpress setup on centos8 I use pecl to manually install memcached plugin.…

Kubernetes Pod Resource Usage Checking
There are so many ways to check pod resource usage such as cpu and memory in kubernetes, kubectl top command…

Kubernetes copy file from pod to local
Kubernetes client kubectl provides cp sub command to copy file from pod to local filesystem or from local filesystem to…

Troubleshooting kubernetes pod get stuck in Terminating status
Pods in Kubernetes can sometimes get stuck in the “Terminating” status, which means that they are being terminated but have…
Articles

book list
Understanding the Linux kernel I bought this book from amazon.This book illustrates how and why kernel components are implemented, but…

Add External Image Registry in OpenShift
There are serval ways to connect an external image registry (such as harbor) to your openshift environments. In installation phase,…

Run multiple commands in kubernetes
This article will describe how to run multiple commands on container startup phase in kubernetes. Kubernetes provides several ways to…

Kubernetes secret decode
In Kubernetes, a secret is a way to store sensitive information, such as passwords, tokens, or keys, that can be…

OpenShift 4.10 high available cluster installation Tutorial
In this tutorial, i will describe how to install and setup an openshift container platform (OCP) 4.10 cluster with high…

openshift origin multi-master manually deployment part-4
7, setup node service, we install node service on all nodes, including master nodes. yum install -y centos-release-openshift-origin yum install…

Mysql 8 CheatSheet
Database Operation Table Operation User Operation Backup/Restore

OVS调试排查指南
一、查看网卡状态:n…

OpenShift 4 Internal Image Registry Configuration
By default, when you install your openshift 4 cluster on bare metal manually, the internal image registry is not available,…
Programming

Understanding sync.Map in Go
As we know that go provides a type of map that allows us to store key-value pair data, but if…

Spring WebFlux Databuffer Limit
The default databuffer limit size in spring webflux is 262144(256K) bytes, and it is hardcode in Base class(BaseDefaultCodecs), When you…

Convert Json To Yaml In Java
In java, to convert json string or json object to yaml string, you can use jackson to do this in…

UEFI GUI App
This is a UEFI gui demo app i wrote for my job project. I have implemented some basic UI components,edit…

getrusage()
I just wrote one system call getrusage() today. paste it up.

Intergrate vscode editor in angular
To intergrate vscode editor in angular 13 typescript and above, ngx monaco editor should be installed. The following steps described…

A deep look into the kernel design of Shaun OS
The advanced design of kernel has made Shaun OS much more stable, attractive. How does it work? I will give…

Angular Application Witch Ace Editor Error
In HyperKuber Web Project which is using angular 13 with ace editor for yaml/json display, an error occured in browser…

Determine whether a directory is empty or not for ext2 file system
How do we determine whether a directory is empty or not for ext2 file system? first,let’s take a look at…