-com.apple.CoreData.SQLDebug 1-3- print all SQL queries called by Core Data-com.apple.CoreData.Logging.stderr 1-3- needed alongside with theSQLDebugfrom iOS 10+ because of new logging system, more on that in changelog
-com.apple.CoreData.SyntaxtColoredLogging YES- probably syntax colored logging (not tried)-com.apple.CoreData.SQLiteDebugSynchronous 1- preference controls some aspects of the SQLite store. See the "Configuring a SQLite Store's Save Behavior" section of the Core Data Programming Guide for details-com.apple.CoreData.SQLiteIntegrityCheck 1- the SQLite store does extra integrity checking-com.apple.CoreData.MigrationDebug 1- Core Data will log information about exceptional cases as it migrates data-com.apple.CoreData.ThreadingDebug- preference enables assertions to enforce Core Data's multi-threading policy. It is a number, where incre
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
| scmStatus = false | |
| invisiblesMap = "~ \t┊" | |
| TM_RUBY = "$HOME/.rbenv/shims/ruby" | |
| PATH = "$HOME/.rbenv/bin:$PATH" | |
| fontSmoothing = true | |
| excludeFiles = "*.{png,so,pyc,o,scssc}" |
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
| @interface UIImage (mxcl) | |
| @end | |
| @implementation UIImage (mxcl) | |
| - (UIStatusBarStyle)preferredStatusBarStyle { | |
| UIGraphicsBeginImageContextWithOptions((CGSize){1, 1}, NO, 0.0); | |
| [self drawInRect:(CGRect){0, 0, 1, 1}]; | |
| UIImage *img = UIGraphicsGetImageFromCurrentImageContext(); | |
| UIGraphicsEndImageContext(); |
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
| void NotificationLogger(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo) { | |
| NSString *notificationName = (__bridge NSString *)name; | |
| NSRange prefixRange = [notificationName rangeOfString:@"OB"]; | |
| NSArray *excludeNotifications = @[@"OBNotInterestingNotification"]; | |
| if (prefixRange.location != NSNotFound && prefixRange.length != 0) {]) { | |
| NSLog(@"Notification send %@ with userInfo %@", name, userInfo); | |
| } | |
| } |
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
| Sub Color() | |
| For Each rCell In Selection | |
| rCell.Interior.Color = RGB(CInt("&H" & Mid(rCell.Value, 2, 2)), CInt("&H" & Mid(rCell.Value, 4, 2)), CInt("&H" & Mid(rCell.Value, 6, 2))) | |
| Next rCell | |
| End Sub |
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
| [core] | |
| excludesfile = ~/.gitignore | |
| quotepath = false | |
| [diff] | |
| external = ~/.opendiff-git.sh | |
| [merge] | |
| tool = opendiff | |
| [user] | |
| name = Ondrej Benes | |
| email = <my-email> |
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
| conf=${CONFIGURATION} | |
| if [ $conf != "Debug" ] | |
| then | |
| buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${PROJECT_DIR}/${PROJECT_NAME}/${PROJECT_NAME}-Info.plist) | |
| buildNumber=$(($buildNumber + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" ${PROJECT_DIR}/${PROJECT_NAME}/${PROJECT_NAME}-Info.plist | |
| fi |
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
| git filter-branch --index-filter 'git rm --cached --ignore-unmatch -- *.mbtiles' --prune-empty -- --all | |
| rm -fr .git/refs/original/ | |
| git reflog expire --expire=now --all | |
| git gc --prune=now | |
| git gc --aggressive --prune=now |