How to use IcoMoon and Icon Fonts – Part 1: Basic Usage

Note: This post was updated on December 18th, 2013, to use new screenshots that show the recent redesign to the IcoMoon App.

I’ve become a huge fan of using icon fonts recently. I love the fact that graphics elements that are implemented this way are vector based & stylable with CSS. It makes them really easy and flexible to work with.

One of the things that you will have to confront, though, is how to actually get an icon font that you can use. That is where IcoMoon comes in. It is an online service that lets you generate a custom-built icon font, using icons that are either open licensed or for-pay.

I’ve used IcoMoon on a couple of projects lately, and wanted to share what I’ve learned. I’m going to break this into three seperate posts:

Read More29 Comments

Git aliases – a step by step recipe (using Textmate)

Want to set up aliases that make Git easier to use? Have Textmate? Awesome.

Step 1 – launch Terminal (Applications/Utilities/Terminal). When the prompt loads, enter this command:

cd $home

It just returns you to the home folder in the event you aren’t already.

Step 2 – enter this command:

mate .bash_profile

This opens your .bash_profile document in Textmate.

Step 3 – Once that document open, paste in the following chunk:

alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gca='git commit -a'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gp='git pull'
alias push='git push'
alias gr='git rebase '
alias gm='git merge '

alias got='git ' alias get='git '

Step 4 – Save and close the document. Back in the terminal, start a new tab, and the aliases should work. Now, instead of having to enter

git commit -a

You can simply enter

gca

Faster, no? Please note, this was based on information I found over at Git Immersion, but I’ve distilled it for Mac OS X users, and added a few more aliases of my own.

Read More1 Comment