React Modal – The easy way to show a modal without Redux

Creating a modal box (or popup) is not difficult, but also not easy. I spent 2-3 days finding a solution to build a modal in my React project. As my background is from jQuery and pure JavaScript, I was not aware of the possibility for ReactDOM to build a modal. In this post, I will go through the process of building a modal without JavaScript, and how it is solved by “react-modal” component.

Continue reading “React Modal – The easy way to show a modal without Redux”

WordPress VS React – What I learned from my first day with React

It was 3 years ago that I worked with people who used React for the first time. After that, I had many chances to get in contact with React. But I haven’t really write frontend using React until today.

I am quite amazed with the React ecosystem and would like to share my comparison here.

Continue reading “WordPress VS React – What I learned from my first day with React”

[WordPress] Uploaded image is not showing! or showing as transparent field

This is one of the most common WordPress problems. Yet there is no tutorial that can describe all the cause and solution. Today I found another cause and solution, therefore I would like to share with other people who might get into this problem as well.

Continue reading “[WordPress] Uploaded image is not showing! or showing as transparent field”

[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)

Today I found an online tool that can get the stats of the published articles from Google Analytics. That’s how I got interested in Google Analytics API. As I am studying Data Science at the moment, knowing how to do web analytics would open up a lot of new possibilities.

Continue reading “[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)”

Woratana Perth’s Year in Review 2016

ได้เวลามาสรุปเรื่องราวต่าง ๆ ในชีวิตในปี 2016 เรียกได้ว่าเป็นปีที่มีความเปลี่ยนแปลงเยอะมากกกก โดยเฉพาะอย่างยิ่งครึ่งปีหลังที่ตัดสินใจมาเรียนต่อที่ Melbourne, Australia ลองมาดูสรุปในปีนี้กันว่าเกิดอะไรขึ้นบ้าง

Continue reading “Woratana Perth’s Year in Review 2016”

[Social Share] How to add Share on LINE button

LINE is not only the top messaging app in Thailand, LINE users also share interesting links to each other just like Facebook. Web developers have to find a way to let them share links on the website easily.

Continue reading “[Social Share] How to add Share on LINE button”

Data Science คืออะไร? ต่างกับ Machine Learning, Data Mining, Data Analysis ยังไง

คำ ๆ หนึ่งที่ผมคิดว่าเป็น Buzzword แห่งปี ที่คนใช้กันเยอะมาก และส่วนใหญ่ขาดความเข้าใจถึงความหมายจริง ๆ ของมัน คือคำว่า “Data Science” ครับ เรามาดูกันว่า Data Science คืออะไร ? แล้วต่างกับอีกคำที่คนใช้บ่อย ๆ ว่า “Machine Learning” ยังไงบ้าง

Continue reading “Data Science คืออะไร? ต่างกับ Machine Learning, Data Mining, Data Analysis ยังไง”

[ACF] Solution to Google Maps not showing in ACF

ACF (Advanced Custom Fields) is the plugin that I used on almost every client projects. The Google Maps API used to work perfectly fine on ACF. However, due to the update on Google Maps API, it is now required API Key. This article will show you how to solve this problem.

Continue reading “[ACF] Solution to Google Maps not showing in ACF”