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
for (CIFaceFeature *f in features) | |
{ | |
NSLog(NSStringFromRect(f.bounds)); | |
// Should be NSLog(@"%@", NSStringFromRect(f.bounds)); for security reasons | |
if (f.hasLeftEyePosition) | |
NSLog("Left eye %g %g", f.leftEyePosition.x. f.leftEyePosition.y); | |
// Missing @ before opening quote | |
// Should be f.leftEyePosition.x, | |
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
$ codesign -vd Acorn.app | |
Executable=/Users/gus/Downloads/Archives/Acorn.app/Contents/MacOS/Acorn | |
Identifier=com.flyingmeat.Acorn4 | |
Format=bundle with Mach-O thin (x86_64) | |
CodeDirectory v=20200 size=43565 flags=0x0(none) hashes=2171+3 location=embedded | |
Signature size=8518 | |
Timestamp=Jul 14, 2014, 12:47:45 PM | |
Info.plist entries=35 | |
TeamIdentifier=WZCN9HJ4VP | |
Sealed Resources version=2 rules=12 files=452 |
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
var filter = [JSTQuickCIFilter quickFilterWithKernel:""" | |
bool isOdd(int v) { | |
float dividend = float(v) / 2.0; | |
return dividend != floor(dividend); | |
} | |
vec4 hsvToRgb(vec4 hsv) { | |
float h = hsv.r; |
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
SInt32 TSSystemVersion(void) { | |
static dispatch_once_t once; | |
static int TSSystemVersionVal = 0x00; | |
dispatch_once(&once, ^{ | |
NSDictionary *d = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"]; | |
NSString *prodVersion = [d objectForKey:@"ProductVersion"]; | |
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
Thread 7:: Dispatch queue: com.apple.NSXPCConnection.user.com.getdropbox.dropbox.garcon.apple-extension-service | |
0 libsystem_kernel.dylib 0x00007fff8b6b652e mach_msg_trap + 10 | |
1 libsystem_kernel.dylib 0x00007fff8b6b569f mach_msg + 55 | |
2 com.apple.CoreServices.CarbonCore 0x00007fff844c0aa9 _scsclient_CacheableGetDataWithStringKey + 195 | |
3 com.apple.CoreServices.CarbonCore 0x00007fff844c09dd RemoteCacheable::GetWithStringKey(unsigned int, char const*, unsigned long*, unsigned int*) + 75 | |
4 com.apple.CoreServices.CarbonCore 0x00007fff844c08ab _CSGetNamedData + 119 | |
5 com.apple.CoreFoundation 0x00007fff8c962ec0 _CFPropertyListCopyShared + 176 | |
6 com.apple.CoreFoundation 0x00007fff8ca7684d CFBundleCopyLocalizedStringForLocalization + 397 | |
7 com.apple.Foundation 0x00007fff917dd315 -[NSBundle localizedStringForKey:value:table:] + 64 | |
8 com.apple.Foundation 0x00007fff918af07e -[NSError(NSErrorPrivate) _cocoaErrorString:fromBundle:tableName:] + 693 |
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
Process: Acorn [1635] | |
Path: /Users/USER/*/Acorn.app/Contents/MacOS/Acorn | |
Identifier: com.flyingmeat.Acorn4 | |
Version: 4.5.1 (8996) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Acorn [1635] | |
User ID: 501 | |
Date/Time: 2014-11-01 20:32:18.860 -0500 |
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
The crash stack: | |
#0 0x7fff88084314 in objc_msgSend_vtable13 | |
#1 0x7fff80380678 in _Block_object_assign | |
#2 0x10018b0c3 in __copy_helper_block_1037 at LBServer.m:91 | |
#3 0x7fff8038044a in _Block_copy_internal | |
#4 0x7fff80380526 in _dispatch_Block_copy | |
#5 0x7fff803a1bff in dispatch_async | |
#6 0x10018adac in -[LBServer connectUsingBlock:] at LBServer.m:83 | |
#7 0x100003d1d in -[LAAppDelegate connectToDefaultServerAndPullMail] at LAAppDelegate.m:178 |
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
The Official Letters Coding Style Guide | |
======================================= | |
By Gus Mueller | |
(now you know who to blame) | |
First, read Apple's Coding Guidelines for Cocoa: | |
http://goo.gl/eY7a | |
And you should be familiar with the modern runtime for 64 bit apps in 10.6: |
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
// | |
// LBIMAPTestAppDelegate.m | |
// LBIMAPTest | |
// | |
// Created by August Mueller on 1/29/10. | |
// Copyright 2010 Flying Meat Inc. All rights reserved. | |
// | |
#import "LBIMAPTestAppDelegate.h" | |
#import "IPAddress.h" |
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
tell application "iTunes" | |
set songLocation to get location of current track | |
end tell | |
tell application "Finder" | |
open document file songLocation using application file "Capo.app" of folder "Mail Downloads" of folder "Library" of folder "gus" of folder "Users" of disk "srv" | |
end tell |
OlderNewer