老布這麼說
Yet another bootstrap theme.
2022-06-29
2022-06-29
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
2022-06-27
2022-06-27
使用 s3cmd 來操作 aws s3 動作
Tips
- How to find zero byte files in Amazon S3 – iTecNote
s3cmd ls -r s3://bucketname | awk '{if ($3 == 0) print}'
Reference
2022-06-27
公司改為使用 enterprises 的 github 服務,因而會發生和自己的 github account 發生衝突的情形,就找了一下解法囉
commit 到公司的 github 準備工作
ssh-add ~/.ssh/id_rsa
commit 到自己的 github 準備工作
ssh-add -d
Reference
2022-06-27
2022-06-20
在 gmail 用著、用著的過程中,偶而會出現一些 unread 的 mail,不太好找到。
用 google 找了一段時間後,用 gmail 的 search 來找,滿好用的
搜尋條件
- 在搜尋的 block 輸入
category:primary is:unread
Reference
2022-05-09
Read More
2022-05-09
Read More
2022-05-09
最近在 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: version
GLIBC_2.27’ not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.28’ not found (required by node)
The command “npm config set spin false” failed and exited with 1 during .
`