Use netcat to copy large files

The lightweight netcat utility can be used to copy large files quickly bewteen machines when encryption is not a concern… and say the nfs gods are not smiling on you today and you don’t want to wait for a ~3 MB/s copy with scp.


Arch Linux Install - LVM and video challenges

The latest install media for Arch Linux is dated May 2010, which is not a problem except that the kernel is beginning to show its age and as I recently found out, there are a few issues with creating a system with LVM volumes.


Arch Linux on the Asus Eee PC 1001 PXD

I recently purchased an Asus Eee PC to have something convenient to have at work, mostly for web and music. I was thinking I would leave the Windows Starter OS on it and add Linux for dual boot. But after reading some of MS’s EULA, I decided I’d rather not “check the box” and instead install some distribution of Linux.


Polymorphism example in Google Go

I wrote a bare-bones example in Google Go to excersize embedding, poloymorphism and interfaces in Go. It does nearly nothing, but it works as expected. It has the advantage of being very small.




Git cheat-sheet

git reset --hard Reverts all changes to the working copy. git add -u Adds all changes done to the working copy to the to-be-committed list (files that were added, removed, updated). git add <path> Recursively adds the files within <path> to the to-be-committed list. git reset -- <path> Remove a <path> from the to-be-committed list, no change to working copy. git checkout -- <path> Undo changes to <path> in the working copy (svn revert <path>).

Installing gtkD for ldc

Download gtkD 1.3 from gtkd unzip run make to run the GNUmakefile in the base directory. su to root make install copies include and lib files under /usr/local/. libraries: libgtkd.a libgtkdgl.a libgtkdsv.a Test it out… cd to gtkD/demos/gtk try to compile HelloWorld.d. First attempt was to do ldc HelloWorld.d That resulted in a linking error: /usr/local/lib/libgtkd.a(Loader.o): In function `_D4gtkc6Loader6Linker17dumpLoadLibrariesFZv': gtkc.Loader:(.text+0x4e8): undefined reference to `_D5tango2io6Stdout6StdoutC5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput' gtkc.Loader:(.text+0x518): undefined reference to `_D5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput8formatlnMFAaYC5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput' /usr/local/lib/libgtkd.


Convert a mercurial repository to a git repository

I have decided to have another look at git, since it stores the contents of files as content and not files. If I rename or move a file, the content doesn’t have to be stored a second time. My hope is that I will worry less about having things right the first time, and can focus on just getting stuff done, making adjustments later as needed without a heavy price to pay.