AWS EC2 instance used up CPU 100% - Malware kdevtmpfsi

I was wondering what’s wrong with my server (host Laravel web app),
it’s fine after reboot the instance, but after a while it become very
slow, and CPU 100%

Read More

Real world practice on Docker in Laravel web app

I heard about Docker few years ago, but wasn’t know about best practice how to use that.
I’ve tried Laradock, it’s way too many stuff in the config, should I use 1 docker for multiple
projects? Or better single project?

Read More

Laravel Unit Test Mail Send

Case 1: Mail send without Mailable class

Sometime we don’t use mailable class, instead we want to send directly with send method.

Read More

Thinkpad - Set battery charging threshold in Linux

With kernel 4.17 above, we can set the threshold directly

1
2
$ echo 85 > /sys/class/power_supply/BAT0/charge_start_threshold
$ echo 95 > /sys/class/power_supply/BAT0/charge_stop_threshold

Read More

Activate Windows 10 in VirtualBox

I’m using Windows 10 in VirtualBox for testing purpose, where my main OS is formatted to Ubuntu.

I noticed I can activate the Windows 10 with the key sealed in hardware,
get the key with the follwing command

Read More

Web development testing in Android Virtual Device

Some time, we will need to test web development in mobile devices.
Previously, I used to test in iOS simulator, the virtual host will just work.

Read More

Install Arch Linux

First of all, I must say that I was referring OSTechNix for the installation guide.

But when I tried to install, I faced some minor issue, that’s why I write this post.
Also, I not follow everything from the guide (but most of the things)

Read More

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.
E.g.

  • 2019-12-01 -> 342 pageviews

Read More

Find out app API endpoint

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

I’m just know about this. I will be doing this in iPhone.

Download mitmproxy

mitmproxy is free & open source.

Read More