Mac Dev Setup

System preferences In Apple Icon > System Preferences: Trackpad > Tap to click Keyboard > Key Repeat > Fast (all the way to the right) Keyboard > Delay Until Repeat > Short (all the way to the right) Dock > Automatically hide and show the Dock Homebrew install command line tools xcode-select --install,xcode-select -p /Library/Developer/CommandLineTools to check if command line tools is installed install homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Using GNU Command Line Tools on Mac Os X

Unlike Ubuntu shipped with GNU command line tools,Mac OS X shipped with the BSD version,which make me WTF when I encountered with some compatibility issues.Fortunately,it's quit easy to install gnu tools by using homebrew in Mac OS X and set them as default. First comes with the most important one – GNU coreutils,which contains the most essential commands like ls,cat and bla,bla… brew install coreutils,and export PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:/usr/local/bin:$PATH",and add this alias to your .

Android Best Practices for Background Jobs

Background jobs best practices Running in a background service Loading data in the background Managing the device awake state Best Practices for Background Jobs These classes show you how to run jobs in the background to boost your application’s performance and minimize its drain on the battery. Running in a background service This class describes how to implement