Saturday, May 14, 2016

Flacon (flac + cue)

It is always a pain to convert cue+flac files in Linux.  Most methods are done in command line.  This is until I found Flacon.  A GUI tool that can split a FLAC file into tracks and convert them into a desire format.

You can either get the software from its main site (https://flacon.github.io/) or from PPA (https://launchpad.net/~flacon/+archive/ubuntu/ppa)

Thursday, March 17, 2016

Setting SVN Keywords property recursively using PowerShell

Here is a PowerShell script that allows you to set SVN keywords proeprty for .cs files.  I confess this isn't written by me, and I got it from a forum which I can't remember where.  Nonetheless, I would like to share it in case it is useful to others too.

param([string]$path)

Get-ChildItem $path -Recurse -Include *.cs | Where-Object {
        (Get-Content $_.FullName) -match '\$Id'
      } | ForEach-Object {
        svn propset svn:keywords "HeadURL Id Author LastChangedBy LastChangedRevision LastChangeDate Revision Rev" $_.FullName
      }

Sunday, January 31, 2016

Linux Mint and KVM

I had tried KVM before but stopped at the point of creating virtual machines as I found the management tool is either too manual (command prompt based) or too confusing (GUI with a confusing layout/workflow).  However, this was the experience then.

Yesterday, I came across this article (http://community.linuxmint.com/tutorial/view/1555), and it seems things have moved forward quite a bit since my last attempt.  I thought why not give KVM another try.

The installation is easy with commands below:

Virtualization with virt-manager:
# apt-get install qemu-system
# apt-get install qemu-utils
# apt-get install libvirt-bin
# apt-get install virt-manager

Installing SPICE for KVM remote and local access to VMs
# apt-get install python-spice-client-gtk
# apt-get install virt-viewer
Any users that want to manage VMs will need to be added to the "libvirtd" group.
After the installation, restart the machine.  You can either run the virt-manager from the command line or from the "Start menu".  The interface is much improved (as I recalled) and much more logical.

Once you have setup your virtual hardware using using the virt-manager, the rest is straight forward.