Adding a Disk to a Linux System using Command Line Tools

I was faced with installing a new disk on a home server, and while I've done this a hundred times, it seemed to be difficult enough to deserve yet another tutorial, if only for my own reference. It's not hard, but until the new GNOME GUI tools were developed, it was a kind of complex process. (It's complex on all Unixes, for some reason. BSD is even more difficult than Linux.)

Bypass a Password with a Proxy

This is a one-line trick to serve images from a password-protected webcam to the world.

curl -i http://admin:@ | nc -lCt localhost 10203

Zend Framework 2 Service Managers. Why?

I’m a ZF noob and was noticing that ZF OOP relies heavily on service managers rather than instantiating classes directly. This article explores why things are set up that way.

Dependency Injection

It seems like very PHP ZF2 blog has an article about Dependency Injection, so here's mine. I hope it's clear, or at least helps corroborate what you're reading on other sites.

Altering Some Resistors Changes One NVidia Card to Another One (and this explains the Linux driver situation)

This article explains how to hack an NVidia card to make it act like a better model. The hack is basically to modify the identification of the card, so the driver unlocks a feature to enable multiple screens. Now, allofasudden, I understand why the NVidia drivers for Linux are closed source: if they offered open source drivers, they would invariably enable all the features to all the cards.

The point of the closed source drivers isn't to provide the best performance (though they usually do that because they are probably better written than the open source ones) but to allow NVidia to disable features to the cheaper card, despite the fact the cheaper card can perform exactly like the more expensive card.

The Return of Pipes (which never went away)

A while back I wrote about higher-level programming, and jQuery's map-style programming.

What is a Server?

I've been asked this simple question, and given the simple answer: it's a PC that's on all the time, running services for others. Well, that's right, technically, but it's also the wrong answer to tell everyone.

Cloning Many Windows 8 Laptops

Clonezilla's now playing a little catch-up with the latest laptops, which feature UEFI boot and Windows 8, which requires UEFI boot. Mainly, it'll tell you that what you think will work, can work, if you know how to deal with UEFI.

This is a followup to Cloning Many Windows 7 Computers Quickly.

Photo Wall that Scrolls Forever Loading New Photos at Bottom

I was reading the code at and learned how to do this "scrolling forever wall" effect. It's clever.

Zend Framework 2 References Page

A bunch of useful references.

ZF2 @ Read The Docs

iSCSI on Linux

After going through some stupid contortions to use Active Directory on the Terastation Pro (meaning it didn't do what I wanted), I thought to look and if there's free iSCSI support on unix.

Minimal P3 Debian System

I got Debian to run on a very small 128MB laptop with a Pentium III processor. It's running Transmission bittorrent client, which is nice.

Branch Predication

I was reading about make, and came across a paragraph about branch predication and Konrad Zuse, who I'd never heard of. Fascinating.

Class Autoloading, Namespaces, PSR-0 and Acting Like Java

One of the surprises of ZF2 is that the preamble to the code looks like this:

namespace Album\Model;

use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;

Conditional IF statements in DOS batch files (BAT) and a little GOTO

DOS batch files are usually very simple, but it's possible to include some logic. The CMD.EXE language is pretty limited, but it works.

Syndicate content