2022
Mar
05

CAP 定理是指一個分散式系統 storage ,三個功能 Consistency / Availability / Partition Tolerance 只能滿足其中的兩項,不可能同時滿足全部。這個定理只存在分...

2022
Jan
01

這篇文章說明如果 Mock private Method ,幫助你減化 unit test 範圍,進而提升寫測試的意願與讓測試碼更好維護。假如你想測試 class 中的 Method A ,而這個 Me...

2021
Sep
10

docker toolbox 的功能是整合 Virtualbox (以下簡稱 VM) ,自動幫你裝好一個小型的 linux 並安裝 docker server ,在 Mac / Windows 你可以使用 docker 指令直接...

2021
Feb
22

gboard 是 Google 公司出的手機輸入法, 手寫辨識超精準且速度非常快, 三星內建鍵盤完全不能比, 甚至比 iphone 內建還好用, gboard 有支援手寫、語音輸入及注音、...

2020
Oct
30

big5 url encoded string to utf8 string如何把 url encode 過的 big5 編碼轉換成 utf8 字串, "水泥"這兩個字的 big5 編碼,透過 urlencode 後會是 %A4%F4%AAd ...

2020
Aug
09

用 shell script 寫一個簡單的 web 壓測工具。1. 先建一個 curl-format 設定我們要的 curl response curl-format.txtExamplehttp_code: %{http_code}\n ...

2020
Jul
10

h2database 官方文件 https://www.h2database.com/html/main.htmlh2database 是一個 Java base database ,這篇文章主要是介紹如何使用 h2database 來做 MySQL...

2020
May
17

- https://eservice.nhi.gov.tw/Personal1/System/Documents/new/readme3.htm上面這個連結是健保局提供的 Mac 安裝健保卡程式的網頁,按照步驟安裝完成後打開瀏覽...

2020
Apr
28

Vim 有很多好用的 plugins ,不過好用的 plugin 不一定很好安裝,像是最早期的 YouCompleteMe(YCM) 只支援 python 3,只要你的 OS 沒有裝 python 3 就沒辦法安裝...

2019
Dec
18

When I migrate RDS table to the Dynamodb, one of major important functionality is generating sequence id. Dynamodb do not support it.Here is an exampl...