Preface You may find it’s difficult to find the correct time frame in jfr files when your teammates in other timezone told you that a…
Author: paul
How to bulk shrink images in JIRA text fields
Description When you want to paste a bunch of images to Jira comment, you may be supprised that you need to shrink them one by…
The steps that have saved my slow Macbook Pro M1
Description From this week, my MBP M1 Pro is very slow, almost unworkable Resolution Reset NVRAM & SMC Force the MacBook Pro M1 to shutdown…
Fix PaloAlto GlobalProtect VPN / Cisco AnyConnect VPN issue over iPhone tethered hotspot in T-Mobile network
Description When connecting to hotspot tethered by iPhone with GlobalProtect VPN or Cisco Any Connect VPN, the connection may fail in changing IP forwarding table,…
Remap Command key in mac to Control key in Windows Remote Desktop
Description One of the annoying things to work on Microsoft Remote Desktop from macOS is the Command key. It’s mapped to Win key on Windows…
Enable KnockoutJS/Oracle JET HTML template JS expression syntax highlight for WebStorm
Preface I know, it’s painful to use JET 13 without its Preact/V-Dom/Typescript variation. Unfortunately, we still need it for old projects. At least, we could…
Migrate AWS Lambda to Knative over AWS EKS (TypeScript with nodejs14)
Memo of the migrating steps Create docker images Assume your function is in path functions/FUNC_FOLDER/app.ts and export function lambdaHandler Change the labmda function to set…
An easy twist to save your day from Graphql syntax error
Problem You are dismayed when you are developing Apollo fullstack while too many changes have been made and graphql module is compaining syntax error. Where…
Quick Sort in TypeScript/ES6 (React) with visual mutations – TypeScript/ES6 可视化快速排序
Motivation Quicksort takes average O(N log N) time complexity with O(log N) space. It’s preferred in many cases than Mergesort which takes O(N) space in…
Permutation with Backtracking in React.js – 以回溯算法演示排列问题,React.js 呈现
Motivation Permutation algorithm is NP-Hard in factorial time complexity. It’s the a step of the naive solutions to solve Travelling Salesman issue. Code Analysis /**…
Red-black tree with Graphviz insertion example – 以 Graphviz 讲解红黑树添加节点
Preface I spent sometime on learning Red-Black tree. While it’s pretty time consuming as I couldn’t find a convincing tutorial in Youtube. So I decided…
Machine Learning:Gradient Descent with Angular – 机器学习:梯度下降之Angular演示
Preface / 前言 Thanks to the the courses offered by Andrew Ng, Gradient Descent is much easier to understand. 谢谢吴恩达的机器学习教程,梯度下降理解起来更多的容易了。 Code / 代码 This the…