Archive for the ‘Mac’ Category

Setup and Configure Subversion Repository Server

Friday, March 7th, 2008

I have seen how convenient it is to have your own svn repository. For example, if my code changes broke one of the AJAX features that I am working on, I can easily restore everything to my previous working revision.

If you are not familiar with svn, there is a good free (yes! FREE) book about svn from svnbook.red-bean.com.

I followed Jeff’s tutorial to have my local svn repository (recall that I am using a Mac and it has Subversion by default).

I modified the tutorial a bit to store my repository in my home directory (e.g. /Users/my_user/Projects/svn). In addition to changing the directory creation steps, I also need to change one line in the svn.conf file:

SVNParentPath /Users/my_user/Projects/svn

Everything works great so far! :)
I created a repository for my Ruby-on-Rails projects in localhost/svn/rails.

To list my repository:

svn list http://my_user_name@localhost/svn/rails

Obviously, change my_user_name with the user name that you define in Jeff’s tutorial and change the path to you repository path.

You can also add as many repositories as you want. For example:
- By programming language: localhost/svn/java, localhost/svn/dotnet.
- By projects: localhost/svn/depot.
- By version: localhost/svn/2007 or localhost/svn/summer2005.

To initially import a project:

cd /path_to_your_project
svn import -m “Initial project import” . http://my_user_name@localhost/svn/rails/project_name

Yep! You need to have the dot before the http://….

Note that svn can be used for any type of documents including Word or Excel documents!

Have fun with svn! I am sure you will find it worth your time to install it.

Post a comment if you have any questions and I will try to answer them as much as I can.

Wordpress Install for Development on a Mac

Wednesday, September 26th, 2007

I like to customize my blog page that is running on Wordpress. Obviously, I would like to replicate the setup in my Mac.

I will go through a step-by-step instructions on installing Wordpress in my Mac.

1. Download MAMPS. I choose the non-pro version. You should get a .dmg file.

2. Download Wordpress. I choose to download the .tar.gz file. It does not really matter which one you choose.
(more…)

Switching to a Mac

Sunday, November 19th, 2006

I am one of the Windows-to-Linux-to-Mac switcher. My previous machine was an Ubuntu linux and it was a good machine.

I bought a 2.33 GHz MacBook Pro with 2 GB of RAM. :) I have 120GB of drive and a resoultion of 1440×900. The screen is gorgeous! I’ve never seen any notebook with a sharper and brighter screen.

In short, it’s a sweet machine!

One thing that drives me nuts in Mac OS X is the window resizing. In Windows, I can drag any side of the window to resize it. In Mac, I have to use the itsy-bitsy-tiny resizer. :(
I will post a switcher’s guide and various programs that I am using.

PS: As I posted before, I use ecto to manage my blog.

Blog Client (Software)

Sunday, November 19th, 2006

I have wasted so much time managing my blog using pure HTML. So, I decided to buy a software called ecto.

It’s a very nice software to manage and to format my blog. I have only used it for a couple of hours and I am hooked!

Post your questions in the comment and I will answer them as much as I know.