ShareChiWai Notes
ShareChiWai Notes
Home
Blog
Menu Venue
Event
Sharing
Contact
Light
Dark
Automatic
Posts
How to check if your website has Enforcing HTTP Strict Transport Security
How to check if your website has Enforcing HTTP Strict Transport Security
Chi Yau
Last updated on Mar 2, 2024
1 min read
Cybersecurity
,
CURL
,
Troubleshooting
How to install PostgreSQL Client psql on AWS VM - 在AWS VM 上如何安裝 PostgreSQL Client
How to install PostgreSQL Client on AWS EC2
Chi Yau
Last updated on Feb 19, 2024
1 min read
AWS
,
Postgresql
,
教程
How to remove docker image with tag none
最近成日係度試 docker 野 之後發現行 docker image ls 時出現左好多 <none> 既 image docker image ls 覺得會唔會好浪費資源… 所以想 移除佢地… 但係又唔想一個個image 咁去 remove 解決方法 我們可以用以下 command 去查看 有那些 dangling 既 image docker image ls --filter="dangling=true" docker image ls filter dangling image 之後可以用以下指令去移除他們 docker image prune --filter="dangling=true" docker image prune dangling image 之後便不會見到那些沒有 tag 的 image 了 Hope you find it useful
Last updated on Feb 17, 2024
1 min read
S3 buckets should require requests to use Secure Socket Layer
另一個在 AWS Security Hubs 遇到既建意係 S3 buckets should require requests to use Secure Socket Layer S3 buckets should require requests to use Secure Socket Layer 主要係要用https 來 access 這個bucket 解決方法
Last updated on Feb 17, 2024
1 min read
Git credential-manager-core is not a git command
最近set up 左新電腦 Copy 了原本用開既電腦既 .gitconfig (檔案路徑: C:\Users%username%.gitconfig) 當我run git pull 既時候出現了以下錯誤信息 git 'credential-manager-core' is not a git command. See 'git ==help' git ‘credential-manager-core’ is not a git command 解決方法 我們只需要更新 .
Last updated on Feb 17, 2024
1 min read
AWS S3 Bucket Security config - Block public access
終於要接觸 Security related既野… 今日想同大家分享一些 S3 既config run 左 AWS 既 Security Hub 之後發現有以下的 問題… S3 buckets should prohibit public read access S3 Block Public Access setting should be enabled at the bucket-level s3-bucket-public-read-prohibited s3-bucket-level-public-access-prohibited S3 should block public access 之後自己便每個 S3 Bucket 去檢查一下…
Last updated on Feb 17, 2024
1 min read
Docker compose rebuild image
上一個post 分享了怎樣 用 docker command 去 Stop and remove Docker image (因為嘗試用 docker compose build 時 docker image 沒有更新到) Docker daemon conflict unable to remove repository reference (must force) 今日終於找到了正確的解決方法:
Last updated on Feb 17, 2024
1 min read
Docker daemon conflict unable to remove repository reference (must force)
玩Docker 時嘗試docker compose up 時佢又唔識用update 左既 config 所以諗住 remove 左個 image 去再build 過.. docker image rm vite-reactjs-nodejs-app 但係又出現左以下呢個問題.. Error response from daemon: conflict: unable to remove repository reference "vite-reactjs-nodejs-app" (must force) - container c6b836b25910 is using its referenced image ec13f6a9159a 最後終於找到解決方法
Last updated on Feb 17, 2024
1 min read
How to shut down windows 11 properly - 在Win 11 上如何真關機
岩岩安裝好部新Laptop … 之後發現雖然嘗試 正常關機… 但是關機後常常看到電源還是著的… 做了一會 research 之後發現原來是一個Windows 令你可以更快開到機既設定… 解決方法 我們只需要在 Windows 上的電源設定 untick Turn on fast startup (recommended) 便可 Power options -> Turn on fast start up 這個設定可以在這裡找到 Control Panel\Hardware and Sound\Power Options\System Settings
Last updated on Feb 17, 2024
1 min read
How to install psql PostgreSQL Client Tools on Windows / 如何在Windows 上安裝 PSQL
由於公司現在是用 Postgres Database 既關係… 很多時都會用到 Postgres 的 PSQL tools 來做一些 operations… 當有新同事 / 新 intern 開始接觸公司的project 時多數都會遇到安裝問題… 我們會用docker 來 run Postgres Database 的 所以不用在主機安裝 Postgres Database Engine 解決方法 我們只需要到以下網扯 https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 下載
Last updated on Feb 17, 2024
1 min read
»
Cite
×