Topic 2 Posts

development

New .dev TLD

Today the .dev top level domain name rolled out for preorder. Prices start from $11k for the first year from $15 per year from the second year and on.

.dev TLD

Apple.dev, app(s).dev, software.dev - already taken 🙂

Prices are pre-sale, the general sale should start in a week with much more modest prices.

-- Added:
software.dev looks like is now by Atlassian
app.dev and apps.dev redirects to Virgin Media
apple.dev (via icann's lookup) mentions Apple as registrant. So no cybersquatters at this time 🙂

Enable emojis in Aegea

This blog was running on the beautiful Aegea. But in the latest version (Version 2.7, build 3254) at the time it lacked one feature we can't imagine our life today - emojis 🙂

When you try creating or updating a post with some nice 👻 they will be both shown and saved to the database as '?' (question marks).

Until there is an official fix, here's a hacky solution. I spent a whole day going through obfuscated code, so you won't have to. 🙂
In core.php apply these changes:

  1. Change
    >$w8e815='utf8';
  • to
    $w8e815='utf8mb4';
  1. And remove this line:
    $e1cb25=rff7c($e1cb25);

If the changes above won't help, try adding this in /etc/mysql/my.cnf and restarting mysql:

[client]
default-character-set = utf8mb4

[mysql]
default-character-set = utf8mb4

[mysqld]
character_set_server=utf8mb4
collation_server=utf8mb4_unicode_ci

In case you're wondering on which stack this does work - I'm on php 7.0, nginx 1.10.3, mysql 5.7.22, ubuntu 16.04.

Happy blogging! 😎