" Tutorials "

Setting ArduinoJson value from C++ STL Containers (std::vector, std::array, etc)

If you are creating your own std::vector in c++ code (platformio in my case), and need to set the value on one of your JsonObject or JsonArray for Arduino, there’s a specific function/method you can use to do this, and below are some examples and how to do it. (more…)

CloudFlare mod_cloudflare WHM EasyApache4 CloudLinux Cannot load modules/mod_cloudflare.so

Being a CloudFlare certified partner, all of my servers are running with CloudFlare WHM/cPanel plugin installed, as well as Railgun, but after upgrading one of my CentOS 6.9 servers to use EasyApache4, the real visitor IP was no longer showing in the access and error logs (CloudFlare IP was showing), and when attempting to restart Apache2 (httpd) I kept getting the “undefined symbol: ap_log_rerror” error, which CloudFlare and cPanel, were not very helpful at all in figuring out the problem … but I was able to figure it out, and here’s how to fix it (more…)