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…

Adjust total file descriptors of rabbitmq
The total file descriptors number of rabbitmq is 1024 by default. This value is not big enough obviously when your…

Kubernetes Image update/pull policy
In Kubernetes, the image pull policy is a configuration option that determines how the system should handle pulling container images.…

Sahara tutorial for openstack Liberty and Mitaka
Sahara tutorial for openstack liberty and mitaka This tutorial includes following parts: sahara installation cluster configuration job configuration run map…

Centos Close Systemd Port 111
In Centos/RHEL, systemd listens on port 111 which is used by rpcbind service, for security reason, close it or disable…

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

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…

Add Custom DNS Server/Entry in Openshift crc environment
If you have a private registry in your lab environment, and to add this registry to openshift crc environment, for…
Programming

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…

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…

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…

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…

JS/TS Convert unix timestamp to Time String
To Convert a unix timestamp to humman readable string, use new Date() with parameter * 1000, convert unix timestamp to…

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…

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…

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…

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