#Tuinslak

20 posts tagged Tuinslak

From WordPress to Hugo

· misc

Can’t believe it’s been so many years… But the time has come to say farewell to WordPress.

It’s been on my mind for years, but never really put in the effort to export so many years worth of posts, media, etc to a better solution… It felt like a Herculean job and everytime I thought about it for more than 3 minutes, I dreaded the idea.

But since the future’s (finally) here, thanks to AI, I was able to export it all without fiddling with broken or paid addons and get everything in Hugo within a few hours worth of work. The site lives (for now) on Cloudflare, with the media in R2. The deploy via Gitlab-ci is (or should, let’s find out after this post 🥲) be fully automated and media should sync up in R2.

Theme

· hardware, linux, networking, software, virtualisation, www

I had the same theme for over four years. I’ve made quite a few custom css and PHP edits myself, and it had been outdated for ages… But it served me well.

theme-2011

However, it’s now time for something new.

theme-2015

As always, as minimalistic as possible.

On a side note, this blog has been moved from vm1 (and one before that) a virtual machine running on a dual Xeon 3070 (2.66Ghz) at Databarn to Akama, a VM on an 8 core Xeon E3-1230 (3.2Ghz) at Leaseweb.

Time has come

· misc, www

I’ve now moved blog.tuinslak.org to yeri.be as domain name.

Time has come to let my once so fierce and mighty nickname aside, and, in this not-so-anonymous world, use my first name.

Old links & bookmarks will remain operational and will redirect to the new domain.

And I’m dropping “blog” all together. And, as always, SSL is running.

static.0x04.com will still host all uploaded content.

My link shortener will be at i.yeri.be. The old links will 404 but I doubt many still had the old links bookmarked. I’m not sure why I took “i”, but it sounded nice.

https is win for spam

· www

Well, here are some stats for a longer period of time since moving to HTTPS.

So moving to HTTPS lowered the average from ~1000ish to ~200 spam comments per month (I implemented HTTPS near the end of 2011-02).

And yay, for Akismet's graphs being back. For some reason they'd been broken for ages on this blog.

Bij deze

· misc

Tja, weet het al van in December ofzo, maar tja.

I guess dat ik het bewijs ben dat punten (“met voldoende wijze” (geen onderscheiding, dju toch) + halve PDTer) helemaal niets willen zeggen voor de toekomst. Ofzo.

En neen, geachte headhunters (die via KdG mijn e-mail adres gekocht hebben), ik zoek GEEN werk. Zeker niet voor voor functies onder mijn niveau. Doe wat research voor jullie mass mailen aub.

How to get rid of spambots on WP?

· www

Simple, start using SSL.

Not entirely sure why this keeps spambots away, but a drop from ~100 spam comments/day (1/2) to at most 4 seems pretty cool.

Edit: seems like they just do a POST request to an old URL (http://blog.tuinslak.org/some-post), which results in this reply:

HTTP/1.1 301 Moved Permanently
Server: nginx/0.9.4
Date: Tue, 22 Feb 2011 07:10:24 GMT
Content-Type: text/html
Content-Length: 184
Connection: close
Location: https://blog.tuinslak.org/

I’m guessing once they rescan the new URLs they’ll be spamming again. Just a matter of time for them to update their “bookmarks”. ;)

blog over ssl

· misc, networking, www

Starting a SSL test on this domain as of today. Free cert by StartSSL.

SSL is clearly the new hype, and this time I won’t be last to join it! ;)

Just going to check how much (if any) SSL slows down my site.

Every http requests gets automatically rewritten to https.