Brad Lucas

Programming, Clojure and other interests

Moving Thunderbird Setup To Another Machine

August 30, 2017

Setting up a new machine and wanting to move my Thuderbird profile to the new machine. Having setup the previous profile in a custom location under my $HOME directory makes this relatively simple. The trick is to find the profile.ini file used by Thunderbird and configure it on the new machine to point to the profile location.

On the mac look inside ~/Library/Thunderbird/.

There edit the profile.ini file.

Here is the before and after for me.

Continue reading →

iTunes Needs To Trim Input

August 29, 2017

This was odd. Logging into iTunes I noticed that a trailing space on the email address was not trimmed by iTunes on input.

Why? I'd vote that they should trim leading and trailing spaces on input

Continue reading →

Install Node On A Mac

August 28, 2017

Use brew.

$ brew install node
Continue reading →

Global Git Ignore

August 27, 2017

Create a .gitignore file in your home directory. For example:

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db


.classpath
.project
.settings/



# Emacs
*.*#
*~

Then run this command to set it as the ignore file to use globally.

$ git config --global core.excludesfile ~/.gitignore
Continue reading →

Installing Homebrew

August 26, 2017

$/usr/bin/ruby -e  \
"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

When complete run:

$ brew doctor
Continue reading →