PhanuwatAutomatically switch node version when enter the directoryPut this snippet in .bashrc1 min read·Mar 8, 2023----
Phanuwatใช้ PHP Apache Docker สำหรับ local developmentพอดีมีงานที่ต้องแก้ไขหน้า Laravel ซึ่งก็ไม่ได้จับ PHP มานานแล้ว เลยจะใช้ Docker ซะหน่อย จดไว้กันลืม1 min read·Nov 7, 2022----
PhanuwatRun PHP cli with DockerI’m dealing with the old PHP code and VSCode needs PHP 5 executable binary.. OK1 min read·May 28, 2022----
PhanuwatCloudflare 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…1 min read·May 12, 2022----
PhanuwatUse 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…2 min read·Mar 11, 2022----
PhanuwatUbuntu Screen brightness on Lenovo Legion Y540Machine: Lenovo Legion Y540 Graphic: Nvidia GeForce GTX 1650 OS: Ubuntu 20.041 min read·Jun 17, 2021----
Phanuwatแก้ไปรันไปด้วย inotify-toolsกำลังลองหัดเขียน nodejs โดยทำแบบฝึกหัดสร้างตารางหมากรุก แบบนี้1 min read·Jul 17, 2020----
PhanuwatLevono Y540 Ubuntu 20 screen brightnessAfter upgrade to Ubuntu 20.04, the screen brightness button is not working anymore.1 min read·May 27, 2020----
PhanuwatExtract 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…2 min read·Jul 25, 2019----