Skip to content

Instantly share code, notes, and snippets.

View ethanmick's full-sized avatar
🐺
Hello!

Ethan Mick ethanmick

🐺
Hello!
View GitHub Profile
@ethanmick
ethanmick / gist:1443575
Created December 7, 2011 16:56
Logs from my app.
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 15771.
Pending breakpoint 1 - "objc_exception_throw" resolved
2011-12-07 11:55:15.038 Magikarp[15771:fb03] I restkit.network.cache:RKRequestCache.m:350 Invalidating cache at path: /Users/ethan/Library/Application Support/iPhone Simulator/5.0/Applications/7FAB1636-5E1D-40A9-98B4-0058A717907C/Library/Caches/RKClientRequestCache-129.21.140.120/SessionStore
@ethanmick
ethanmick / test_file1.txt
Created January 10, 2012 16:28
Testing 2
01/01/1899,01/01/1900 # First year too low #Ethan Mick - spent 359083590 seconds on this assignment
01/01/1900,01/01/1899 # Second year too low
01/01/10000,01/02/1901 # First year too high
01/01/1900,01/01/10000 # Second year too high
013/01/1900,01/01/1901 # invalid first month
01/01/1900,013/01/1901 # invalid second month
01/0144/1900,01/01/1901 # invalid first day
01/01/1900,01/0144/1901 # invalid second day
Comment as the first part of the line, 01/01/1900,01/02/1900
01-01-1900,01-02-1900 # different characters for separation
2012-01-21 20:46:42.847 Magikarp[34407:fb03] T restkit.network:RKRequest.m:310 Prepared GET URLRequest '<NSMutableURLRequest http://129.21.140.120:8080/lists>'. HTTP Headers: {
Accept = "application/json";
"Content-Length" = 0;
"If-None-Match" = "\"453a34f293dbb48cca3f03763d99a9ac\"";
}. HTTP Body: .
2012-01-21 20:46:42.850 Magikarp[34407:fb03] D restkit.network.queue:RKRequestQueue.m:272 Sent request <RKManagedObjectLoader: 0x6bb4f00> from queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=1/5>. Loading count = 1 of 5
2012-01-21 20:46:42.851 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:227 Timer initialized with delay 0.300000 for queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=1/5>
2012-01-21 20:46:42.868 Magikarp[34407:fb03] T restkit.network.reachability:RKReachabilityObserver.m:169 Deallocating reachability observer <RKReachabilityObserver: 0x8293e20 host=129.21.140.120 isReachabilityDetermined=YES isMon
2012-01-21 21:01:28.745 Magikarp[34407:fb03] Posting list with user: ethan@infinitydd.com and Epsilonn
2012-01-21 21:01:28.747 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:319 Request <RKManagedObjectLoader: 0x82e3b40> added to queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=0 loadingCount=0/5>
2012-01-21 21:01:28.747 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:265 Processing request <RKManagedObjectLoader: 0x82e3b40> in queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=0/5>
2012-01-21 21:01:28.748 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:189 Loading count increasing from 0 to 1. Firing requestQueueDidBeginLoading
2012-01-21 21:01:28.749 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:216 Loading count set to 1 for queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=0/5>
2012-01-21 21:01:28.750 Magikarp[34407:fb03] T restkit.network.cache:RKRequestC
@ethanmick
ethanmick / RestkitError
Created January 29, 2012 01:12
Restkit Error
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 73080.
Pending breakpoint 1 - "objc_exception_throw" resolved
2012-01-28 20:06:13:831 Magikarp[73080:64259] TestFlight: Started Session
@ethanmick
ethanmick / gist:1712047
Created January 31, 2012 18:28
Error in my iOS app
//
// app delegate
//
RKObjectManager *manager = [RKObjectManager objectManagerWithBaseURL:@"http://129.21.140.120:8080"];
manager.objectStore = [RKManagedObjectStore objectStoreWithStoreFilename:@"db.sqlite"];
//manager.objectStore.managedObjectCache = [[CustomCache alloc] init];
manager.client.requestQueue.showsNetworkActivityIndicatorWhenBusy = YES;
manager.acceptMIMEType = RKMIMETypeJSON;
manager.serializationMIMEType = RKMIMETypeJSON;
@ethanmick
ethanmick / file1.txt
Created December 6, 2012 23:18
Ethan Testing
String file contents
F076CC41-7E8B-41D6-A3F2-27ED9C681E40 - String file contents
B58E12CE-38C5-44BC-9423-6B05E3545D43 - String file contents
524CF814-EB6C-458B-95CE-D0A8EFC77402 - String file contents