Skip to content

Instantly share code, notes, and snippets.

@vakenbolt
vakenbolt / decode.py
Created January 31, 2018 02:05
decode - command line string decoder
#! /usr/bin/python
# -*- coding: utf-8 -*-
import sys
from os import isatty
if isatty(sys.stdin.fileno()):
sys.stdout.write("""decode - command line string decoder [version 1.0]
Usage: [stdin...] | decode
To decode a string that has been copied to the clipboard.