Ubuntu 22.04 Setup L2TP VPN
install xl2tpd Can’t get full editor, execute network manager from console to see error message: nm-connection-editor error message: Could not load editor VPN plugin for “org.freede...
install xl2tpd Can’t get full editor, execute network manager from console to see error message: nm-connection-editor error message: Could not load editor VPN plugin for “org.freede...
Resource vs Endpoint What is the difference between resource and endpoint? The term endpoint is focused on the URL that is used to make a request. The term resource is focused on the data set...
singular They should always be singular. If your class is a container for several notes, then you should find a singular noun to describe the whole thing. I find that using singular nouns usuall...
let num = (data[0] / (data[0] + data[1])) * 100; if (num < 1) { return num.toFixed(1) + "%"; } else if (num < 10) { return num.toPrecision(2) + "%"; } else { return Math.floor(num) + "%"; ...
Hook Functions starting with use are called Hooks. Effect Some components need to synchronize with external systems. Effects let you run some code after rendering so that you can synchron...
Setting > Editor > Code Style > HTML: Click Other tab: inside Spaces group: check In empty tag
Setting > Editor > Code Style > Javascript: Click Spaces tab: inside Within group: check ES6 import/export braces
IDEA 的 HTTP Client(.http 檔)執行後,回應不是出現在 Run 視窗,而是在 Services 視窗。 建立請求檔:Tools -> HTTP Client -> Create Request in HTTP Client。 .http 檔每個請求左邊有綠色箭頭,按下去執行,結果顯示在 Services 視窗的 HTTP Client 節點下。 ...
Pro RESTful APIs with Micronaut
For Mac xattr -w 'com.apple.fileprovider.ignore#P' 1 FOLDER_NAME without FileProvider: xattr -w com.dropbox.ignored 1 FOLDER_NAME For Ubuntu attr -s com.dropbox.ignored -V 1 FOLDER_NAME