Reven’s blog

Archive for the 'just smile' Category

Fighting hotlinking -the bad and mean way-

A lot has been written on hotlinking. One would think that by now those leechers would have got the idea and that they would have learned enough netiquette to stop SHOUTING IN FORUMS and to not steal your images (and your bandwidth). But, hey, they haven’t. No fuss, we’re smarter. Let’s fight back.

One of the best articles on how to prevent hotlinking was published by “A list apart” (Smarter Image Hotlinking Prevention). It’s a really professional, complete and accessible solution based on a little php coding and some htaccess hacking. I really recommend this approach. But I wanted something meaner, because we want to fight it but we also want to get this idea trough: “Hey! Stop doing that!”. And besides, we want to have fun ;) This can alos be done with htacess rules, but we are not *that* bad, so we are going to tolerate a little bit of hotlinking if it’s a fair use (i.e. the person mentions our site or links back to us).

So here’s my approach: we’ll write a script that checks our logs for hotlinks, we’ll set a cron job to run that script just before our logs are rotated and then mails us the results. After we check the hotlinks we’ll decide if it’s fair use and if it isn’t we’ll give the thief a little surprise (“goatse” is the keyword here). Let’s go.

Read more

1 comment

The Jesus affair

Behold! A few days ago I was making some toasted cheese sandwiches and one nearly got black. In my new house I’ve got a vitroceramic hob and it cooks amazingly fast. Well that’s not the point. Or maybe it is. My sandwich survived, I’d say miraculously… Just when I got another sandwich done, I turned the plate so as to fit this one, and suddenly there it was, there HE was. OMG! Jesus!

Jesus on a toasted sandwich

No, I’m not going to sell it on ebay. I was… eh… quite… hungry. Yes I was. Don’t look at me like that! I do have a strange aura since then, so for a symbolic price you can come to my house and wash the Jesus-related dishes… Donations are welcome and will be used to fund future Jesus related sandwich affairs. Thanks.

You’ve got to admit it has been a long time without sandwich appearances.

No comments