Installing Debian Etch on a MacBook Core Duo 2

30.04.2007 at 21:16

I recently bought a new Macbook, well one of the first things I did was installing Debian. The instructions in the corresponding Debian Wiki Page work pretty well, except I didn't want to install lilo because it is just too annoying and error prone to run /sbin/lilo every time I changed something in the boot loader configuration. It turns out that the grub shipped with edge is capable to boot a macbook. The only thing you have to do is change the partition type of your /boot partition. So just proceed the Debian installation as explained on the Debian Wiki, when you drop to the console to sync the MBR from the GPT change the filesystem type as shown bellow. Adjust the index (in my case 4 for /dev/sda4) to the partition containing grub to match your setup.

sfdisk -c /dev/sda  83

This worked for me. The only other thing which annoyed me a bit is the keyboard and touchpad configuration. Update your touchpad config within xorg.conf as explained on this page and for the keyboard use these hints.

Enjoy your GNU/Linux powered Macbook!


read more comments

Locating the Executing Assembly on the .Net Compact Framework

12.04.2007 at 15:09

Had some time today to familiarize myself with the .NET Compact Framework. Took me some time to find out how to get the location of the program on the device. Here is what I came up with after some research.



read more comments

Deleting All Default Wiki Pages in Trac

03.04.2007 at 20:00

I am currently evaluating Trac as a web management tool for a school project. By default Trac comes with lots of standard wiki content, mostly help instructions, which I don't need. So here is a simple script which saves the current wiki content and then deletes all pages.

cd /path/to/your/trac/project
mkdir wiki-exported && trac-admin . wiki dump wiki-exported
for page in $(trac-admin . wiki list | awk '{  if($1 ~ /^(Trac|Wiki).*$/) print $1}'); do 
    $(trac-admin . wiki remove $page); 

If you want to restore your wiki content then run

trac-admin . wiki load wiki-exported

To upgrade to the latest help instruction issue the following command

trac-admin . wiki upgrade


read more comments

Comparison Between Java and C#

28.03.2007 at 11:16

As I am still trying to get familiar with C# I found the following comparison between Java and C# quite useful.

read more comments

MSDN Sucks - Use the API Documentation in CHM Format

27.03.2007 at 17:19

In my day job I am currently developing a C#/.NET Compact Framework application and one of my first experience is that the MSDN documentation -- well pretty sucks -- it's just way too slow. Fortunately the API Documentation is also available in CHM format.


read more comments

<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 >>