Skip to content

Instantly share code, notes, and snippets.

View iljaiwas's full-sized avatar

Ilja Iwas iljaiwas

View GitHub Profile
@iljaiwas
iljaiwas / gist:4627549
Created January 24, 2013 20:46
Outbank 2.0.1 on OS 10.7.5. Hanging once again on quit. :(
Sampling process 2264 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling OutBank (pid 2264) every 1 millisecond
Process: OutBank [2264]
Path: /Applications/OutBank.app/Contents/MacOS/OutBank
Load Address: 0x10d210000
Identifier: de.stoegerit.OutBankMac
Version: 2.0.1 (21596)
Code Type: X86-64 (Native)
Parent Process: launchd [139]
@iljaiwas
iljaiwas / gist:4655645
Created January 28, 2013 13:53
Outbank 2.0.1 beim Überweisen mit optischem TanGenerator
Process: OutBank [38853]
Path: /Applications/OutBank.app/Contents/MacOS/OutBank
Identifier: de.stoegerit.OutBankMac
Version: 2.0.1 (21596)
App Item ID: 451208372
App External ID: 13569665
Code Type: X86-64 (Native)
Parent Process: launchd [139]
Date/Time: 2013-01-28 14:49:48.504 +0100
@iljaiwas
iljaiwas / HockeyCrashGroupCoun.rb
Created April 16, 2013 16:08
A ruby script that produces a JSON file for Panic's Status board. It produces a bar graph that shows the number of open crashes per application.
#!/usr/bin/ruby
require 'rubygems'
require 'json'
require 'net/http'
require 'net/https'
def jsonResponseForURL(inURL)
uri = URI.parse(inURL)
http = Net::HTTP.new(uri.host, uri.port)
@iljaiwas
iljaiwas / GarageBuyHang
Created April 23, 2013 13:56
Our sandboxed OS X app hangs on 10.8.4. in the security subsystem, and so do all the apps. Anybody seen this? Known problem, or is this our old enemy LittleSnitch again?
Date/Time: 2013-04-20 20:32:44 +0200
OS Version: 10.8.4 (Build 12E33a)
Architecture: x86_64
Report Version: 11
Command: GarageBuy
Path: /Applications/Internet/GarageBuy.app/Contents/MacOS/GarageBuy
Version: 3.1 (324)
Parent: launchd [173]
@iljaiwas
iljaiwas / gist:6898297
Created October 9, 2013 08:52
I could use a little hint where to start debugging a crash, which seems particular hard to track down. So far the bug only happened in the wild. Any suggestions how to start fixing this would be appreciated
- (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)inItem
{
return [inItem isKindOfClass:[NSDictionary class]];<<app crashing on this line
}
Crash Report:
Incident Identifier: B905C1A8-0B07-4084-9B5B-1993F5BEE0EA
CrashReporter Key: [TODO]
Hardware Model: MacBookAir5,2
Then, if codesign verifies the app and storeagent says “Unsigned App”, then do this:
$ cd /System/Library/Frameworks/Security.framework
$ sudo mv PlugIns Versions/Current/PlugIns
$ sudo ln -s Versions/Current/PlugIns .
and reboot. If that makes the problem go away, you're seeing the same problem we are.
@iljaiwas
iljaiwas / gist:c12a4a803d937b149d8d
Created May 9, 2014 15:48
You should not design systems whose complexity you cannot master
Sampling process 51185 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling OutBank (pid 51185) every 1 millisecond
Process: OutBank [51185]
Path: /Applications/OutBank.app/Contents/MacOS/OutBank
Load Address: 0x10a145000
Identifier: de.stoegerit.OutBankMac
Version: 2.4.3 (32715)
Code Type: X86-64
Parent Process: launchd [162]
@iljaiwas
iljaiwas / IHMenuItemValidator.m
Last active August 29, 2015 14:11
IHMenuItemValidator
//
// IHMenuItemValidator.m
// GarageSale
//
// Created by ilja iwas on 12.12.14.
//
//
#import "IHMenuItemValidator.h"
@iljaiwas
iljaiwas / Sample of Github Desktop.sample
Created August 20, 2015 09:21
Reactive Cocoa is hard
Sampling process 55496 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling GitHub Desktop (pid 55496) every 1 millisecond
Process: GitHub Desktop [55496]
Path: /Applications/GitHub Desktop.app/Contents/MacOS/GitHub Desktop
Load Address: 0x10f89d000
Identifier: com.github.GitHub
Version: Bae's Branch (210)
Code Type: X86-64
Parent Process: ??? [1]
@iljaiwas
iljaiwas / gist:51eaa084ef9535eb7339
Created September 24, 2015 15:22
Common Android or Java pattern? Why no for loop?
private void fireDoneEvent(Iterator<QueueJobObserver> it)
{
if (it.hasNext())
{
QueueJobObserver observer = it.next();
fireDoneEvent(it);
observer.jobDone(this);
}
}