Have you always wanted to write a book? You should check out Leanpub, they help people like you and I publish their own books as digital downloads, but (and here's the kicker) you can continue selling your book on other stores and get it printed, without owing them anything!
Do you want to be awesome like me and be a pro at Integrating Front end components with Web Applications, you should definitely check out the ever-awesome Maks Surguy's book.
If you plan on writing a book with Leanpub or you're already using them and you're using Sublime Text to do so, you may be interested in the snippets package I've just released.
Download it now from Sublime Package Control.