iGeek Blog

Jignesh Patel's Blog

categories

recent posts

recent comments




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.

So many Firefox extensions are doing the same thing which I have just made. And its about downloading YouTube videos.
I made a PHP script to download YouTube videos. Thanks to Open Source Communities, from which I taken some part of script. I just implemented it on the site below.



Visit : YouTube Video Downloader

Just enter the YoutTube video URL as mentioned there.
By default you will be prompted to save video with name 'get_video' with no file type specified. Just change the file name to 'get_video.flv' to save it as flv file.

The Indian Skyscraper Race is ON. India’s tallest commercial skyscraper planned in Gujarat.
The latest project named Gujarat International Finance Tec-City (GIFT), is planned , located at Gandhinagar, the capital city of the industrial Indian state of Gujarat, and nearby the state’s commercial capital of Ahmedabad.
These are some of the Information about proposed GIFT.

  • GIFT city will have 312 large buildings
  • More than 40 buildings will have 50 floors
  • The tallest building, being the signature 86-storey, 405 mt (1,328 ft) “Diamond Tower"
  • Another tower, the Gateway building will have 75 floors while the 65-storey Crystal Tower.
  • An artificial island
  • Integrated mass transit and dedicated expressways
  • Residential townships
  • Creation of 5,00,000 (approximately) direct and indirect jobs
  • Total Investment: 70,000 cr, Area: 500 HA



The 500 acre GIFT aims to be Global Financial Services hub.

Here are some pictures..


Diamond Tower: Tallest tower in GIFT





Fun Fridays at Magnet are always great. But this time it was extreme, as the Dance Competition was organized.
Most of us don't know dancing, but we can. The theme was 'Back to 70s', then how we can do it, in damn Couple Dancing?


Nidhi & Padma




Shailesh & Minal




Anil & Shruti




Jaldip & Maitry




Jignesh & Bhakti




Vandit & Twinkle