ericdrowell/BigOCheatSheet

PDF version

Closed this issue ยท 13 comments

Since this is a cheatsheet I'd say it would be nice to also have it in a PDF form for offline/print use.

What do you think?

You can create a print css and then use Chromes print-to-PDF feature (or any other OS provided print-to-file system) to produce a PDF. This avoids manual PDF compilation after every update.

@crepererum well, that is kind of what I had in mind.

I just don't see a way of doing that , given that there is only the Tables.html file present in this directory.

OK, the main problem here is that the repository does not provide the complete HTML source code. I think it should be a main goal of an open source project to provide a mostly complete code package. See also issue #8.

I have created a project that includes this: bigoref.com. Maybe you can use it.

@ericdrowell Any update on this? I really like @crepererum 's idea. You could also have a "print" button on your page.

During the time, @ro31337 made a version without credits and with a strange Open Source philosophy.

Related to #91 and #32

@mrshu @crepererum @josem @aloisdg completely agree, and had been planning on adding a print button or PDF button for awhile, but have been pretty busy. It's clear that a lot of folks want this, so I'll try and set this up today. It would have been nice if @ro31337 had tried to set something up in this repo, rather than trying to rip it off. Oh well. Wouldn't be the first time :P

josem commented

Hi @ericdrowell! Thanks so much for the update!

I'm sorry if you feel that I ripped it off, I didn't get any benefit from creating a new repo, I didn't add ads or anything and the only reason I did it was because this issue was open over 3 years ago and I thought that this project was not maintained anymore and I could add some improvements with a new approach. Again, I'm sorry if that was not the case.

If this project keeps evolving and bigoref.com doesn't make sense anymore I'll remove it and try to contribute to this one instead. You can also see that I mentioned you and this project more than once in the readme file: https://github.com/josem/bigoref giving you all the credit for the project.

Thanks so much for all the work on this!

josem commented

Ah awesome, sorry! I thought you were talking about bigoref.com since you said it wouldn't be the first time, anyway, sorry if this hasn't felt great to you. Thanks so much for creating this! ๐Ÿ‘ ๐Ÿ’ฏ

@josem no problem at all, I'm glad that people have gotten some use out of it. Oh and my comment "Wouldn't be the first time" was in reference to other projects. I've actually had entire websites scraped and put into other domains before.

@mrshu @crepererum @josem @aloisdg all done. Here's what I did:

  • Added a new "Download PDF" button at the top.
  • when you click this button, it opens up a new page with just the legend, tables, and a new chart I made today
  • it uses pdfcrowd to convert the page into a PDF sized for 8.5'' wide printing paper and then automatically downloads it

P.S. I was talking to a friend of mine who is a super talented visualization designer, and we will more than likely also create a really cool poster version of the information

lol shoot never mind, pdfcrowd costs money. I'll have to do something else. We at least have a printer friendly page setup though.

Success. Just click on "Download PDF" and you get a pdf download right away.