老布這麼說
Yet another bootstrap theme.
2022-08-12
2022-08-12
記錄一下在 goland 使用 vim plugin 的資料,plugin IdeaVim
Reference
- Emulate Vim in IntelliJ IDEA | IntelliJ IDEA
- JetBrains/ideavim: Vim emulation plugin for IDEs based on the IntelliJ Platform - Vim emulation plugin for IDEs based on the IntelliJ Platform
2022-08-12
最近開始嘗試寫 GoLand,寫的過程中,發現沒有一個好用的 IDE,在寫 go code 上,滿不方便的
尤其是,目前對於要如何找 API document 是有個滿大的困擾的
所以囉,就安裝了 JetBrains 的 GoLand 來試用。
因為,我習慣了用 vim 來編輯,就也是希望能在 GoLand 中,可以用 vim 的 keybinding
安裝好 plugin 後,就發現無法一直按著 h j k l 來移動
這對於一個 vim 的使用者來說,很不方便,就找找看變更的方式囉
修改的流程
- 找到對應要修改的 identifier
$ cat /Applications/GoLand.app/Contents/Info.plist | grep -A 5 -B 5 -i BundleIdentifier
- 修改設定
defaults write com.jetbrains.goland ApplePressAndHoldEnabled -bool false
- 重啟 GoLand
Reference
2022-08-12
Read More
2022-08-12
近期的 project 使用 AWS CloudFront 為前端,來拉儲存在 S3 中的資料,以提供一個 web server 的方式
上傳 server.ini 後,使用 browser 瀏覽時會變成是下載檔案,查詢後,發現是 MIME 的原因
Reference
- Working with object metadata - Amazon Simple Storage Service
- System-defined metadata,default 的 content-type 為
binary/octet-stream
- System-defined metadata,default 的 content-type 為
- How can I change the MIME/Content-Type associated with my objects stored in Wasabi? – Wasabi Knowledge Base
- How to set correct MIME type on videos in Amazon S3
2022-08-05
最近有發生在 query aws dynamodb 時,有看到在 Query & Delete 時出現很久的情形
在 query & delete 一個很小的 table 時,出現需要 5 second 的情形
有找了一下,dynamodb 相關的 tunning 資料
Reference
2022-08-05
因為工作切換的關係,目前的公司是用 github enterprise 的版本,所以會遇到同時使用 person account and work account 的情形
就找了一下資料,並加以記錄
Reference
2022-08-05
做了一段時間的 AWS serverless ,也找過不同的資料,發現這個 guide 介紹的滿好的
Reference
- SST Guide: The most widely read resource for building full-stack apps using serverless and React on AWS.
2022-07-15
Read More
2022-07-07
Read More