GithubHelp home page GithubHelp logo

ordnungswidrig / sha-words Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 1.0 17 KB

Generate a set of words from a sha in a predictable way

License: Eclipse Public License 1.0

Clojure 97.28% Makefile 2.72%
sha shell git sha512

sha-words's Introduction

sha-words

A clojure program to turn a sha hash into list of nouns in a predictable jar.

Usage

Java versoin

$ java -jar sha-words.jar b67d6eafeae1d5a424a609864fad10665453afa5

Babashka version

$ ./sha-words.bb

Note about shas:

Actually any hex number should work fine. It happens to be optimized for 64bits.

Example

$ git rev-parse HEAD
5379784cf5f6ebf5cc62cf8b9972870bb4e42c05

$ git rev-parse HEAD | xargs ./sha-words.bb
observation-obedient-bedroom-sweet-electric

Building

Requirements

You'll need clojure and babashka, however you can build either version only if you prefer.

make

This requires babashka to build the babaska version.

You can restrict the build to the uberjar: make uberjar

License

Copyright © 2018-2020 Philipp Meier

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

sha-words's People

Contributors

ordnungswidrig avatar paulkoegel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

paulkoegel

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.