Once cygwin is set up and you've installed any other necessary applications (e.g. vim etc), open Console 2 and select Settings > Tabs. Create a new tab (e.g. "Bash") and for the Shell: input set the following:

You should now be able to use Console 2 to create new bash sessions by going to: File > New Tab > Bash

For a great file manager replacement, I'd also recommend installing KDE 4 for Windows:http://windows.kde.org/And using Dolphin.

Saturday, 14 November 2009

Here are my rough notes for getting google's go compiler set up on Snow Leopard (applies to any 64 bit macbook). These steps are mostly outlined on http://golang.org/doc/install.html, although there are a couple of extra steps I needed to make, which I'm listing here:

Wednesday, 4 November 2009

I've managed to get all the pieces working for this. It's not an especially neat solution, but I should be able to give you enough information to enable you to create a project in github, install and configure EGit and then import the project.

Fill in your username, email address and password (you can ignore the public key right now if you like) and hit submit to go to your dashboard.

Create ssh key and test your connection to github

These instructions are for OS X, although Linux users will probably be able to follow these instructions closely, there are instructions for all operating systems at http://help.github.com. Probably the link marked Generating SSH Keys is the place to go first.

And select the Plugin, then Next, then restart when Eclipse prompts you to.

Create a github repository

On your github home page, you can now create a new repository, give it a name, fill in the details and when done, you should see your Clone URL - should look something like this:

There will be a link next to it to copy it to your clipboard.

It will also provide step-by-step instructions for you to install and configure git, check out the project and make the first commit. Once this is done, you should be able to work with the project within EGit.

At the install stage, you may need to execute the script "setup PATH for non-terminal programs.sh" by selecting Open With, Other, select Enable All Applications, then go into Utilities and select terminal. Close all instances of the terminal and reopen, you should now be able to use git from the terminal.

Right click on the project Explorer, select Import, expand the Git folder and select Git Repository and next.

Paste your Clone URL into the First field (URI) and it should complete most other fields for you.

Change the protocol to git+ssh and do not enter anything for the Authentication section (leave the User pre-filled as "git").

If everything is set up properly, you should get a prompt for a password - this is your passphrase from the earlier stage.

It should now locate the master branch you created when you followed the "Next Steps" section. Select it if you need to, then select Next. As there are no eclipse files in the project, uncheck "import projects after clone" and Finish.

Right click on the Project Explorer, New > General > Project, give it the same name as your repository. It should "create" your project in the Project Explorer (you should now see the README you created and committed).

Right click on your project folder in the Project Explorer, select "Team" and "Share Project". Select Git as the repository type and then next. Highlight your project and select Finish.

You should now be able to open the README in eclipse, make a change, save it and commit your changes.