Skip to content

Instantly share code, notes, and snippets.

Avatar
😄
Hello!

DillionMango DillionApple

😄
Hello!
View GitHub Profile
View gist:656b8d47d1882a5e390b8441e57748e8
[Appium] Welcome to Appium v1.13.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"9","appium:deviceName":"vivo_x27","appium:uuid":"5dc1e44f","appium:systemPort":"8201","appium:appPackage":"com.mobiletesting","appium:appActivity":"MainActivity","appium:autoGrantPermissions":"true"}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"9","deviceName":"vivo_x27","uuid":"5dc1e44f","systemPort":"8201","appPackage":"com.mobiletesting","appActivity":"MainActivity","autoGrantPermissions":"true"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"9","deviceName":"vivo_x27","uuid":"5dc1e44f","systemPort":"8201","appPackage":"com.mobiletesting","appActivity":"MainActivity","autoGrantPermissions":"true"},null,{"firstMatch":[{"platformName":"Android","appium:platformVersion":"9","appium:deviceName":"vivo_x27","appiu
View Setup ssh tunnel by command line in macOS
alias ssh_tunnel="networksetup -setsocksfirewallproxy Wi-Fi 127.0.0.1 30003 && ssh -D 30003 <host_username>@<host_ip> -p<ssh_port>; networksetup -setsocksfirewallproxystate Wi-Fi off"
View SimpleHTTPServerWithUpload.py
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""