Skip to content

Instantly share code, notes, and snippets.

View lawrencelomax's full-sized avatar

Lawrence Lomax lawrencelomax

View GitHub Profile
@lawrencelomax
lawrencelomax / gist:70660eec687869ec1873816050fbf396
Created August 9, 2016 09:11
Running a Simulator Logic Test with Dylib Overrides
$ DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/xcode_8_beta_4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks \
DYLD_FALLBACK_LIBRARY_PATH=/Applications/xcode_8_beta_4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib \
DYLD_ROOT_PATH=/Applications/xcode_8_beta_4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk \
DYLD_SHARED_REGION=avoid \
DYLD_INSERT_LIBRARIES=/Users/lawrencelomax/Library/Developer/Xcode/DerivedData/otest-shim-gzqfivxxroyopfctymsslntqaxit/Build/Products/Debug/lib/otest-shim-ios.dylib \
DYLD_PRINT_LIBRARIES=1 \
/Applications/xcode_8_beta_4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest \
-XCTest All ~/src/FBSimulatorControl/XCTestBootstrapTests/Fixtures/SimpleTestTarget.xctest
@lawrencelomax
lawrencelomax / gist:c0df8f552e13ae023d7882aadd718531
Created June 13, 2019 14:27
Passing close and release of grpc stream
2019-06-13 15:15:36,947 [DEBUG] - hpack.hpack - Adding (b'user-agent', b'grpc-python-grpclib/0.3.0rc4 (darwin; cpython/3.6.2+)') to the header table
2019-06-13 15:15:36,947 [DEBUG] - hpack.hpack - Encoding 58 with 6 bits
2019-06-13 15:15:36,947 [DEBUG] - hpack.hpack - Encoding 41 with 7 bits
2019-06-13 15:15:36,947 [DEBUG] - hpack.hpack - Encoded header block to b"\x83\x86D\x94`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85b\x81\xdbQ'A\x8b\xa0\xe4\x1d\x13\x9d\t\xb8\x10<\xf0\xbf@\x82I\x7f\x86M\x835\x05\xb1\x1f_\x90\x1du\xd0b\r&=LMed\xffu\xd8t\x9fz\xa9\x9a\xca\xc8\xb5~\x939\xeaZk+%\x06\x8d\x80.\xca\xe0\xb0\x8d)\xfdH;<\x1a\xaf\xb5\t_\xa4\xcez\x98ew\x17\x17\xfb\xfe\xff"
2019-06-13 15:15:37,073 [DEBUG] - hpack.hpack - Decoding b"\x88@\x0ccontent-type\x10application/grpc@\x0bgrpc-status\x019@\x0cgrpc-message\x7f%Application Bundle Name: Shortcuts | ID: is.workflow.my.app | Install Type user | Container (null) cannot be launched as it's not signed with a development identity"
2019-06-13 15:15:37,073 [DEBUG] - hpack.hpack
@lawrencelomax
lawrencelomax / gist:961c4d93ab3f1748570d2fadaea89c53
Created June 13, 2019 14:28
Failing close release grpclib example
2019-06-13 15:14:51,407 [DEBUG] - hpack.hpack - Encoded header block to b"\x83\x86D\x94`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85b\x81\xdbQ'A\x8b\xa0\xe4\x1d\x13\x9d\t\xb8\x10<\xf0\xbf@\x82I\x7f\x86M\x835\x05\xb1\x1f_\x90\x1du\xd0b\r&=LMed\xffu\xd8t\x9fz\xa9\x9a\xca\xc8\xb5~\x939\xeaZk+%\x06\x8d\x80.\xca\xe0\xb0\x8d)\xfdH;<\x1a\xaf\xb5\t_\xa4\xcez\x98ew\x17\x17\xfb\xfe\xff"
2019-06-13 15:14:51,637 [DEBUG] - hpack.hpack - Decoding b"\x88@\x0ccontent-type\x10application/grpc@\x0bgrpc-status\x019@\x0cgrpc-message\x7f%Application Bundle Name: Shortcuts | ID: is.workflow.my.app | Install Type user | Container (null) cannot be launched as it's not signed with a development identity"
2019-06-13 15:14:51,637 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2019-06-13 15:14:51,637 [DEBUG] - hpack.hpack - Decoded (b':status', b'200'), consumed 1
2019-06-13 15:14:51,637 [DEBUG] - hpack.hpack - Decoded 12, consumed 1 bytes
2019-06-13 15:14:51,637 [DEBUG] - hpack.hpack - Decoded 16, consumed 1 bytes
2019-06-13 15:14:51