Universal Movies downloader
New script to handle any of two streaming services on the fly and download segments via queue.
Cookiebot issue with aggregated js files
Cookiebot auto-blocking mode is not compatible with Drupals JS aggregation as soon as an aggregated file contains the word "cookie", even if it is for removing a cookie, the whole aggregated script is blocked and leads to JS errors like "jQuery is undefined".
We certainly can add addtional attributes to the library files and custom js files, but not for aggregated (in a simple way).
I found really dirty solution how to achieve this result.
uaserials.pro downloader
Hey, a lot of time passed from my previous article https://16rom.com/en/blog/updated-movies-downloader-online-service. Website changed flow a bit and script stops working. So I've fixed it a bit and decided to make it public available.
Commerce Promotion missed functionality
Black Friday/Week is ongoing, promotions were prepared and already available on production website. But one thing we missed to test is the Compatibility with other promotions options.
booknet.ua FB2 downloader
So I've found another cool website where users can read books online. Based on my previous article I still want to download books to my reader. So script was improved a bit.
readukrainianbooks.com FB2 downloader
Script to download books from website in FB2 format.
PS4 Horizon Forbidden West game saves
Info about transfering patches from ps4 account to hen system. Versions difference in Horizon Forbidden West saves files.
Docker + traefik: communication between containers is broken
After installing fresh "Ubuntu 22.04.3 LTS" I found one of my docker environment broken.
By previous setup containers should see each other by it's host names which is configured in traefik.
Error was cURL error 7: Failed to connect to test.my-docker.localhost port 443 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://test.my-docker.localhost/
Default image formatter for multisite
As you know, when creating image field there is an option to create a default image fallback. Image will be saved in public folder. The issue is that we cant export default image within configs, but that's ok for singlesite instances where you need to manually copy the image to production website from your dev env. Also you need to update the image manually again, if you changed it in configs.
Views minimum items to display
As you know views has good pager configuration, where you can set how many items skip (offset), how many display etc.
But it has no info of minimum items to display!
For example we dont want to show the block if there are less than 5 items in results. Maybe it will break styles or somthing else.
In this case a simple condition in hook_views_post_execute will be useful :