This file contains hidden or 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
# https://www.atlassian.com/git/tutorials/dotfiles | |
git init --bare $HOME/.cfg | |
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' | |
config config --local status.showUntrackedFiles no | |
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zshrc |
This file contains hidden or 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
^(.+\s)+(\((\d+.\d+) Simulator\))\s\[(\S+)\]$ |
This file contains hidden or 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
NSFileManager *fileManagerMock = mock([NSFileManager class]); | |
NSURL *anURL = [NSURL URLWithString:@"test"]; | |
//...do some stuff | |
// error in/out paramater will not accept OCMockitos anything(), resulting in | |
// Implicit conversion of an Objective-C pointer to 'NSError *__autoreleasing *' is disallowed with ARC error | |
[MKTVerify(fileManagerMock) removeItemAtURL:anURL error:anything()]; |