Monday, March 30, 2009

the cake chawing party

Gwoo announced this last year in late December!
Man do I have to read the Internet more!
So there's a new place to chew on your cakes. It's called the Chaw.
The reason I'm pissed is because I'm working at a strong CMS base for my projects and naturally it's based on CakePHP. And browsing the CakeBook I always drooled at the nice built in concepts like revisions and I18n. I even remember reading that the code was available but sadly I'm not as multi threaded as I thought.
The CakeBook is hosted on using git with ssh key access only so u'll need to brush up your command line skillz.
First have your keys ready or if u're on a Mac use the default keys. If you need to learn about Private/Public Key auth search Google for it. On Mac you'll probably need SSHKeychain also. On Win you need Putty and friends.
Second create your account and paste your public key string in both SVN and GIT under account > ssh keys. A given project is using only one of the 2 systems so you need to stick to the version control info found in the project's details.
Third you'll need the SVN and/or GIT clients. For Mac there's svnx and the git OSX installer. Make the required local settings for the GIT default user.
Fourth and last, open a new terminal tab, go to the folder where you want to keep the project's local copy and type:
git clone

I'm fairly new to GIT so I have to stop here. If you want to contribute and commit work then you probably already know more about GIT than I do. If you want to know more about GIT and wonder why SVN is not that hot anymore watch this.
Enjoy :)

Tuesday, March 24, 2009

once and for all

find . -type d -name xxxx -exec chmod 0755 {} \;

In case you're wondering, the above console command recursively finds all folders inside the current location that have the name xxxx and does a chmod on the resulted list.