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…Mar 15, 2022Mar 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…Oct 8, 2019Oct 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…May 19, 2019May 19, 2019
HanVuejs v-model 中文輸入問題(IME問題)近期在專案中使用v-model發生中文字被截斷的情形(例如:用注音輸入法輸入"我"這個字,會被切換成ㄨㄛˇ三個字元),這種情況用一般瀏覽器都不會發生,只有在使用手機輸入中文在等待選擇的情況下會發生。經查找相關資料後,確認該問題與事件 compositionstart和…Apr 11, 2019Apr 11, 2019
Hankubernetes初探繼這幾天完成docker-compose的練習後,決定馬上來使用一下目前最流行的多容器控制的解決方案:kubernetes。承續之前的練習方式,此次也先制定練習的目標,大致上如下:Feb 7, 2019Feb 7, 2019
HanDocker Compose 初探前陣子因應公司專案需求,逐步把一些小專案轉換成docker的方式包裝,也就是所謂的dockerize。但因為時間的關係,並未深入使用docker-compose的方式來建置服務,導致運行服務的時候有很多時候需要寫一些shell…Feb 6, 2019Feb 6, 2019