Skip to content

Instantly share code, notes, and snippets.


Guilherme Sousa dilhelh

  • São Paulo, Brazil
View GitHub Profile
dilhelh / appium.log
Created May 27, 2020
Session ends unexpectedly during sendKeys method execution - Appium Logs
View appium.log
[Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] Creating session with MJSONWP desired capabilities: {
[BaseDriver] "automationName": "XCUITest",
[BaseDriver] "bundleId": "",
[BaseDriver] "deviceName": "iPhone XR",
[BaseDriver] "platformName": "iOS",
[BaseDriver] "udid": "00008020-001471860263002E",
[BaseDriver] "newCommandTimeout": 0,
[BaseDriver] "connectHardwareKeyboard": true
[BaseDriver] }
dilhelh /
Created Dec 4, 2018 — forked from chrisroos/
Instructions for exporting/importing (backup/restore) GPG keys

Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.

Method 1

Backup the public and secret keyrings and trust database

cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
# or, instead of backing up trustdb...
You can’t perform that action at this time.