Archive

Archive for September, 2008

Prevent Thumbs.db Files From Being Created And Stored

September 29th, 2008

By default, whenever you pick “thumbnail” or “tiles” view, in your Windows Explorer, a local cache of a pictures thumbnail will be stored in that directory, in a file called Thumbs.db. It speeds things up next time you open that directory, because it can load the image from the cache – but it also creates an extra file in every directory …

This can be annoying when you’re used to publishing things through SVN, or when uploading several directories. The silly Thumbs.db will be uploaded as well. Read more…

Matti Windows , , ,

Comics Related To IT/Programming

September 27th, 2008

Here are some (really) good ones (the layout can get messy from time to time, but they’re still viewable).

*Edit; this has been getting a bit more attention than I anticipated, and wasn’t ment to be this “popular”. A lot of the comics were found on StackOverflow.com, where I added some of my personal favorites. Read more…

Matti Humor , , , ,

When A RegEx Goes Bad – For Cisco

September 26th, 2008

Combine the following; a broken coffee machine, a long day at work and the sudden need to rush home, but quickly finish off one task. (but too bad, they fixed it already!)

You get a regular expression that replaces “\\t” instead of “\t”, and it produces a silly website for Cisco. Notice any “T”s missing on that website? Read more…

Matti Humor , ,

Little Coding Habits

September 24th, 2008

Every programmer has his method of doing things, his own set of rules he follows. Here are a few small things I do, syntax-wise. I’m curious to see what you do, and how often you change other people’s code so it reflects your own syntax. Read more…

Matti programming , ,

ISP: It’s Impossible For Us to Stop Illegal P2P

September 23rd, 2008

TorrentFreak reports on the case of a Belgian ISP (Scarlet) vs The Copyright Group (SABAM).

An ISP which was ordered by a court to stop illegal file-sharing on its network, says it simply can not. The Belgian ISP Scarlet says the court’s verdict is unworkable and after trying to slow traffic and also filter it, it says it’s not possible to stop the flow of illicit files since Audible Magic doesn’t work.

It’s an interesting case to follow up on, because they seem to draw the line to “every ISP” being responsible for “any (illegal) activity” on its network. Read more…

Matti Tech , , , , ,

Top Tools For Penetration Testing (Security Analysis/Hacking)

September 23rd, 2008

Here’s a quick list of some of the better tools available for doing network/host penetration testing. Most of these tools require a Linux-based OS, some have a Windows version.

These programs range from basic utilities, to entire frameworks and live CDs. Read more…

Matti Security , , ,

“The service could not bind instance 1. The data is the error code.”

September 20th, 2008

When you suddenly find your Default SMTP Virtual Server stopped in your IIS Manager, you could find it throwing the following error when you try to start it manually.

The service has returned a service-specific error code. Check the Windows Event Viewer for details.

The service has returned a service-specific error code. Check the Windows Event Viewer for details.

Read more…

Matti Windows , , ,

“If It Ain’t Broken, Don’t Fix It”

September 18th, 2008

A common phrase in IT, usually uttered when someone tries to do something which you _know_ will end badly, because they’re trying to change something that doesn’t need changing in the first place.

The expression also causes us the necessary frustrations: people hold on to (very) old versions of software (Internet Explorer 5, Windows 98, …) because “it still works“. How are we to use new technologies and methods, when there are still a lot of end-users that don’t make the necessary upgrades to take advantage of this?

In the never-ending browser-wars, this is just about the most frustrating thing – gettings things to work in all versions of the software – even if it is over 8 years old and totally outdated (IE5). Why should we keep investing in learning new techniques, fancy new technologies and the likes when it won’t work on nearly 10% of all users?

*Le Sigh*

Matti Webdevelopment , , , ,

Install GD Library For PHP5 On CentOS

September 17th, 2008

An easy task, using yum. First step, see if it’s already installed.

[root@srv]# rpm -qa | grep php
php-common-5.1.6-15.el5
php-cli-5.1.6-15.el5
php-5.1.6-15.el5
php-pdo-5.1.6-15.el5
php-mysql-5.1.6-15.el5

If the GD Library isn’t present in that list, it wasn’t installed on the server yet. Install it using yum. Read more…

Matti PHP , , , ,

Demystifying the “duplicate content penalty” – SEO Update By Google

September 16th, 2008

At Google’s webmaster central blog, they’ve posted an interesting article about how Duplicate Content Penalties work in reality – the short version; it doesn’t even exist. Read more…

Matti Seo , , ,