Why Vue.js $emit not working

I'm working Vue with Laravel, creating a component (nested view), and try to handle the user event in the root (Laravel blade file).

Read More

Why Google Analytics pageviews different from filter by day and by month

I wrote a script to sync Google Analytics (GA) pageviews to own DB in daily basis.

Read More

Find out app API endpoint

Have you ever think of, to find out any app API endpoint?

Read More

Becareful of JavaScript blocking the main thread

I've just made a mistake on production site, the client's website.

Read More

How to prevent duplicated join of table in Laravel Query Builder

Laravel Query Builder is an awesome feature, really.

Read More

The efficient way to debug JS/CSS in production site

Recently I discovered this package, which allows us to run JavaScript & css in any domain.

Read More

docker-compose for Elasticsearch & Kibana

Create a file docker-compose.yml with the following content:

Read More

jQuery infinite scroll articles

Quite often, we have seen a lot of news site (e.g. forbes.com),

Read More

How to setup Google Optimize server side test with GTM

Recently I come across A/B testing, to see which algorithm is most effective to trigger user clicks.

Read More

Setup OpenVPN in AWS for RDS access

When we use AWS, often we will use RDS, for security reason, is better to not to expose to public.

Read More