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
du -ah | egrep -v "AppStore|DerivedData|Pods|Frameworks" | egrep -i "PNG|jp(e?)g" | sort -n -r | more |
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
license: gpl-3.0 | |
height: 910 | |
border: no |
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
#pragma mark NSFetchedResultsControllerDelegate | |
-(void) controllerWillChangeContent:(NSFetchedResultsController *)controller | |
{ | |
[self.tableView beginUpdates]; | |
} | |
-(void) controllerDidChangeContent:(NSFetchedResultsController *)controller | |
{ | |
[self.tableView endUpdates]; |
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
<div class="button" role="button">Login</div> |
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
<i class="icon-spinner icon-spin" ng-show="requestPending"></i> |
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
function SomeController($scope, $location, roster, classSection) | |
{ | |
$scope.requestPending = false; | |
$scope.errorMessage = ""; | |
$(function() { | |
$scope.requestPending = true; | |
$scope.errorMessage = ""; | |
}); | |
} |
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
function SomeController($scope, etc..) { | |
$(function() { | |
$scope.requestPending = true; | |
$scope.errorMessage = ""; | |
(...) | |
}); | |
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
#myAnimatedText { | |
background-color: red; | |
-webkit-transition-property: background-color; | |
-webkit-transition-duration: 1.0s; | |
} | |
#myAnimatedText:hover { | |
background-color: blue; | |
} |
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
/* style 1 */ | |
#myText { | |
background-color: red; | |
} | |
/* style 2 */ | |
#myText:hover { | |
background-color: blue; | |
} |
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
+(void) DoNotUseNSLog_It:(NSString *)format, ... | |
{ | |
// call AMPDebug or whatever... | |
AMPDebug(blah blah | |
} | |
+(void) DoNotUseNSLog_It:(NSString *)format, ... __attribute__ ((deprecated)); | |
#define NSLog(s, ...) [YourLogginClass DoNotUseNSLog_It:(s, ##__VA_ARGS__)]; |