Skip to content

Instantly share code, notes, and snippets.

View augard's full-sized avatar
🏠
Working from home

Lukas Foldyna augard

🏠
Working from home
View GitHub Profile
@augard
augard / gist:4086223
Created November 16, 2012 10:22 — forked from odrobnik/gist:4086204
Forwarding keydown event to a search field
- (void)goToProductListWithEvent:(NSEvent *)event
{
self.selectedViewController = _productListViewController;
[self.view.window makeFirstResponder:_productListViewController.searchField];
_productListViewController.searchField.stringValue = [event characters];
int64_t delayInSeconds = 0.01;
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
Process: eu4 [2280]
Path: /Volumes/VOLUME/*/eu4.app/Contents/MacOS/eu4
Identifier: ???
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [197]
User ID: 501
Date/Time: 2013-09-25 18:45:47.068 +0200
OS Version: Mac OS X 10.8.5 (12F37)
// DNSSDService implements -isEqual: based on a comparison of the domain, type and name, and
// it implements -hash correspondingly. This allows you to use DNSSDService objects in sets,
// as dictionary keys, and so on.
//
// IMPORTANT: This uses case-sensitive comparison. In general DNS is case insensitive.
// DNS-SD will always pass you services with a consistent case, so using case sensitive
// comparison here is not a problem. You might run into problems, however, if you do
// odd things like manually create a DNSSDService with the domain set to "LOCAL." instead
// of "local.".
//
@augard
augard / Ubuntu 12.md
Last active August 29, 2015 14:26 — forked from behboud/Ubuntu 12.md
CartoDB stuff
POST /mapp/users/user/registration HTTP/1.1
Host: 185.10.86.35:9000
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Accept: */*
User-Agent: mapp Development/0.2.3 (com.homecredit.hccn.mapp; build:2017090601; iOS 10.2.0) Alamofire/4.5.0
Accept-Language: en;q=1.0
Content-Length: 525
Accept-Encoding: gzip;q=1.0, compress;q=0.5
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, dependent dylib '@executable_path/Frameworks/Equa-bankx.framework/Equa-bankx' not found for '/var/containers/Bundle/Application/F329C066-E88C-4231-8759-C433B32E0591/Equa bank.app/Equa bank'. in '/var/containers/Bundle/Application/F329C066-E88C-4231-8759-C433B32E0591/Equa bank.app/Frameworks/Equa-bankx.framework/Equa-bankx' mis-aligned LINKEDIT content 'indirect symbol table'
Highlighted by Thread: 0
Backtrace not available
Unknown thread crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016f1ce080 x3: 0x00000000000000b0