Computing

[Java] Remove empty items in List

2021-11-12 C.H. Ling 0

For Removing empty item in list, it can be be done directly. When using method removeIf(), it will throw UnSupportOperationException . It caused by collection items cannot be removed.

CI / CD

[Jenkins] Warning in pipeline

2021-09-21 C.H. Ling 0

It is usual when running pipeline, it will expect to continue even execute failure. Previously, need to use try..catch and change currentBuild.currentResult to unstable (Originally it can set as SUCCESS, FAILURE, UNSTABLE). Since Jenkine 2.26, […]

No Picture
Computing

[Jenkins] Pipeline options in jenkinsfile

2021-08-16 C.H. Ling 0

Normally, Jenkins pipeline settings can done in UI. However, it cannot be version control if settings changed. Actually, version control can implement in decorative pipeline in jenkinsfile. In this example, it will setup schedule to […]

Angular

[Angular] Idle timeout checking

2021-07-05 C.H. Ling 9

Idle timeout is one of the feature to enhance security by enforce logout if not used. In Angular, idle timeout can be done by rxjs. This demo will show the steps on adding and enable […]

Angular

[Typescript] Cookie handling in Angular

2021-06-09 C.H. Ling 0

Cookie is one of the persistent storage in web client. It can ensure data persistent even page refresh. Compare with Local storage, it has additional security as it natively support expire date time. As contract, […]

End User Environment 用戶環境

Customize Windows Terminal in Powershell

2021-04-14 C.H. Ling 0

Terminal is the tools for developer and operator and it streamline many routine process in batch. And we are face it almost everyday. There are several tools which can help to customize it to make […]

Database

[Database] MySQL Tunning

2021-04-12 C.H. Ling 0

For tuning MySQL, normally it will check index scan, cache and any hardware allocation align with database or not. To measure it, there are several tools to support your judgement.

1 2 3 4 5 6 27