Posts

Showing posts from 2010

The Linux Speed Boost!

Oh my, it has been a while since I visited my Blog. While there were few worthy posts which I should have blogged about, that never happened. Recently, when I came across a post on OMG Ubuntu , about a new kernel patch which supposedly speeds up Linux, I just had to try it out. Its been a while since I've compiled my own kernel (these days I rely on stock Ubuntu), but after seeing the results myself thought it was very much blog worthy for me to share with you. First off, for the impatient or the unmotivated, let me point you to another post on Phoronix, which contains a video showing the night and day difference this patch brings. If your still not impatient, then you could wait for 2.6.38, which will hopefully have this, considering Linus's supportive comments , regarding the patch. Ok now for the glory details on getting this patch up and running. I did this on Ubuntu 10.10 but it should work the same for other Debian and Debian like distros as well as other popular distro

Splitting a git repo

Its been almost an year since I last blogged and what can I say, micro-blogging killed blogging for me. Even micro-blogging has got to a point, I don't do as much as I used to. Perhaps the end of web 2.0 or perhaps I'm getting too old for this :) Anyhow, getting back to the subject of this quick post, it seems splitting a git repo into two separate git repos is somewhat obscure and required a bit of googling around. Fortunately I came across this great blog post , but wanted to summarize it in one place (the author made me look at several pages to put it together). Say I have a git project called foo.repo which had a subdirectory called bar, that I now want to make its own separate git project called bar.repo. Current state foo.repo/ .git/ bar/ abc/ xyz/ target state foo.repo/ .git/ abc/ xyz/ bar.repo/ .git/ Step 1 : Clone existing repo as desired repo on the local clone $ git clone --no-hardlinks foo.repo bar.repo Step 2: Filter-branch and reset to exclud