Author: C.J. Collier

  • Hey, look. I got mcs to github before Miguel

    http://github.com/cjac/mcs

    I’m also hosting it on my own not-as-l33t git repo:

    http://git.colliertech.org/?p=mcs.git;a=summary

    Does this mean that I get a “cooler than Miguel” tee shirt?

  • Filing to become a licensed CA

    Hey there gentle readers,

    I am completing paperwork on behalf of Collier Technologies LLC which is required (as described in chapter 19.34 RCW [pdf]) to file with the state of Washington to become a licensed Certification Authority.

    CPS (signed)

    Look! I’m also running a(n unrecognized) repository!

    Neat, huh?

    C.J.

  • No longer just the president of the hair club for men

    So. I think the project I’m working on is so awesome that I’m willing to pay for it. I set up the first of many sites yesterday that will be running on my blingy new storm host:

    Home Birth Seattle was designed and developed by Cadmium Yellow, AKA my wife, Hannah ;)

    We did the site for our good friend, Geraldine Lee. She was our doula when our first daughter, Scarlet, was born. She was also there at Zelda’s birth. If you need a midwife, you should totally hire her.

    And if you need a virtual private server, you should use Liquid Web Inc.’s Storm stuff.

    And if you want someone to handle all of your hosting details for you, you should give *me* money ;)

  • A sonnet for kpartx

    yeah, I don’t have one, but someone should write one.

  • IE error “expected identifier, string or number”

    This probably means that you’ve got a trailing comma after an object/hash definition:

    var myObj = {
      key0: 'val0',
      key1: 'val1',
      key2: 'val2', // ←
    };         // ↑
    

    You’re on your own for trying to figure out which file it’s talking about and translating the line number into the correct value.

  • Building libvirt on CentOS5 (incomplete)

    Much thanks to Brett for the pointers on rpm-fu.

    http://grantmcwilliams.com/index.php?option=com_content&view=article&id=229:

    $ sudo yum install \
    xen-devel \
    xhtml1-dtds \
    hal-devel \
    libpcap-devel \
    cyrus-sasl-devel \
    parted-devel \
    numactl-devel \
    avahi-devel \
    slang-devel \
    libvolume_id-devel \
    openldap-devel

    # device-mapper-devel \
    # xmlrpc-c-devel \

    for pkg in \
    libssh2-devel-1.2.5-1.el5.pp.x86_64.rpm \
    libssh2-1.2.5-1.el5.pp.x86_64.rpm \
    libssh-0.2.1-0.2.svn193.el5.pp.x86_64.rpm \
    libssh-devel-0.2.1-0.2.svn193.el5.pp.x86_64.rpm
    do
    wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/x86_64/$pkg
    rpm -i $pkg
    done

    wget http://www.fateyev.com/RPMS/RHEL5/x86_64/xmlrpc-c-devel-1.14.8-1.el5.x86_64.rpm
    wget http://www.fateyev.com/RPMS/RHEL5/x86_64/xmlrpc-c-1.14.8-1.el5.x86_64.rpm
    rpm -i xmlrpc-c-*1.14*el5*.rpm

    wget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/corosync-0.95-2.fc11.src.rpm
    alien -t corosync-0.95-2.fc11.src.rpm
    mv corosync-0.95.tgz /tmp
    cd ~/rpm/SOURCES
    tar xfz /tmp/corosync-0.95.tgz
    patch -p0

    --- corosync.spec.orig  2010-05-26 19:17:15.000000000 +0000
    +++ corosync.spec       2010-05-26 19:21:39.000000000 +0000
    @@ -39,11 +39,7 @@
     fi
     %endif
     
    -%{_configure}  CFLAGS="$(echo '%{optflags}')" \
    -               --prefix=/usr \
    -               --sysconfdir=/etc \
    -               --localstatedir=/var \
    -               --libdir=%{_libdir}
    +%{configure}   CFLAGS="$(echo '%{optflags}')"
     
     %build
     make %{_smp_mflags}
    @@ -52,8 +48,8 @@
     rm -rf %{buildroot}
     
     make install DESTDIR=%{buildroot}
    -install -d %{buildroot}%{_initddir}
    -install -m 755 init/redhat %{buildroot}%{_initddir}/corosync
    +install -d %{buildroot}%{_sysconfdir}/init.d
    +install -m 755 init/redhat %{buildroot}%{_sysconfdir}/init.d/corosync
     
     ## tree fixup
     # drop static libs
    @@ -95,7 +91,7 @@
     %{_sbindir}/corosync-fplay
     %{_sbindir}/corosync-pload
     %config(noreplace) /etc/corosync.conf
    -%{_initddir}/corosync
    +%{_sysconfdir}/init.d/corosync
     %dir %{_libexecdir}/lcrso
     %{_libexecdir}/lcrso/coroparse.lcrso
     %{_libexecdir}/lcrso/objdb.lcrso
    

    rpmbuild -bb corosync.spec
    sudo rpm -i ~/rpm/RPMS/x86_64/corosynclib*.rpm

    wget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/openais-0.94-1.fc11.src.rpm
    alien -t openais-0.94-1.fc11.src.rpm
    mv openais-0.94.tgz /tmp
    cd ~/rpm/SOURCES
    tar xfz /tmp/openais-0.94.tgz
    rpmbuild -bb openais.spec
    sudo rpm -i ~/rpm/RPMS/x86_64/openaislib-*.rpm

    wget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/lvm2-2.02.45-4.fc11.src.rpm
    alien -t lvm2-2.02.45-4.fc11.src.rpm
    mv lvm2-2.02.45.tgz /tmp
    cd ~/rpm/SOURCES
    tar xfz /tmp/lvm2-2.02.45.tgz
    rpmbuild -bb lvm2.spec