Skip to content

Comment on Commits.io – Create a poster from your codeparent

Comments

10 minutes

Basically what it does is grab some files from the repository, removes newlines and prints it.

    cat $(find -type f | shuf -n 1) | tr -d '\n' | print
That didn't take me 10 minutes to come up with, let alone run.

They should really be caching the poster after each render. I've been staring at a loading screen for a while now.

Since this is for git repositories you'd probably want to sub that `find -type f' for `git ls-files'.

My time estimate included opening illustrator, layout out the code and printing it :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.