How to convert Flac to MP3 on Mac

To convert FLAG files into MP3, you can find many good commercial software. But, if you don’t have many files and just need a quick and cheap way, you can try the below instead. It requires to have MacPorts installed, but it’s just for installing ffmpeg. $ sudo port install ffmpeg Now, you just needContinue reading “How to convert Flac to MP3 on Mac”

passwordless login via ssh in Mac

You can access your remote ssh server without password by put your ssh key in remote. Step 1: generate a key if you don’t have already $ ssh-keygen -t rsa Use the default for all paths. http://pagead2.googlesyndication.com/pagead/show_ads.js Step 2: Copy the file to the remote server that you want to access. As Mac doesn’t haveContinue reading “passwordless login via ssh in Mac”

Use colours in your Mac terminal

To use colours in your Mac terminal, you just need to put below in your ~/.bash_profile export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad export GREP_OPTIONS=’–color=auto’ alias ls=’ls -GFh’ For the vim, below would be work by put in ~/.vimrc set nocompatible ” must be the first line set tabstop=4 shiftwidth=4 softtabstop=4 filetype on filetype indent on filetype pluginContinue reading “Use colours in your Mac terminal”

git installation on Mac OSX

Easiest way is to download and run pre-compiled git installer. You can get it from http://code.google.com/p/git-osx-installer/. Another way is use MacPorts http://www.macports.org/install.php. Run following command to install git using MacPorts. sudo port install git-core +svn If you need more information how to use git, I recommend this site – http://progit.org/ which contains whole content ofContinue reading “git installation on Mac OSX”