iGeek Blog

Jignesh Patel's Blog

categories

recent posts

recent comments



Freedom Writers, after very long time I watched a movie, which touched my heart. Especially, the way Hilary Swank teaches her students, actually the gang members.

Movie is based on true story of a young teacher, Erin Gruwell, teaches in Wilson High School in Long Beach, Calif. A recent college graduate, Erin landed her first job in Room 203, only to discover many of her students had been written off by the education system and deemed “unteachable.” As teenagers living in a racially divided urban community, they were already hardened by first-hand exposure to gang violence, juvenile detention, and drugs.

Its a must watch movie for those teachers who are willing to provide & contribute something valuable.
After watching a movie, my friend told me, "I feel tears in my eyes while watching the movie".
I liked the sound tracks as well of the movie.

Wanna get fresh vegetables & fruits directly from farms? How far the farm is, if you live in the forest of cement & concrete?
What if skyscrapers nearby provide you all that things?

Yes, in near future you will be able to find & get the fresh fruits & vegetables just few steps away from your home.

Dickson Despommier, a professor of public health at Columbia University, has thought about a project, “vertical farm,” a concept he created in 1999.

Here are some concept pictures.



Finally, iPhone will be launched in India by October/November '08.
I was amazed when I heard the price that won't be more than $199 (across 70 countries worldwide), although you wont get it in that amount, you will have to tie up with your service provider. In India, Vodafone is going to launch it with minimum plan of around Rs. 23,000 with 2 year subscription.

As Steve Jobs said in recent WWDC, Price was the major factor for the people who didn't buy the iPhone in the countries where iPhone launched. So Apple slashed the price 50% less!

But.. will we the new iPhone 3G with all the feature & accessories provided with previous version of iPhone (iPhone EDGE), thats the big question.

Lets hope in India, we will get the same as we can see in this video
Lets unpack the iPhone.


What you will need to setup Subversion on windows

Install Subversion


Download the subversion installer for Windows from: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91

I installed the version 1.4.6, you can download the same or 1.4.5 or 1.4.4 also.

Run the installer, and install the subversion on your local machine.

To hold your repositories you will need to creatd a folder anywhere in your machine. I created the folder here: 'e:\subversion

Install svnserve as a Windows service


To install svnserve as a service, which allows it to run in the background automatically on start-up, download SVNService from:

SVNService.exe

Just copy SVNService.exe file into 'bin' directory of Subversion's install directory.

I installed subversion in 'C:\Program Files\Subversion'. So I copied 'SVNService.exe' to 'C:\Program Files\Subversion\bin'

Open comman prompt.

In order to customize the root directory from which svnserve will serve the repository, I provided the parameters as 'e:\subversion', which was my repositories folder, you can replace it with your repositories folder. Type in command prompt:

svnservice -install -d -r e:\subversion

To start the service with in windows startup, set the service start to 'Auto'

sc config svnservice start= auto

To start the service immediately

net start svnservice


Add an environment variable for SVN_EDITOR. You can do this by right-click on my Computer > Properties. Go to advanced. Hit the Environmental Variables button. Just add another in there called SVN_EDITOR with a value of C:\windows\notepad.exe

Create a project


To create a new project in svn enter the following command. I created 'firstproject' as new project

svn mkdir svn://localhost/firstproject


At this point, Notepad should launch:

Simply exit the notepad.


Congo! You just created a new project into Subversion!

Test the new service by listing all the files in the repository:

svn ls svn://localhost/


Checkout your project


To checkout firstproject from svn repository, you will need a svn client like 'Zend Development Environment'

If you already installed the Zend, follow the steps below:

Open Zend.

In Menu bar select Tools » Preferences. Select 'Source Control' tab.
Select 'Source Control Tool' as 'Subversion' from the combobox.

Under General Settings select the 'Path to SVN', browse for the location of 'svn.exe', where you installed the SVN.

I browsed for "C:\Program Files\Subversion\bin\svn.exe". Press OK.

Now we will create a new project in Zend, in which we will checkout the project 'firstproject' from SVN

To create a new project in Zend,
select Project »New Project. It will open a New Project Wizard.



On the first screen enter the name of your project. I entered 'firstproject'. Press 'Next'.

On the second screen, Add path by pressing 'Add Path' button, select the location of directory where you wish checkout the files from 'firstproject' from SVN repository. I select 'C:\firstproject'. Click Next, nothing to do on third screen, click Next. on the fourth screen, click Finish.

Now its time to checkout a project from from SVN repository.

From Menu bar, select Tools » Subversion » Checkout

Enter the 'Module URL' as shown in image below & select 'Working directory' (which is the root path of your Zend project 'firstproject'). Press OK.



Congo! you have checked out 'firstproject' from SVN repository.