- Move to /usr/local folder
- Execute `brew versions gradle'
- Copy the checkout command of the version you want and execute it
git checkout 01f2e6f Library/Formula/gradle.rb
- Run
brew install gradle
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
cached = diff --cached | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
#clb = branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="agnoster" | |
DEFAULT_USER="pepibumur" |
########## TOOLS ##################### | |
## VimGolf | |
Real Vim ninjas count every keystroke - do you? | |
http://www.vimgolf.com/ | |
#VIM Screencast | |
http://derekwyatt.org/vim/tutorials/novice/ | |
# Janus: Vim Distribution |
In other programming communities, like the Ruby one, developers are more aware of testing new components. Ensuring every component is tested is not common within the mobile appcommunity.
Fortunately, iOS developers have been working over the years to bring that culture to iOS too. The community is developing new libraries that use native ones allow you to write your tests with a fresh and more readable syntax. This has provided a big impulse and every day more and more developers ensure that expected behaviour in their apps is tested.
The Redbooth iOS Team we've been strongly influenced by the Ruby backend team and we decided to introduce testing into our development flow. Thanks to components like Cocoapods, Schemes and targets and some other tools, testing has become an essential part of development cycle.
- Install the SDK using brew
brew install android-sdk
brew install android-ndk
- Set the environment vars
export BREW_HOME="$(brew --prefix)"
export ANDROID_HOME="${BREW_HOME}/opt/android-sdk"
export PATH="$PATH:${ANDROID_HOME}/tools"
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { | |
return UITableViewCell() | |
} |
objectToObserve.addObserver(self, forKeyPath: "myDate", options: .New, context: &myContext) |
NSNotificationCenter.defaultCenter().addObserver(self, selector: "contextWillSave:", name: NSManagedObjectContextWillSaveNotification, object: self) |