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
// | |
// CHDiscoveryProtocols.h | |
// CrashHandler | |
// | |
// Created by Seth Willits on 11/22/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@protocol CHDiscoveryCenterProtocol; |
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
// | |
// Probie.m | |
// Probie | |
// | |
// Created by Seth Willits, Keith Bauer on 11/19/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <objc/runtime.h> |
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
// | |
// main.m | |
// Probie | |
// | |
// Created by Seth Willits on 11/19/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <objc/runtime.h> |
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
// | |
// main.m | |
// Blah | |
// | |
// Created by Seth Willits on 11/12/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
// | |
// main.m | |
// Blah | |
// | |
// Created by Seth Willits on 11/12/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
ascender = 13.775909423828125 | |
descender = -3.821929931640625 | |
baseLineHeight = (descender.abs + 0.5).floor + (ascender + 0.5).floor | |
ascenderDelta = (baseLineHeight * 0.2 + 0.5).floor | |
fontHeight = ((ascenderDelta + baseLineHeight) + descender).ceil - descender.floor # 23 |
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
// | |
// OSXCrashReporterInfo.h | |
// OSXCrashReporterInfo | |
// | |
// Created by Seth Willits on 10/26/14. | |
// Copyright (c) 2014 Araelium Group. All rights reserved. | |
// | |
#import <CoreFoundation/CoreFoundation.h> |
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
[itemsTableView beginUpdates]; | |
double t = [NSDate timeIntervalSinceReferenceDate]; | |
NSArray * oldArrangement = [[self.itemsArrayController.arrangedObjects copy] autorelease]; | |
NSArray * newArrangement = nil; | |
NSUInteger count = oldArrangement.count; | |
// "live" indexes of where final objects are currently. | |
NSUInteger * liveIndexes = calloc(sizeof(NSUInteger), oldArrangement.count); | |
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
// | |
// Crashed Thread: 0 Dispatch queue: com.apple.main-thread | |
// | |
// Exception Type: EXC_BAD_ACCESS (SIGSEGV) | |
// Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 | |
// | |
// VM Regions Near 0: | |
// --> | |
// __TEXT 000000010d268000-000000010d26a000 [ 8K] r-x/rwx SM=COW /Users/USER/Library/Developer/Xcode/DerivedData/CrashSymbolTest-duwezzdulbkaqtffihfubuglwpki/Build/Products/Debug/CrashSymbolTest | |
// |
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
function unquarantine() | |
{ | |
for file in $@ | |
do | |
xattr -d com.apple.quarantine $file | |
if [ -d "${file}" ] ; then | |
while IFS= read -r -d '' subfile; do | |
if [ "$file" != "$subfile" ]; then | |
unquarantine $subfile; |