Alex's M Personal Blog https://fidonode.me en Sat, 09 Nov 2024 20:10:37 +0000 Sat, 09 Nov 2024 20:10:37 +0000 Emacs 29.3 Org-mode 9.6.15 iam@fidonode.me (Alex M) https://fidonode.me/resources/images/index/avatar.jpg Alex's M Personal Blog https://fidonode.me Blog index and tags automation https://fidonode.me/posts/blog_index_and_tags_automation.html iam@fidonode.me (Alex M) https://fidonode.me/posts/blog_index_and_tags_automation.html Fri, 05 Jul 2024 00:00:00 +0000 Let's add tags to blog posts

Tags are a nice and easy way to organize posts without explicit search. In the simplest way, you have a list of tags in posts, and each tag links to a page with all posts having the corresponding tag. It is also helpful to have a page with all tags available in the blog. And, of course, I don't want to maintain the list of tags manually. Automate tags. Simple idea - go through all files, collect titles, dates and descriptions, render into org files. Easy peazy lemon squezy....

]]>
Posts preview https://fidonode.me/posts/posts_preview.html iam@fidonode.me (Alex M) https://fidonode.me/posts/posts_preview.html Fri, 28 Jun 2024 00:00:00 +0000 Add post preview for OpenGraph cards

Imagemagick is a ffmpeg of the image world. You can do a lot of fun things with it. For example you can take a picture, cut corners on it, place it on top of another image, add some text and get final result. So it is looks like a good tool for making previews from code. Basic idea of this process I want to hook a process of rendering post. Since this function called on each run of publishing and for each post it is a good idea to cache resulting images. I gonna simply check presence of preview image and use it as guard for running image generation. After that I gonna extract #+TITLE and #+DESCRIPTION properties from Org file. Each Org file I have, has next header:...

]]>
Improve code blocks https://fidonode.me/posts/improve_code_blocks.html iam@fidonode.me (Alex M) https://fidonode.me/posts/improve_code_blocks.html Tue, 25 Jun 2024 00:00:00 +0000 Use highlight.js for code syntax highlighting

Htmlize works poorly with headless publishing. It lacks extensibility, including features like line numbers, a copy button, and the ability to highlight predefined parts of the code. Highlight.js Change code block template...

]]>
Org blog with RSS https://fidonode.me/posts/add_rss_to_blog.html iam@fidonode.me (Alex M) https://fidonode.me/posts/add_rss_to_blog.html Sun, 23 Jun 2024 00:00:00 +0000 Let's add RSS feed to blog

RSS might seem like an outdated, marginal thing. But it still has at least one benefit—you can use an RSS feed as a sitemap for search engines. Plus, it's pretty geeky. Add RSS feed So, what's happening here? Let's start by integrating our templating functions into the build....

]]>
Org to HTML and back https://fidonode.me/posts/about_blog.html iam@fidonode.me (Alex M) https://fidonode.me/posts/about_blog.html Sat, 22 Jun 2024 00:00:00 +0000 Blog post about publishing my blog with Org Mode

I'm neither proficient in Org Mode (further on "Org"), nor a good front-end engineer. I think that a simple solution is better than no solution. If you see a mistake, you can contact me via iam@fidonode.me. What is Org? #+beginquote...

]]>
My keyboard journey https://fidonode.me/posts/keeb.html iam@fidonode.me (Alex M) https://fidonode.me/posts/keeb.html Wed, 05 Jun 2024 00:00:00 +0000 Blog post about my keyboards

Sometimes I think about the long journey I've made with keebs. In childhood, I had decent membrane keyboards, most of which had an ergonomic profile like the MS. Not sure if it somehow affected my taste because I started my career with the simplest, cheapest board and typed countless lines of code on such keebs. Then I heard about clickity-clack mechanical keyboards and decided to try one. It was a simple Chinese keeb with a thick metal body, double-shot caps, and Cherry Brown switches. A decent thing to annoy everyone around you. I think this purchase marked my dive into mech keebs I'm not a geeky aficionado who thinks you can fix everything with a new keyboard, but I built a couple of them. I hope I've finally built the last one for quite some time. Dactyl manuform...

]]>