Skip to content

Instantly share code, notes, and snippets.

@hankbot
hankbot / curl.md
Created October 7, 2020 04:10 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@hankbot
hankbot / wdio.conf.js
Created April 2, 2019 21:39
WebdriverIO config to reproduce WinAppDriver click issue
exports.config = {
runner: 'local',
specs: [
'./test/specs/**/*.js'
],
exclude: [],
maxInstances: 1,
capabilities: [{
maxInstances: 1,
app: 'Microsoft.WindowsCalculator_8wekyb3d8bbwe!App',
@hankbot
hankbot / gist:ba482354107eb84863977dba2a5d8a88
Created April 2, 2019 21:37
WebdriverIO click failures
[HTTP] {"capabilities":{"alwaysMatch":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},"firstMatch":[{}]},"desiredCapabilities":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},null,{"alwaysMatch":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1554239409969 (16:10:09 GMT-0500 (Central Daylight Time))
[BaseDriver] The capabilities ["app","deviceName"] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.12.1 creating new WindowsDriver (v1.5.1) session
[Appium] Capabilities:
[Appium] app: Microsoft.WindowsCalculator_8wekyb3d8bbwe!App
[Appium] platformName: Windo