Notes to self

Browsing...

Making PDF invoices from JavaScript and Node.js

This is an example of how to use the new InvoicePrinter Server that I announced recently to start invoicing from your Node.js projects.

Fixing ‘failed to find type parsed [keyword] for [name]’ error for Elasticsearch and Searchkick

Just a quick remainder about what slowed me down today.

PDF invoicing for any project with InvoicePrinter Server

Next release of InvoicePrinter will include a server with JSON API. That means you will be able to create simple and beautiful PDF invoices in seconds from any tech stack.

Implementing a basic debug mode for your Ruby CLI

We should all strive to handle all possible errors in our programs and display nice error messages to the users, but one can hardly be sure that nothing will ever go wrong. That’s why I believe we should try to embed a debug mode that users can take advantage of when submitting the issue or solving the problem. Luckily this is very simple thing to do.

Conditional unique indexes in Rails and PostgreSQL

This is a simple example of adding a conditional and partial unique index to Rails applications backed by PostgreSQL.

RSS