Git Product home page Git Product logo

keyart's People

Contributors

atoponce avatar erkan-yilmaz avatar vimalloc 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

Watchers

 avatar  avatar  avatar  avatar

keyart's Issues

Display 16-char key-ID in keyart instead of 8-char key-ID

I believe Option 1 to be the nicest-looking, but I added some other options

Option 1

+-----[RSA 4096]----+
|                   |
|                   |
|                   |
|                   |
|                   |
|         S     .   |
|        . .   :    |
|         ^ ^ ^ i   |
|        . . l l l .|
|         ^.:^? ^ i^|
|        . E(? . :^.|
+<FE679A90 8E997AB2>+

Option 2

+-----[RSA 4096]----+
|                   |
|                   |
|                   |
|                   |
|                   |
|         S     .   |
|        . .   :    |
|         ^ ^ ^ i   |
|        . . l l l .|
|         ^.:^? ^ i^|
|        . E(? . :^.|
+--FE679A908E997AB2-+

Option 3

+-----[RSA 4096]----+
|                   |
|                   |
|                   |
|                   |
|                   |
|         S     .   |
|        . .   :    |
|         ^ ^ ^ i   |
|        . . l l l .|
|         ^.:^? ^ i^|
|        . E(? . :^.|
+[FE679A90 8E997AB2]+

On archlinux keyart is printing out 1 real and 3 bogus keyart boxes

I am not sure what is happening here but I get the same result whether invoking python2 (2.7) or python3 (3.4)

$ python3 keyart -l 0xFE679A908E997AB2
+-----[RSA 4096]----+
|                   |
|                   |
|                   |
|                   |
|                   |
|         S     .   |
|        . .   :    |
|         ^ ^ ^ i   |
|        . . l l l .|
|         ^.:^? ^ i^|
|        . E(? . :^.|
+-[FE679A908E997AB2]+
+-------------------+
|   .:              |
|   . : .   .       |
|  . . ^ ^ ^        |
|   ^ . ^ ^ .       |
|  l ^   ^ ^        |
| . i ^   S         |
|  . i . ^          |
|     l . : .       |
|    . . ^E^.       |
|       ^ .^        |
|        ^.         |
+-------------------+
+-------------------+
|            ^il    |
|           : ^.^  .|
|          . : ( .^.|
|           ^ l l.^^|
|          . ^ :....|
|         S . . .E..|
|                ...|
|                 ..|
|                . .|
|                 ^.|
|                ..^|
+-------------------+
+-------------------+
|   .  ... ^^ ..    |
|    ^ :. .  .  .   |
| E : ^ .    . l    |
|  l .        i ^   |
| . ^    . ^ ^ ^    |
|  ^    . S i . .   |
| .      . : : .    |
|         ^ ^       |
|        .   .      |
|                   |
|                   |
+-------------------+

what if a cell is visited more than 18 times?

I have implemented the original version describped in your blog,
repo at https://github.com/beenotung/randomart.

I used below script to find out it is possible for a cell to be visited 16 times. I see you redeisgned the frequency table, but still wonder if it is possible to hit the limit?

set -e
set -o pipefail
touch /tmp/a
while true; do
  randomart /tmp/a | tee /tmp/b
  mv /tmp/b /tmp/a
done

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.