The way I learned to code stuff for Hive at the beginning was by reading code from Holger's GitHub repo. His code for steemrewarding.com is all on there, so I looked through it for examples. I also looked at code from others. For example, my bot is based on emre's tagbot and the algorithm I use for evaluating posts is inspired by actifit's bot.
RE: The Anti-@stimialiti Pro-Active and Reactive Counter Tool