Skip to content

Instantly share code, notes, and snippets.

@stevenp
stevenp / agency.txt
Created April 11, 2016 04:59 — forked from dwfreed/agency.txt
Caltrain GTFS 2016-04-03
agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone
CT,Caltrain,http://www.caltrain.com,America/Los_Angeles,en,800-660-4287
@stevenp
stevenp / gist:a6740694b4e23baccfab
Last active September 10, 2015 23:26
Disable App Transport Security in iOS 9
Add this to the Info.plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
@stevenp
stevenp / gist:92c46a1e6953143f56d9
Created August 19, 2014 17:56
iOS 8 Multipeer Crash
Thread : Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x0000000199137270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001991d5520 pthread_kill + 112
2 libsystem_c.dylib 0x00000001990aea20 abort + 112
3 libc++abi.dylib 0x0000000198191418 __cxa_bad_cast
4 libc++abi.dylib 0x00000001981b0b8c default_unexpected_handler()
5 libobjc.A.dylib 0x00000001989a83c0 _objc_terminate() + 128
6 libc++abi.dylib 0x00000001981adbb4 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x00000001981ad478 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*)
8 libobjc.A.dylib 0x00000001989a8204 _objc_exception_destructor(void*)
nvram -p
nvram -d fmm-mobileme-token-FMM