-
Access log & error log analysis yields good results
I recently created a python script to analyze Nginx’s access log & a WAF generated error log. The preliminary result looks promising. The script can filter out most malicious & bot traffic with very low false positive on human traffic. I ran the IPs collected by this script against multiple blacklists: More than 88% of…
-
Binary search & linear search with different runtime engines with different array sizes
I am very impressed by the V8 performance. Note that all the test are performed in a “cold start” environment (Chrome will be even faster when it’s pre-warmed). Nginx JS module timing does not include VM creation time, it’s simply how long it takes for Javascript includes to return. 3 arrays are all sorted for…
-
Android captive
adb shell “settings put global captive_portal_http_url http://captive.v2ex.co/generate_204”; adb shell “settings put global captive_portal_https_url https://captive.v2ex.co/generate_204”; adb shell “settings put global captive_portal_fallback_url https://www.google.cn/generate_204”; adb shell “settings put global captive_portal_other_fallback_urls https://www.qualcomm.cn/generate_204”;
-
92URL Update
Tweak: Even less recaptcha interactions I will try to overhaul the internal message passing mechanism — current mechanism was designed 8 years ago, a lot has changed since then.
-
Nginx Buffering & Cache
It looks like once you turned off buffering (fastcgi or cache), Nginx no longer caches.
-
Crystal – I miss you already
I should have hugged you more, played with you more when I had the chance. I will also remember you as a sweet lovely little cat. Hope we gave you enough when you were with us. Will always love you.
-
92URL Update
It’s been a while. I finished my finals this morning and worked on the 92URL this afternoon. I’m now happy to announce that the website has been migrated to PHP 7.2. Next few versions will be focusing on rewriting the core structure.
-
Self-censorship is becoming an integrated part of every single CITIZEN in this society.
-
Woocommerce Stripe
Be aware, woocommerce-stripe’s Browser Payment API support is buggy. Don’t enable. TH, VC and some other regions are having issues paying