After previous post about Blogger posting punchcard, I got an idea while replying to an issue: why not just reading the .bash_history in web browser and use JavaScript library to render the punchcard graph?
So, here comes the post.
I only test it on Firefox and I am certain it will not work on IE9-, maybe even IE9. Don’t give a frak about it when I was using some array functions.
I think a date range selector would be nice, but I can’t find a simple plugin and I was too lazy to even just use two input boxes for manual input.
If you want to hack the code, leave me a message, I will put it up on GitHub + Pages.
1 Screenshot
2 Try it out
Load your ~/.bash_history or a file of timestamp list, or click the buttons for random timestamps.
Unix times:
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.