Skip to content

Instantly share code, notes, and snippets.

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

Johannes Plunien plu

🏠
Working from home
  • Kleinanzeigen
  • Germany
View GitHub Profile
@plu
plu / keybase.md
Created March 31, 2018 17:56
keybase.md

Keybase proof

I hereby claim:

  • I am plu on github.
  • I am plu (https://keybase.io/plu) on keybase.
  • I have a public key ASAdVHHooUue_jaHRIeSQ6RDXCjMw9uDCfKRymK7A0TUfwo

To claim this, I am signing this object:

@plu
plu / gist:8eae8472fa458b8fc52ed032139b4ce8
Created September 21, 2017 02:56
Firebase stack traces

-[FSnapshotHolder updateSnapshot:withNewSnapshot:]

Fatal Exception: NSInvalidArgumentException
-[__NSSingleEntryDictionaryI updateChild:withNewChild:]: unrecognized selector sent to instance 0x1c0221fe0

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x182befd38 __exceptionPreprocess
1  libobjc.A.dylib                0x182104528 objc_exception_throw
2  CoreFoundation                 0x182bfd1f8 __methodDescriptionForSelector
// These vars are passed to JS from PHP
// var loggedIn = true;
// var makerFee = 0.0015;
// var takerFee = 0.0025;
// These will only be used if the user has no local storage
// primaryCurrency = 'BTC';
// secondaryCurrency = 'XMR';
// currencyPair = 'BTC_XMR';
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>enterprise</string>
<key>uploadBitcode</key>
<false/>
....
</dict>
plu@plubook ~/Development/FBSimulatorControl[fix_fbsimctl_install]$ git log -n2
commit b9b73e76bc5e88e660f5e00725cda9c341b85041 (HEAD -> fix_fbsimctl_install, plu/fix_fbsimctl_install)
Author: Johannes Plunien <[email protected]>
Date: Wed Feb 8 08:49:08 2017 +0400
Fix crash in FBApplicationDescriptor.findOrExtract
Fix #373
commit 1fc41d1038f665bcceeddfffd011a1d083f8cb5b (origin/master, origin/HEAD, master)
$ dtrace/simulator_indigo -C /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
dtrace: system integrity protection is on, some features will not be available
dtrace: failed to compile script /Users/joplunien/Development/FBSimulatorControl/Documentation/dtrace/simulator_indigo.d: line 190: extraneous argument '/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app' ($1 is not referenced)
diff --git a/FBControlCore/Diagnostics/FBASLParser.m b/FBControlCore/Diagnostics/FBASLParser.m
index 421ef6f..9fd93b2 100644
--- a/FBControlCore/Diagnostics/FBASLParser.m
+++ b/FBControlCore/Diagnostics/FBASLParser.m
@@ -89,7 +89,7 @@ - (void)dealloc
- (FBDiagnostic *)diagnosticForProcessInfo:(FBProcessInfo *)processInfo logBuilder:(FBDiagnosticBuilder *)logBuilder
{
return [[[[logBuilder
- updateShortName:processInfo.processName]
+ updateShortName:[processInfo.processName stringByAppendingFormat:@"_%zd", processInfo.processIdentifier]]
diff --git a/FBControlCore/Diagnostics/FBDiagnostic.m b/FBControlCore/Diagnostics/FBDiagnostic.m
index 2878a42..5268025 100644
--- a/FBControlCore/Diagnostics/FBDiagnostic.m
+++ b/FBControlCore/Diagnostics/FBDiagnostic.m
@@ -967,9 +967,6 @@ - (instancetype)updateString:(NSString *)string
- (instancetype)updatePath:(NSString *)path
{
[self flushBackingStore];
- if (![NSFileManager.defaultManager fileExistsAtPath:path]) {
- return self;
from mitmproxy import ctx
from mitmproxy.models import decoded
import codecs
import json
class Duolingo:
def response(self, flow):
if "/api/1/version_info" not in flow.request.url:
return
data = json.loads(flow.response.content.decode('utf-8'))
$ pxctest list-tests \
--testrun KIF_iphonesimulator10.2-i386.xctestrun \
| jq -r '. | select(.event | test("begin-test$")) | "\(.className)/\(.methodName)"'
AccessibilityIdentifierTests/testClearingAndEnteringTextIntoViewWithAccessibilityLabel
AccessibilityIdentifierTests/testEnteringTextIntoViewWithAccessibilityIdentifier
AccessibilityIdentifierTests/testEnteringTextIntoViewWithAccessibilityIdentifierExpectingResults
AccessibilityIdentifierTests/testLongPressingViewWithAccessibilityIdentifier
AccessibilityIdentifierTests/testSettingTextIntoViewWithAccessibilityIdentifier
AccessibilityIdentifierTests/testTappingStepperDecrement