Books..

We are shifting to a new geo-location nearby, so I was stacking and packing all my personal belongings this Friday, and when I started to stack those books, it was quite tall…

I have realized that the number of books I am reading recently had increased, you see the pile is as tall as my CPU tower.

The best books that I would recommend are

* Code Complete – for general software engineering

* Head Start Servlets and JSP also Head Rush AJAX

* PHP In Action – (not in the pile above)

PHP In action was especially very good. I got this book assuming that it will help me learn hard-core PHP to help me get certified. But this turned out to be the other way around, this book took me through some of the fairly advanced concepts of object oriented programming and PHP became incidental just beacuse the book was titled so.. certaily it goes by the saying “A good solution can solve any problem” likewise “A good programming language book can be used for any language”

New huge monitor

I got a new 23″ monitor last week, its an Acer V233H which runs at 1920×1080 HD resolution. See pic below, after using this for a week at home, my dual 19″ widescreens at office look very tiny to me, (need to ask my boss for an upgrade… :) )

Dual setup at office:

:)

Configure HTML Files to be parsed as PHP file in Apache

This has been one of the most frequently asked questions that php developers ask me, about how to configure Apache to serve files with .html extenstion as php files and let php to parse those files before they are sent to the client.

Solution

The solution is very simple, all you have to do is to add a “AddType” directive either in your .htaccess or httpd.conf of your Apache

AddType application/x-httpd-php .html

Save and restart your apache(if you did the changes in httpd.conf ) and your are done !

Now you will eb able to parse .html files as php files.

Tortoise SVN in Linux? Ubuntu alternatives here..

I have spent almost 2 months now trying to find a good alternative for Tortoise SVN in my ubuntu, i have been using Tortoise SVN for a while now, i got very used to the interface now, now i am not able to code without it. I have got so obsessed with it, and well svn cli is good, but its not there near Tortoise SVN.

This morning i can across this blog about how to implement scripts in nautilus that allows users to replicate TortoiseSVN like functionality in ubuntu.

KDESVN connected to nautilus script

KDESVN connected to nautilus script

KDESVN is a Visual SVN Client tool that can be installed in Ubuntu. Try this command to install it

>> sudo apt-get install subversion kdesvn kompare

After Installation, you will have to configure the rightclick menu scripts here

>> ~/.gnome2/nautilus-scripts

create a file called “kdesvn.sh” with the following contents

>> #!/bin/sh
>> kdesvn $1

assign execute rights to that file

>> chmod +x kdesvn.sh

Now open the file browser, you will be able to see KDESVN in the scripts context menu. To activate the SVN client, select some folder in local repository, and try the menu. It will popup the KDESVN interface.