Posts Tagged ‘os x’

git outta here…

Friday, July 3rd, 2009

I’m switching my Source Control Management  software to git. Performance has been great, I’m learning to branch and merge with wild abandon and philosophically it’s right on (what with the distributed model and all).

Creating a new remote repository on my private server was *almost* too easy. The one snafu was getting sshd to include the git binary path for non-interactive login. To save me the trouble of having to look this up again later, add a .bashrc file to your user dir:

export PATH=/usr/local/git/bin:$PATH

Other steps, again for reference.

  • Download the git installer
  • Create a new bare repo on the remote machine:
mkdir -p /path/to/remote/repo.git
cd /path/to/remote/repo.git
git --bare init
exit
  • Add the remote repository to the local machine:
git remote add origin ssh://server/path/to/remote/repo.git
git push origin master
  • Done!

(Unless, of course you get the following message try the .bashrc workaround above)

bash: git-receive-pack: command not found

OS X Leopard’s Alex text-to-speech…breathing?

Wednesday, September 24th, 2008

Maybe this is old news…but it was a surprise to me when I thought I heard the (relatively) new Alex voice inhaling when speaking some text. Try it out yourself, using TextEdit (spelled to aid pronunciation):

This is a test. Didd I juhst take a breath? (Yes, I will). I hope so, I really need too breathe at some point.

Weird – and awesome at the same time. The breath sound really does something to put me at ease when listening to the speech. I found myself unconsciously holding my breath until I heard him breathe.