HanSome of the best practices to containerize Node.js with DockerSince I’ve worked as a backend engineer with Node.js for four years. Our application is always built with Docker images. That’s why it an…1 min read·Mar 15, 2022----
HanHow to export the Pretty JSON with a simple command on MACCurrently, I need to export data from the Text to JSON, but I don’t want to write any codes, so I try to use a simple command to export…1 min read·Oct 8, 2019----
HanWhat’s the difference between @classmethod and @staticmethod?Recently, when I was in searching for the new job about python’s engineer, I needed to pass some tech questions and to answer with the…1 min read·May 19, 2019----
HanVuejs v-model 中文輸入問題(IME問題)近期在專案中使用v-model發生中文字被截斷的情形(例如:用注音輸入法輸入"我"這個字,會被切換成ㄨㄛˇ三個字元),這種情況用一般瀏覽器都不會發生,只有在使用手機輸入中文在等待選擇的情況下會發生。經查找相關資料後,確認該問題與事件 compositionstart和…2 min read·Apr 11, 2019----
Hankubernetes初探繼這幾天完成docker-compose的練習後,決定馬上來使用一下目前最流行的多容器控制的解決方案:kubernetes。承續之前的練習方式,此次也先制定練習的目標,大致上如下:3 min read·Feb 7, 2019----
HanDocker Compose 初探前陣子因應公司專案需求,逐步把一些小專案轉換成docker的方式包裝,也就是所謂的dockerize。但因為時間的關係,並未深入使用docker-compose的方式來建置服務,導致運行服務的時候有很多時候需要寫一些shell…4 min read·Feb 6, 2019----
HanJS Object.create() 方法今天無意中看到一則FB貼文,就是一個很簡單的考題。題目基本上就是要考我們對於JS中的Object.create() 的運作機制。1 min read·Jan 26, 2019----