Shaun

Shaun

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 how to install and setup it. 1, Install ngx-monaco-editor js packages 2, Add the glob to assets in angular.json schema – projects.[project-name].architect.build (to make…

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 calling webclient with large data reponsed, an DataBufferLimitException exceptoin will throw and the following error will occured: To solve this…

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 we use map in a concurrent situation, we will find that it does not support concurrent reading and writing (an…

Kubernetes configmap guide

A ConfigMap is a Kubernetes resource that allows you to store configuration data as key-value pairs. You can use ConfigMaps to separate configuration data from your application code and enable configuration updates without the need for a full application restart.…

Happy New Year

Happy New Year! The Chinese new year is comming soon(The day after tomorrow). Wish you all who comes here: The next year is better than this year, and is worse than the year after next year!

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. For how to install php and pecl environment on centos8/rhel8, refer to previous post. how to install php 7.4 on…