How to Ban Specified IPs in Apache2 Server? November 12, 2014 linux, Virtual Private Server, webhosting No Comments When my sites were on a share host, when some bad bots (e.g. 360 bots) were hitting on my site, the CPU usage on share hosts was spiking up … [Continue Reading...]
Codeforces: A. System Administrator December 7, 2012 beginner, codeforces, implementation, math, programming languages, python No Comments The problem is from codeforces: http://codeforces.com/problemset/problem/245/A A really simple math problem, can be solved within a few lines of Python code: #!/usr/bin/env python ax = asum = 0 bx = … [Continue Reading...]