This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// reference: http://www.arthurkoziel.com/2008/05/02/git-configuration/ | |
Git Configuration | |
Published 2nd May 2008 | |
Here are some useful configuration options for Git. Some of them, like the Bash completion, are OS X specific but should also work if you adjust the paths according to your system of choice. | |
Install with MacPorts: | |
sudo port install git-core +svn +bash_completion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import <Specta.h> | |
#import <Expecta.h> | |
#import <OCMock.h> | |
#import "SessionManager.h" | |
SpecBegin(SessionManagerSpec) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Indices for int[4] rectangles. | |
X0 ||= 0 | |
Y0 ||= 1 | |
X1 ||= 2 | |
Y1 ||= 3 | |
# Calculate clipped and obscured areas based on lists of orthogonal rectangles. | |
class Bounds | |
def initialize(r) |