Coder Social home page Coder Social logo

cody's Introduction

Cody: Command Line Transcoder

This is a small utility for converting between common data encoding format.

Usage: cody input-format output-format.

Input data is read from standard input. Transcoded output is written to standard output.

Examples

printf fe | cody hexadecimal decimal
254
printf 254 |cody decimal hexadecimal
fe
printf "Hello, Cody!" | cody binary base64  
SGVsbG8sIENvZHkh
printf SGVsbG8sIENvZHkh | cody base64 binary
Hello, Cody!
printf 07ff | cody hexadecimal base64
B/8=

Supported Conversions

  • binary to hexadecimal
  • binary to base64
  • binary to decimal
  • hexadecimal to binary
  • hexadecimal to base64
  • hexadecimal to decimal
  • base64 to binary
  • base64 to hexadecimal
  • decimal to binary
  • decimal to hexadecimal
  • decimal to base64

Command line format abbreviations

If you're into that whole brevity thing:

  • hex
  • dec
  • bin
  • 64

cody's People

Contributors

focusaurus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rasendubi w3dg

cody's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.