Automatically switch node version when enter the directoryPut this snippet in .bashrcMar 8, 2023Mar 8, 2023
ใช้ PHP Apache Docker สำหรับ local developmentพอดีมีงานที่ต้องแก้ไขหน้า Laravel ซึ่งก็ไม่ได้จับ PHP มานานแล้ว เลยจะใช้ Docker ซะหน่อย จดไว้กันลืมNov 7, 2022Nov 7, 2022
Run PHP cli with DockerI’m dealing with the old PHP code and VSCode needs PHP 5 executable binary.. OKMay 28, 2022May 28, 2022
Cloudflare WARP Ubuntu clientI’ve used Cloudflare WARP on Windows and Android and found it very useful make me feel private and secure. But at that time they don’t have…May 12, 2022May 12, 2022
Use Vim macro for i18nextI’m working with the translation with i18next and need to type {t('text to translate')} in many place of the code base. Vim-surround and…Mar 11, 2022Mar 11, 2022
Ubuntu Screen brightness on Lenovo Legion Y540Machine: Lenovo Legion Y540 Graphic: Nvidia GeForce GTX 1650 OS: Ubuntu 20.04Jun 17, 2021Jun 17, 2021
แก้ไปรันไปด้วย inotify-toolsกำลังลองหัดเขียน nodejs โดยทำแบบฝึกหัดสร้างตารางหมากรุก แบบนี้Jul 17, 2020Jul 17, 2020
Levono Y540 Ubuntu 20 screen brightnessAfter upgrade to Ubuntu 20.04, the screen brightness button is not working anymore.May 27, 2020May 27, 2020
Extract the latitude and longitude from Google Map URL with ElmWhen you click at the place in Google Map, the marker appear and the URL change with the data. We can retrieve the latitude and longitude…Jul 25, 2019Jul 25, 2019