![]() A fairly big update to the script, I've added several new features:
Get the updated script here: Download Queue v0.2 If some of the new code seems a little hack-ish just remember, I'm still learning. Next on the agenda:
've not yet implemented anything in the way of blocking spambots on this site, and recently I got my first taste of comment spam. Luckily it was only one bot and a few comments, which were easily deleted, but after taking a look at my access logs I've noticed that the bot's still there, and has been trying to post to various pages for several days.
In all instances the bot had the same IP, so I toyed with the idea of having my comment posting function check the IP against a database table of known bad IPs, but that seemed a bit overkill for one bad bot. It also wouldn't do much for stolen bandwidth, CPU usage, etc. So I decided to ban the IP entirely in my .htaccess file: # Block spammers by IPNow if I get a few more bad apples I can just toss their IP in as well. If it gets too large I'll work up an alternative.
[update]
Download Queue v0.2 Available!See this blog post for details: Download Queue (DQ) v0.2 [/update] I've been spending more and more time at the Linux command line lately and have been looking at ways of improving the experience, customizing and personalizing it. At the same time, I've been using it as an opportunity to learn new languages, one of those being bash. I've used bash in a very simplistic way ever since I first got Linux, simple one-off commands here and there, aliases, .bashrc, etc., but I only recently decided to take a serious, in-depth look at it. I've been reading tutorials here and there, studied up a bit on common useful commands, but in order to really get to know a language you have to use it, so that's what I'm doing. Download Queue (DQ) v0.1b |
Search
Recent Posts
|