Skip to content

Instantly share code, notes, and snippets.

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

sylm87

🏠
Working from home
View GitHub Profile
@sylm87
sylm87 / gpg-encrypt.go
Created July 10, 2021 21:25 — forked from ayubmalik/gpg-encrypt.go
Golang encrypt file using GPG openpgp. Use standard go libs.
package main
/**
Example hack to encrypt a file using a GPG encryption key. Works with GPG v2.x.
The encrypted file e.g. /tmp/data.txt.gpg can then be decrypted using the standard command
gpg /tmp/data.txt.gpg
Assumes you have **created** an encryption key and exported armored version.
You have to read the armored key directly as Go cannot read pubring.kbx (yet).
@sylm87
sylm87 / AdbCommands
Created April 28, 2021 13:51 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader