- Jim Weirich: The Building Blocks of Modularity – http://goo.gl/g4Nk
- Jim Weirich: SOLID Ruby – http://goo.gl/z3jd
- Sandi Metz: SOLID Object-Oriented Design – http://goo.gl/PDn6T
- Sandi Metz: Less – The Path to Better Design – http://goo.gl/VuTl4
- Demeter is for Encapsulation – http://is.gd/eeyLx
- Opinionated Modular Code – http://is.gd/eeyXm
- Scaling to Hundreds of Millions of Requests – http://vimeo.com/12814529
- Confident Code – http://goo.gl/VFLX
- Destroy All Software Screencasts – https://www.destroyallsoftware.com/screencasts
- Corey Haines: Fast Rails Tests – http://goo.gl/Va2gb
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
//I had a need to use a different app delegate in Convene’s XCTest suite today, so I took the time to figure out how to do it. Quite simple really: | |
//Switch your main.m to: | |
@autoreleasepool { | |
BOOL runningTests = NSClassFromString(@"XCTestCase") != nil; | |
if (!runningTests) { | |
return UIApplicationMain(argc, argv, nil, NSStringFromClass([CVNAppDelegate class])); | |
} else { | |
return UIApplicationMain(argc, argv, nil, @"CVNTestAppDelegate"); |
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
<script type="text/javascript"> | |
var timer; | |
var heartbeat; | |
var lastInterval; | |
function clearTimers() { | |
clearTimeout(timer); | |
clearTimeout(heartbeat); | |
} |