ibis — A PHP tool that helps you write eBooks in markdown and convert to PDF

Mohamed Said recently wrote the book “Laravel Queues in Action”. To create the book he wrote it Markdown and then used his self-created tool ibis to generated the PDF and ePub versions.

Installation per Composer:

composer global require themsaid/ibis

After which you start a new project with ibis init

Check out the preview of “Laravel Queues in Action” to get an idea of what is being generated.

themsaid/ibis
Laravel Queues in Action Preview (Light) →
Laravel Queues in Action Preview (Dark) →

GitBook: Build beautiful interactive books using Git and Markdown

gitbook

Write your books and courses using Markdown, GitBook will convert it to a complete static website.

Installable using npm. A companion app (pictured below) to create your books – in case you want a live preview along your edits – is also available.

gitbook

Building the book to a PDF/eBook is also possible … strongly considering to rewrite my course materials, already freely available online.

GitBook: Build beautiful interactive books using GitHub/Git and Markdown →
Example Book: Learn Markdown →

Jay-Z’s 99 Problems vs. The Fourth Amendment

Line-by-line analysis of the second verse of 99 Problems by Jay-Z, from the perspective of a criminal procedure professor.

The calculation Jay-Z has to make is whether, knowing that the car contains concealed contraband, he’s better off trying to flee or hoping that the police won’t find the drugs during the stop. This may be the hardest choice perps face (until they have to decide whether or not to cooperate), but there’s only one answer: you are always better off having drugs found on you in a potentially illegal search than you are fleeing from a potentially illegal search and getting caught.

And turns out there a quite a few ways to get the search declared illegal.

JAY-Z’S 99 PROBLEMS, VERSE 2: A CLOSE READING WITH FOURTH AMENDMENT GUIDANCE FOR COPS AND PERPS (PDF) →

(via Jeremy)

Javascript Codec/File Format Implementations

Over the past few months, quite a few Javascript implementations to creating/displaying certain files without the need for native plugins have been created.

Although some are still premature, the basic idea is there. Above that they clearly demonstrate the importance of the rendering/scripting speed improvements browser vendors have been/are implementing into their browsers.