Version Control With Git, Access Control With Gitolite, and Authenticated Web Repository Viewing With Gitweb + Apache on Ubuntu 11.04 Server

Phew, that’s a long title.
This post aims to start with a fresh install of Ubuntu 11.04 Server, installing git, gitolite, apache, and gitweb in order to do version control with access control and a web-based repository viewer. If you’re not running Ubuntu 11.04, most of this guide should still apply.
Continue reading Version Control With Git, Access Control With Gitolite, and Authenticated Web Repository Viewing With Gitweb + Apache on Ubuntu 11.04 Server

Adding Canadian Spellcheck to Emacs

I had a friend ask me this the other day. He had aspell installed and it had a Canadian dictionary, but setting the language to Canadian in his Emacs config file resulted in an error. This happens because the ispell module does not contain Canadian as a valid language.

The solution is to add Canadian to the ispell-local-dictionary-alist variable:

(defvar ispell-local-dictionary-alist
  '(("canadian"
     "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
   )
)