Skip to content

Instantly share code, notes, and snippets.

View harningt's full-sized avatar

Thomas Harning Jr harningt

View GitHub Profile
@harningt
harningt / openpgp.txt
Created January 14, 2016 18:41
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:2f0aff2ea8a01485c95b8650f0a4c0f7b1dbad54]
Verifying I am +harningt on my passcard. https://onename.com/harningt

Keybase proof

I hereby claim:

  • I am harningt on github.
  • I am harningt (https://keybase.io/harningt) on keybase.
  • I have a public key whose fingerprint is 2F0A FF2E A8A0 1485 C95B 8650 F0A4 C0F7 B1DB AD54

To claim this, I am signing this object:

@harningt
harningt / twrp.sh
Created December 10, 2013 14:06 — forked from inhies/twrp.sh
#!/bin/bash
#
# Version 1.4
#
# twrp.sh -- a TWRP compatible backup script for your computer
# Brought to you by inhies
#
# This script creates TWRP compatible backups over usb using adb and magikz
# By default it makes a folder in the standard TWRP date--time format (I think)
# To restore these backups, place the folder in /sdcard/TWRP/BACKUPS/<serialnumber>/
@harningt
harningt / SimpleCrypto.java
Created September 22, 2012 19:00
Simple Android Stream Crypto
package us.eharning.android.cryptosample;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.GeneralSecurityException;
import java.security.SecureRandom;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.KeySpec;