Categories
Technology

Is iOS sharing your location with apps even if not allowed?

THIS IS A STUDY IN DISINFORMATION. Each paragraph in this article contains facts, but the overall story is A LIE. Find the simple truth at the end of this article. Would you be fooled otherwise? Today, I encountered a curious thing. I was driving down the highway nearby Warsaw Chopin Airport when I received a […]

Categories
Technology Backend

How to install & secure WordPress on a small VPS with Debian, Nginx, MariaDB, 2FA and more

This blog is running on a tiny Linux VPS with 1GB RAM, 1 CPU Core and a 25GB SSD with Debian 10 installed. Thanks to a proper WordPress setup this VPS will handle itself just fine even with substantial traffic. This article describes my setup. Moreover, it costs me only $5 per month. That’s like […]

Categories
Technology Backend

How to redirect POST requests in Apache & Nginx

When you move content, change domains or create aliases on the web, you often use a redirect, like a URL rewrite in your webserver config, to tell browsers that the link should point to something else — but what if you want to move an API that handles POST requests? URL rewrites are useful, because […]

Categories
Technology Backend

How to use utf8 in Perl and don’t go crazy

UTF-8 is the best way to deal with text, and I hope everyone can agree with that. Anyway, while Perl handles any character beautifully within variables, things get messy when you want to save and load these characters into a file, for example. God forbid it’s JSON, then you’re in for a wild ride. But […]

Categories
Frontend Technology

Don’t use IDs in CSS

This article originally appeared on my first blog, f055.net In CSS, you can assign styles to elements in 3 ways: either by a direct reference to an HTML tag, or by a class attribute, or finally, by the id attribute. Each of these approaches has it’s pros and cons, but in this article, I’ll highlight why you should avoid […]