Running a service/script/program via cronjob

Occasionally while developing a system we need to run a service ( you can say something running in while loop in background supporting other unit in a system), a script ( for example, a python script) or a compiled program (for example ./some_executable some switches like -a -r etc.) There are many ways to achieve … Continue reading Running a service/script/program via cronjob

DDoS Attack on wordpress {Resolving XMLRPC DDoS WordPress Attack with .htaccess}

From few days, i was experiencing continuous mysql server down on my wordpress blog. Warning was something like:- "Warning: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)" & "Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)" This error was happening frequently and after reboot of server, everything … Continue reading DDoS Attack on wordpress {Resolving XMLRPC DDoS WordPress Attack with .htaccess}

Debugging Android app wirelessly (over wifi).

While working on USB-OTG code for interfacing microcontroller with android phones, I faced a problem that your USB client interface of the phone is reserved with MCU powering and communication via OTG. So, I came across this solution after surfing the web, for debugging while developing with MCU. Note add adb to path :- -NO ROOT is … Continue reading Debugging Android app wirelessly (over wifi).

Won ISGF’s App-athon, with “HomeGrid”.

Hi viewers, We won the App-athon 2016 organized by ISGF(India Smart Grid Forum). We designed a real-time, two-way data binded Android app with https://iot.net.in as D2S master server, hosted on AWS. This server was getting data from embedded hardware with latency period of 600ms (under ideal condition with 2G Bandwidth) . Hardware side for data aggregation was … Continue reading Won ISGF’s App-athon, with “HomeGrid”.