Notes to self

Browsing...

InvoicePrinter 1.0

After some time with 1.0.0.rc1 I am releasing a final 1.0.0 of InvoicePrinter. So what it is it, what does it mean and what’s next?

Sending JSON API like 401 Unauthorized error with Devise

If you are using Ruby on Rails together with Devise gem you might be wondering how to handle unauthorized error responces in your JSON API.

Pre/post deploy hooks with Dokku 0.5.0

Deploying with Dokku and in need to run some basic setup tasks such as copying config/database.yml.example to config/database.yml in Rails? It’s possible with Dokku 0.5.0 and app.json file.

Following Rails redirects with Capybara

This a very short note on setting up Capybara to correctly follow redirects with Rails classic redirect_to @object pattern.

Trusted SSL certificates with Let’s Encrypt and NGINX

letsencrypt.org is the new awesomeness that happened to SSL on the web. Forget over-priced trusted certificates or self-signed certs for your side & pro bono projects. Try trusted SSL in seconds for free instead :). If you choose to use Let’s Encrypt I want to show you what needs to be done on a pretty average Fedora VPS with NGINX server and how to avoid certbot errors like urn:acme:error:unauthorized and urn:acme:error:unknownHost.

by Josef Strzibny
RSS