User login

Blogs

A little busy today

load average: 139.66, 112.91, 59.18

But not too busy to post this. The machine is still responding great.

top - 10:27:11 up 2 days, 3:02, 3 users, load average: 139.66, 112.91, 59.18
Tasks: 461 total, 6 running, 454 sleeping, 0 stopped, 1 zombie
Cpu(s): 8.4%us, 10.1%sy, 44.1%ni, 36.6%id, 0.7%wa, 0.1%hi, 0.0%si, 0.0%st
Mem: 8077204k total, 7940096k used, 137108k free, 150324k buffers
Swap: 1911608k total, 139204k used, 1772404k free, 3818652k cached

Gmail as the KDE default email client

I just got GMail working as the default email client for KDE. To do this, go to KDE Menu -> Computer -> System Settings and click on Default Applications.

There are plenty of notes on getting this working out there, but getting the subject and body working can be tricky. Select the radio button next to Use a different email client: and enter the following:

/opt/google/chrome/chrome https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=%t&su=%s&%u

replacing /opt/google/chrome/chrome with the command for your browser.

Get unique lines in file using bash

I had to take a closer look at a distributed attack on one of our web servers today. The attack only involved around 50 hosts which seemed to be testing our URL parameters for injection susceptibility. Coldfusion has some protection against SQL injection, and we take extra steps, as every programmer should, to guard against it.

After identifying the attack vector, I was able to grep the log file for the signature of the attack which was present in the URL information.

The farce of "unlimited" storage and bandwidth

I run a web hosting, programming, and design business. I use my skills in programming, and the skills of others, to design and build dynamic, cool websites and host them on a server, which I manage.

When comparing hosting plans, many people look at disk space and bandwidth, which is good. However, some people make the mistake of getting sucked into the unlimited storage and transfer trap.

Google Chrome..very fast

I installed Google Chrome for Linux, the developer build, just to see what it was like.

It's fast; It is extremely fast. I wasn't planning on using it day to day, but I find myself clicking on it more often than Firefox.

The fact that it has no easy ability to block advertisements is pretty much overshadowed by the browser's sheer speed and usability.

And I don't like advertisements. I wonder if this is what Google is banking on.