[Laravel] Filament, Getting started
1. Installing the panel builder Install the Filament Panel Builder by running the following commands in your Laravel project directory: This will create and register a new Laravel service provider called app/Providers/Filament/AdminPanelProvider.php 2. Creating an user You can create a new user account using the following command: 3. Creating a resource To create a resource […]
[Laravel] How to re-render math with MathJax on Livewire
When webpage contents are reloaded dynamically, it is essential to re-render math with Mathjax. I’ve been experimenting to find out the best hooks and events to re-render math seamlessly. First, dispatch the event that will be used for re-render in the rendered() hook of Livewire Component Class as below. Then, place the JavaScript below in […]
[Laravel] Initial Database Setup and Debugging
Initial Setup Database connection information is found in two files mainly. These values are created during application creation. However, it is often necessary to check and fix those values. Any sensitive values like credentials are supposed to go into /.env file. It looks like: Another file with database connection information is /config/database.php. It can have […]
[Laravel] How to build Laravel package for your look and feel with Blade Template
First, install new Laravel application to be used as testing application. We are not using DB, so It might be good enough to start new application with Herd. The folder structure after initiating the application will look like It is developed under “packages” directory. Then, it will be installed with Composer in product and the […]
Gitlab Runner: Preparing environment Error: Job failed: prepare environment: exit status 1.
When your Gitlab runner fails with even simple script, I hope this helps. I have this simple script to run in gitlab-ci.yml However, it fails as below even any other settings for config.toml looks okay. If so, you can modify shell logout file or delete it. It can be found in gitlab runner home directory. […]
[AI] Can we create Ghibli Style image Locally?

Not Yet, I would say. At least not for me yet. It might be my skill or open-source AI limitations. I installed all of UI and AI in my Windows 11 machine WLS Ubuntu 24.04. You will need Python 3.10 and Git. If your machine configuration is new, your machine probably have higher version of […]
🎥 How to Use yt-dlp to Download Videos from YouTube (and More) – AI Generated
If you’ve ever wanted to download YouTube videos in high quality — including 4K, full playlists, or audio only — then yt-dlp is the tool for you. It’s a modern fork of youtube-dl with better features, faster updates, and broader site support. ✅ What is yt-dlp? yt-dlp is a command-line program that lets you download […]
[My SQL] With Recursive CTE(Common Table Expression)???
When you have one table for all of codes in your system, it is often to have unique_code and parent code in that table. It enables to track down hierarchical structure of codes to see who is parent or child of that record. MySQL Recursive CTE make is simple and clear to query those relationships […]
[Moodle] Running Moodle from Docker Image
Bitnami provide docker image for Moodle and it can be found in https://hub.docker.com/r/bitnami/moodle. In fact Bitnami provides a variety of Docker images, but I am not that familiar with this company. It looks solid though. docker-compose.yml file can be downloaded from their repository on GitHub. https://github.com/bitnami/containers/tree/main/bitnami/moodle You can copy docker compose yaml file and starts […]
[Crowdmark] Dashboard Composer Package
PHP Composer package named Crowdmark Dashboard is created to support large number of courses and participants. Repository is available on GitHub as https://github.com/waterloobae/CrowdmarkDashboard Composer package can be installed with Other details are available from repository. Instructions for Composer Package Install this package Copy /config/API_KEY_Example.php file as API_KEY.php. Then assign your Crowdmark API key to ‘$api_key` […]