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”
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”
If you want to change your Mac OS X’s hostname from the default, you can use the following command. $ sudo scutil –set HostName If you are in the terminal, you need to restart the terminal to get the changed host name.
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”
Some useful shortcut keys can use in Mac OS X. Screen Capture to disk: ⌘ ⇧ 3 Screen to jpeg file on desktop ⌘ ⇧ 4 + Drag: Selection to jpeg file on desktop ⌘ ⇧ 4 + Spacebar: Window (click camera) to jpeg file Screen Capture to clipboard: ⌘ ⇧ 3 + Ctrl: ScreenContinue reading “Mac OS X Shortcut keys”
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”