Major Libki Update In The Works
Last Updated on Wednesday, 21 April 2010 09:10 Written by Kyle Wednesday, 21 April 2010 09:00
I’ve been working on a compete rewrite of Libki to improve it’s performance, aesthetics, and ease of installation. The client will be written in C++/Qt4, which gives it a nice look that can also be skinned to look native to any given OS. I’m still contemplating the possibilities for the web-based administration interface. I hope to make it fully AJAX. I hope to take advantage of Web Sockets if I can. Development has been put on short term hold while we roll out our Koha update, but expect to see more on this soon!
Screenshots of the Work-In-Progress Client:
Convert a 2D Associative Array To CSV using PHP
Last Updated on Thursday, 8 April 2010 09:09 Written by Kyle Monday, 19 October 2009 08:32
Here is a bit of code to convert an array of associative arrays into a CSV file. The first line will be a header line of the key values:
Learn MoreBackup and Restore Disk Images Over A Network
Last Updated on Wednesday, 4 May 2011 07:24 Written by Kyle Tuesday, 1 September 2009 07:30
Here is a quick and easy way to save and restore hard disk images using dd, netcat and gzip.
To Save An Image:
On the server: nc -l 7000 | dd of=Output.img.gz
On the client: dd if=/dev/sdb | gzip -9 | nc 12.34.56.78 7000
To Restore:
On the client: nc -l -p 7000 | gzip -dc | dd of=/dev/sda
On the server: dd if=Output.img.gz | nc 12.34.56.78 7000
I just boot the client using an Ubuntu live-cd, all the neccessary tools are already installed. I store my images gzipped to save space, I just copied a 40 GB disk and the image file compressed down to 4.4 GB!

