Tuesday, August 3, 2010

Localhost postfix relay on OS X

sudo vi /System/Library/LaunchDaemons/org.postfix.master.plist

<plist version="1.0">

sudo launchctl unload /System/Library/LaunchDaemons/org.postfix.master.plist
sudo launchctl load /System/Library/LaunchDaemons/org.postfix.master.plist
sudo launchctl start org.postfix.master

Saturday, February 7, 2009

Installing git step by step

Download and install



git config --global user.name "user.name"
git config --global user.email "user.email"
git config --global color.ui auto
git config --global pager.status true
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.amend 'commit --amend'
git config --global core.excludesfile ~/.gitignore
echo '.DS_Store' >> ~/.gitignore

Basic workflow

# Create a new repo:
git init

git co master

# Pull upstream if necessary:
git pull

# Create a topic_branch
git br topic_branch

# edit/compile/test

# checkpoint to the index:
git add filename

# Revert file to index:
git co -- filename

# Revert file to master:
git co master -- filename

# Merge in any changes made in master while on topic_branch:
git rebase master

git commit

# Merge topic_branch back to master and delete:
git co master
git merge topic_branch
git branch -d topic_branch

Useful references

Git home
git ready - daily tips for the noob to the guru

Sunday, February 1, 2009

File System Overview Doc

File System Overview

Enabling network volume access in Time Machine

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Saturday, January 31, 2009