I found an old piece of software I wrote in 2010: lsqlite. It's now maintained on github...
This is how it works:
[crayon-58459695df32e803163676/] Read More
It's done... I solved PE147!
Note 0: I made up a graphic solution for the calculation of the "odd" rectangles.
Note 1: The solution needs ~20 minutes to compute.
In order to use Ctrl-Up|Down to navigate the bash history put this into ~/.inputrc
[crayon-58459695df9d8559931293/] Read More
You can start mysql without -u, -o and database name if you create a file ~/.my.cnf with the following content: