- Buy a mac mini
- Install 10.8
- Create a user account for Jenkins
- Install xcode
- Turn on screen sharing
- Turn off energy save sleeping
- Login as your jenkins user
- Use ssh-keygen to create a key for github
- Create a github account for your build machine
- Add the key to your build machine github account
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
http://stackoverflow.com/questions/5082738/ios-calling-app-delegate-method-from-viewcontroller | |
http://stackoverflow.com/questions/4399611/force-iphone-app-to-restart-programmatically | |
// call delegate method | |
MainClass *appDelegate = (MainClass *)[[UIApplication sharedApplication] delegate]; | |
[appDelegate.viewController resetAppToFirstController]; | |
- (void)resetAppToFirstController | |
{ |
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
http://www.samuelhwong.com/blog/2011/08/29/remapping-keyboard-and-mouse-in-mac-os-x-lion/ | |
~/Library/KeyBindings/DefaultKeyBinding.dict | |
{ | |
/* Remap Home / End to be correct */ | |
"\UF729" = "moveToBeginningOfLine:"; /* Home */ | |
"\UF72B" = "moveToEndOfLine:"; /* End */ | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ |
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
Much more geeky (and gratifying) to set up a Cron event to send this command: | |
osascript -e "set Volume 0" | |
And one to set it back: | |
osascript -e "set Volume 10" | |
http://lifehacker.com/5926577/silencer-mutes-and-unmutes-your-mac-on-a-schedule-every-day |
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
Solution | |
Luckily, the solution is very simple – tell git to stop tracking filemodes! I set this as a global option, but also had to set it on the repository too as it has a default value set in there. The following two commands sorted it out: | |
git config --global core.filemode false | |
git config core.filemode false | |
http://www.grumpydev.com/2011/01/19/switching-from-cygwin-to-msysgit-git-thinks-everything-has-been-modified/ | |
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
Mac | |
"cmd": ["open", "-a", "Google Chrome", "$file"] | |
Windows | |
"cmd": ["PATH_TO_YOUR_CHROME", "$file"] | |
http://stackoverflow.com/questions/8023879/sublime-text-2-keyboard-shortcut-to-open-file-in-chrome |
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
/Library/Java/Home/ |
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
private readonly List<string> authors = new List<string> | |
{ | |
"Cameron MacFarland", | |
"Mike Minutillo", | |
"Jake Ginnivan", | |
"Ian Randall", | |
"Paul Stovell", | |
"Andrew Tobin", | |
"Brendan Forster", | |
"Paul Jenkins" |
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
Abel | |
Open Sans |