Skip to content

Instantly share code, notes, and snippets.

View BiatuAutMiahn's full-sized avatar

BiatuAutMiahn

View GitHub Profile
# Programming in Python 3.x
encoded = "IHPSLY PZ H NVVK IVF HUK OL'Z NVA H AVF" # Your encoded string
encoded_as_list = list(encoded) # Convert string to list of characters.
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
alphabet_as_list = list(alphabet)
decoded_as_list=[] # Create an empty list for our decoded characters.
decoded="" # Create an empty string for our decoded message.
@BiatuAutMiahn
BiatuAutMiahn / myusbgadget
Created September 16, 2017 01:25 — forked from geekman/myusbgadget
Pi Zero multiple USB gadgets minimal example
#!/bin/bash -e
modprobe libcomposite
cd /sys/kernel/config/usb_gadget/
mkdir g && cd g
echo 0x1d6b > idVendor # Linux Foundation
echo 0x0104 > idProduct # Multifunction Composite Gadget
echo 0x0100 > bcdDevice # v1.0.0