How to install and switch Python version 2.7 <-> 3.5 in Anaconda

I recently had to switch to Python 2.7 since it is required for Algorithms and Data Structure unit. My current installation of Anaconda on my laptop is Python 3.5. This is the step by step solution to switch between two versions.

Continue reading “How to install and switch Python version 2.7 < -> 3.5 in Anaconda”

[Code Conference: Big Data 2016] Elastic Search + LogStash + Kibana

This is great talk about ELK stack (Elastic Search + Logstash + Kibana) by K.Supaket, software engineer at Agoda. He is working on big data log analysis which proved to be a challenging task.

Continue reading “[Code Conference: Big Data 2016] Elastic Search + LogStash + Kibana”

How to import data from MySQL database into Pandas Data Frame

It is easy to load CSV data into Python’s Pandas Data Frame. I always think this is also the case for loading MySQL into Data Frame. However, it turns out to be quite troublesome.

Continue reading “How to import data from MySQL database into Pandas Data Frame”

[Tutorial] Add CSS-only Dropdown Menu in WordPress Theme from scratch

Sometimes HTML version of the theme doesn’t come with dropdown menu in menu bar, here is a simple way to add dropdown menu to your HTML:

Continue reading “[Tutorial] Add CSS-only Dropdown Menu in WordPress Theme from scratch”

[WPML & WooCommerce] Some fields like SKU are not copied to translation

I encountered the problem of some fields are not copied when translating WooCommerce Product e.g. SKU. Here is how I fixed it

Continue reading “[WPML & WooCommerce] Some fields like SKU are not copied to translation”