Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Guilherme Sousa dilhelh

🎯
Focusing
  • São Paulo, Brazil
View GitHub Profile
@dilhelh
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": "br.com.original.mobile.bank",
[BaseDriver] "deviceName": "iPhone XR",
[BaseDriver] "platformName": "iOS",
[BaseDriver] "udid": "00008020-001471860263002E",
[BaseDriver] "newCommandTimeout": 0,
[BaseDriver] "connectHardwareKeyboard": true
[BaseDriver] }
@dilhelh
dilhelh / gpg-import-and-export-instructions.md
Created Dec 4, 2018 — forked from chrisroos/gpg-import-and-export-instructions.md
Instructions for exporting/importing (backup/restore) GPG keys
View gpg-import-and-export-instructions.md

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.