Gedanken

September 9, 2017

New word: Gedanken

A thought experiment which considers some hypothesis in a conceptual experiment rather an actual experiment.


Continue reading →

Some Tips For Programmers

September 8, 2017

I found this list of tips for programmers from Brian Knapp that I think is worth reviewing.

See the following link.


Continue reading →

Emacs Install Ispell On Mac

September 7, 2017

If you try the ispell command get the following:

Starting new Ispell process ispell with en dictionary...
apply: Searching for program: No such file or directory, ispell

Install ispell with brew

$ brew install ispell

Things should just work.

If you get an error like the following you might have a configuration that is pointing you to a different hash

Starting new Ispell process ispell with en dictionary...
ispell-init-process: Can’t open /usr/local/Cellar/ispell/3.4.00/lib/ispell/en.hash

For example here I had an eval-after-load that set the directionary to en. The change to american is shown below.

ls -al /usr/local/Cellar/ispell/3.4.00/lib/ispell
  lrwxr-xr-x  1 brad  admin       16 Feb  9  2015 american.hash -> americanmed.hash
  -r--r--r--  1 brad  admin  1386144 Feb  9  2015 americanmed.hash
  -r--r--r--  1 brad  admin    24095 Feb  9  2015 english.aff
  lrwxr-xr-x  1 brad  admin       16 Feb  9  2015 english.hash -> americanmed.hash

Continue reading →

Turn Off Auto Bulleting In Outlook

September 6, 2017

I have a tendency to sign my emails with a - Brad. With a new install of Outlook on my Mac (15.37) I found it has an annoying (to me) feature which turns a dash into a signal to auto-indent because it is anticapating a bullet list.

Here is how to turn that feature off.

- Outlook -> Preferences
- AutoCorrec
- AutoFormat

- Turn off 'Automatic bulleted lists'


Continue reading →

Updated Gitx For New Laptop

September 5, 2017

My new laptop is running Sierra 10.12 and my existing GitX at versino 0.7.1 doesn't run.

- Old Laptop
- Mac OSX 10.11 El Captain
- GitX 0.7.1

The repo for GitX has details. https://github.com/pieter/gitx/wiki

I choise the rowanj fork and everything works great.

- https://github.com/rowanj/gitx
- http://builds.phere.net/GitX/development/GitX-dev.dmg
- New Laptop
- Mac OSX 10.12 Sierra
- GitX-dev (rowanj fork)
- Version 0.15.1964 dev

Continue reading →

Certificates

September 4, 2017

LinkedIn has this feature that proposes to link to certificates earned at various MOOCs. I noticed today that it is a bit broken. I have one coursera class certificate connected but the others are not. From the coursera side the one that is connected is prompted to be connected while the others have no option to connect.

As an alternative I started a git repo with all of my certificates and used links from the repo to connect with my LinkedIn profile.

Certificates


Continue reading →

Emacs For Mac

September 3, 2017

Setting up a new machine. Here is the Emacs I setup.

$ brew tap railwaycat/emacsmacport
$ brew update
$ brew install emacs-mac

Continue reading →

Setting App To Autostart On Mac

September 2, 2017

Headline

To configure your Mac to run an app on startup.

- System Properties
- Users & Groups
- Login Items (tab)

Continue reading →

Installing Java On A Mac

September 1, 2017

Use brew:

$ brew update
$ brew cask install java

Continue reading →

View Hidden Files In Finder

August 31, 2017

Headline

enter stuff here

$ defaults write com.apple.Finder AppleShowAllFiles true
$ killall Finder

Continue reading →

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.

[Profile0]
Name=default
IsRelative=1
Path=Profiles/0uqtzy4a.default
Default=1
[Profile0]
Name=default
IsRelative=0
Path=/Users/brad/mail
Default=1

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 →