Skip Thunderbird calendar item summary

Since TB91 behaviour for opening an item in your Thunderbird Lightning calendar has changed from ‘edit item’ to ‘view summary’. Yes, you can click ‘edit’ or hit enter, but it just adds another step to an operation that should be default, or at least be a preference you can set.

So Google to the rescue… read this, this, this (text below) and this… and solve the problem just like we solved the transparent items issue.

Continue reading Skip Thunderbird calendar item summary

Saving Energy

We all have to save some. It starts with the realisation what you are actually using energy for… continue to read some facts/indications in Dutch:

1 standaard kubieke meter gas (m3(n)) heeft een bovenwaarde van 35,17 MJ
1 kWh electriciteit heeft een energie inhoud van 3,6 MJ.

Berekening
1 m3(n) gas komt overeen met 35,17 MJ/3,6 MJ = 9,769 kWh electriciteit

Met 1 kWh kunt u ongeveer…
20 maaltijden in de magnetron opwarmen,
4 avonden tv kijken,
30 uur uw koelkast laten koelen en vriezen,
15 cd’s luisteren.

Met 1 kubieke meter gas kunt u ongeveer…
1 uur uw huis warm stoken in de winter,
3 keer douchen – of 5 keer met een spaardouche,
1 keer in bad,
6 hele maaltijden koken,
50 keer handenwassen.

So how to save some energy?
Wear something warm and read a book by candlelight!

center

Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn’t that it’s difficult to do, but in that there so many different ways of doing it, depending on the situation, it’s hard to know which to reach for.

So let’s make it a decision tree and hopefully make it easier. Continue reading center

419 HTTP status code

… does not exist
https://nl.wikipedia.org/wiki/Lijst_van_HTTP-statuscodes

However it did take some of my time to figure this one out as the response code was really in my webserver logfiles and as usual… I was not the first to run into this problem, see: https://stackoverflow.com/questions/46266553/why-laravel-api-return-419-status-code-on-post-and-put-method

You get a 419 status code, if an (external) script tries to post to your Laravel application, without the o-so-needed CSRF token.

First option is to change in App\Http\Middleware\VerifyCsrfToken:
protected $except = [ ‘/*’, ];
(or maybe something more specific and a little more safe, like ‘/myapiurl/*’,)

Second option is to put the route in api.php instead of web.php, but that implies prefixing all your routes with /api/

… your choice!