Thinkpad - Set battery charging threshold in Linux
With kernel 4.17 above, we can set the threshold directly
1 | $ echo 85 > /sys/class/power_supply/BAT0/charge_start_threshold |
This is my technical blog about programming, server setup & configuration, technical learning experience.
With kernel 4.17 above, we can set the threshold directly
1 | $ echo 85 > /sys/class/power_supply/BAT0/charge_start_threshold |
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
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.
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)
I’m working Vue with Laravel, creating a component (nested view), and try to handle the user event in the root (Laravel blade file).
I wrote a script to sync Google Analytics (GA) pageviews to own DB in daily basis.
E.g.
342
pageviewsHave you ever think of, to find out any app API endpoint?
I’m just know about this. I will be doing this in iPhone.
mitmproxy is free & open source.
I’ve just made a mistake on production site, the client’s website.
I was working on a tracking script, which let client to include into their site.
Laravel Query Builder is an awesome feature, really.
When comes to generate a complicated report, with complicated filter/sort, the code logic can be very confusing.
Recently I discovered this package, which allows us to run JavaScript & css in any domain.