Yet another bootstrap theme.

2022-06-29
aws-ec2-family

Read More

2022-06-29
aws-minimize-ebs

EBS 好用,但是很貴,要如何 minimize EBS 的價格,是需要好好了解的

價格預估

  • 1 台 EC2 住在單獨的 VPC, 再加上 ELB (800G) 的價格預估,可以看出 EBS 開很大時,價格很貴的啊
    • Cost 預估: 21.20400 (ELB) + 31.8504 (EC2) + 82 (EBS - 800G) + 33.48 (NAT Gateway) = $168.5344 ($0.226524731 / hour)

Reference

Read More

2022-06-27
aws-lab-well-architected

可以來看看的 AWS lab website

Reference

Read More

2022-06-27
aws-s3-cmd

Read More

2022-06-27
git-two-user

公司改為使用 enterprises 的 github 服務,因而會發生和自己的 github account 發生衝突的情形,就找了一下解法囉

commit 到公司的 github 準備工作

  • ssh-add ~/.ssh/id_rsa

commit 到自己的 github 準備工作

  • ssh-add -d

Reference

Read More

2022-06-27
aws-health-ms-team

最近公司改為使用 team 來作為溝通的工具,所以也就試著將需要的通知改為介接到 team 囉

Reference

Read More

2022-06-20
gmail_unread

在 gmail 用著、用著的過程中,偶而會出現一些 unread 的 mail,不太好找到。
用 google 找了一段時間後,用 gmail 的 search 來找,滿好用的

搜尋條件

  • 在搜尋的 block 輸入
    • category:primary is:unread

Reference

Read More

2022-05-09
pandas_read_json

在使用 pandas read_json 時,會發現有些欄位會被轉換 type,就找找原因
目前的解法是,設定 dtype 的值,可以限定為想要的 type

Reference

Read More

2022-05-09
boto3-client-resource

了解一下 boto3 中 client & resource 的差異

Reference

Read More

2022-05-09
travis-ci-npm-failed

最近在 run travis-ci 時,會出現 error,查了之後發現是 node v18 需要較新的 library 所以會出現 error
目前是先修改 .travis.yml 檔,設定為使用 node v.17 的版本來 build,而不是之前用的 stable 版本

  • 出現的 error message
    node: /lib/x86_64-linux-gnu/libm.so.6: versionGLIBC_2.27’ not found (required by node)
    node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.28’ not found (required by node)
    The command “npm config set spin false” failed and exited with 1 during .
    `

Reference

Read More