Gnomon

The world is like a fleeting show

Deploy Spring Boot Application On Tomcat And Set SSL

Deploy Spring Boot Application On Tomcat And Set SSL

1. Package project as War There are just two items you need to change to your configuration how to package project: <packaging>war</packaging> export name package name <finalNam...

CICD pipeline(Jenkins) for angular 8 projects on Linux

Enviroment: Ubuntu 18.04.2 LTS 1. create a new user Login into root $ ssh root@host_ip Use the adduser command to add a new user $ adduser kuo Set and confirm ...

AOP Implement in .NET

AOP Implement in .NET

how is a javascript been loaded this this is readonly. this is kind of like context in javascript. In chrome console, if you type this, this means the root object, i.e. window > this ouput: W...

AOP Implement in .NET

AOP Implement in .NET

In computing, aspect-oriented programming (AOP) is a programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. In Java’s world, AOP is a very ...

Introduction To slf4j

SLF4J The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks, SLF4J allows the end-user to plug in the desired logging framework at deplo...

How-To Resolve High CPU

PlantUML with VSCode

How-To Resolve High CPU Support team reported an issue regrading high CPU usage of our latest deployed service application. They helped me to check corresponding process and found the count of thre...

PlantUML with VSCode

PlantUML with VSCode

PlantUML with VSCode PlantUML is a component that allows to quickly write: Sequence diagram Usecase diagram Class diagram Activity diagram Component diagram State diagram Object diag...

Opening Ports on the Windows Firewall

Opening Ports on the Windows Firewall With GUI/CMD/PowerShell

Opening Ports on the Windows Firewall Using GUI To open a port in the firewall using the GUI in Windows Server 2008/2012 R2 and Windows Server 2016, follow the below steps: Login using an admini...

Spread Attributes

ECMAScript 2015 - Spread Attributes

… are called Spread Attributes which the name represents it allows an expression to be expanded. var parts = ['two', 'three']; var numbers = ['one', ...parts, 'four', 'five']; // ["one", "two", "...

DICOM

DICOM Structure

Basic DICOM Structure

.gitkeep

what is .gitkeep for

.gitkeep isn’t documented, because it’s not a feature of Git. Git cannot add a completely empty directory. People who want to track empty directories in Git have created the convention of putting ...

How to Encrypt NLog

How to Encrypt NLog

How to encrypt NLog Nlog does not have a built-in mechanism to perform encrypting its log, but it provides a simple wrapper, just like a pipeline to transform the original text into encrypted text...

WPF Code Snippet

WPF Code Snippet

VS Snippet Use propdp create dependency property create style for datagrid header <DataGrid.CellStyle> <Style TargetType="DataGridCell"> <Setter Property="TextBlock.Ho...

CLI/C++

CLI/C++ Example

Convert a CLR string to char* #include "msclr\marshal_cppstd.h" using namespace msclr::interop; marshal_context context; System::String ^FileName = "D:\\1.xml"; const char * _FileName = cont...

Select

Select

Select Select provides access to the select() and poll() functions available in most operating systems, devpoll() available on Solaris derivatives, epoll() available on Linux 2.5+ and kqueue() a...