CQLSÍ a wrapper to use Cassandra from PHP
Written in 2014, a time when there were no drivers for PHP. Published: 2014 Views: 7,894 views
Cassandra Universal Driver
A HTTP gateway for all the languages supporting curl/sockets. Written in 2014, a time when there were no drivers for many languages. Published: 2014 Views: 8,118 views
count_repeated_pattern_in_logs.sh
A easy way to see errors that are repeating, e.g.: NFS/iSCSI timeouts. Published: 2020-May Views: 11,982 views
backup_partition_in_files.sh
Compressing an unmounted partition to a image file while compressing on the fly, and breaking into 1GB gz files.
Also explains in a funny way about STDIN, STDOUT, STDERR and methodology investigating in deep. Published: 2020-May Views: 12,863 views
iostat_bandwidth.sh
See the aggregated bandwidth used by all the drives, and the maximum speed achieved. Published: 2020-Aug Views: 11,017 views
count_lines_of_code.sh
Count the lines in .py Python source files recursively and displays individual and total results. Published: 2021-Jan Views: 11,314 views
One line script to log the temperature of HDDs and CPUs in Ubuntu Published: 2021-Jan Views: 10,068 views
Claude AI hands on creating a Book e-Commerce and fixing errors, PHPStorm, PHP, Docker Desktop, MySQL in Windows
I’ll show the process of a creation of a web application for a e-Commerce book store.
The most important is to define a good requirements prompt. I created a file named docs/promptia.md
Set the quality to the max in youtube to be able to see the screen clearly.
It takes long time, so unless you want to see all the process in real time, use the chapters I added to skip to the parts you’re interested.
Chapters in the youtube video:
00:00 Tell Claude to create a web app based on docs/promptia.md 18:29 Claude asks permission to run Powershell commands 19:02 Application created 19:37 Check in PHPStorm the promptia.md 19:51 Add to git and Commit with PHPStorm 20:27 Create and launch containers 20:50 Create the containers 20:54 Launch containers 21:10 Show in Docker Desktop 21:23 Display in logs entrypoint.sh 22:04 composer install 22:19 Error: missing composer require symfony/yaml 22:32 Asking Claude to fix the error 23:50 Destroy project to ensure it is build without errors (for later in Production) 24:28 Create destroy-project.bat 25:42 Re-creating the containers 25:52 Re-creating without cache 29:20 Containers launched in Docker Desktop 30:10 composer update 30:28 Checking engine container error in a .yaml in Claude Code 31:13 Error non-existent service “doctrine system cache pool” 31:34 Inside the engine container curl http://127.0.0.1 Http Error 500 31:44 composer dump-env dev 31:57 Error a non-empty secret is required Http Error 500 32:14 Showing Claude the error, so it fixes it 33:12 Check from the engine container curl http://127.0.0.1 33:42 Error could not find the driver 33:51 Asking Claud to fix the error 34:05 Finding the error in the logs 34:27 I ask Claude, to continue with the log entry, after it finishes 35:16 Claude fixes the first problem and starts analyzing the second 35:35 Claude finds and fixes the second problem (introduced by Claude before) 37:12 Creating the Database with the Command 37:32 A new curl, and a new error found (introduced by Claude before) 37:58 Requesting to Claude to fix the error 38:25 Claude fixes the error 38:30 The new website loads correctly 39:00 Viewing register form (needs work) 39:05 Request a script to enter to mysql via CLI 40:02 I open the new script login_to_mysql.sh in PHPStorm 40:23 Trying the CLI Command to init the Database Schema 40:39 Giving chmod +x from Docker (for commiting to the repo) 40:45 login_to_mysql.sh fails (due an error introduced by Claude before) 40:58 finding extension=pdo_mysql in php.ini on the container duplicated 41:10 Asking Claude to remove the error 41:37 Claude realizes the error 41:45 Logged to MySQL with the script 42:05 DESC orders; 42:18 Asking Claude a refactor or prices from DECIMAL to Integers 43:53 Ask next questions while Claude is still working 46:56 Update the Command to reflect the new field changes 48:00 Copy the ALTER TABLE 48:05 Execute in the MySQL in Docker Desktop 48:12 Schema updated in docs/scheme.md 48:18 Add a field “public_name” 48:58 Update MySQL with the ALTER
I install Claude Code for the very first time, I use a voucher provided from a friend to use it 7 days for free with the USD $18 / month, although there is a Free Subscription you can use.
I donwload and install it on Windows 11 and I start to used it immediately with an incipient Symfony PHP Docker nginx Linux project.
I show you how I combine it with PHPStorm, how I use the Working Tree and the Pull Request (PR) and the problems I find when I request functionalities.
So I show here how I launched a fresh Ubuntu 24.04 in Google Cloud, on 2026-05-04, and demostrate the exploit of escalation privileges Copy Fail (CVE-2026-31431) which allows you to become root from a regular user account in almost any Linux since year 2017.
It consists in the execution of a Python 3 code, which is only 732 bytes.
I show how I fixed it by upgrading the kernel and rebooting.
This video shows real example of my workflow, in real time, on how I programmed with Google Antigravity some new features, like adding discount coupons, for my commercial web project for quickly audio conversion https://audioconverter.carlesmateo.com/
I show some problems when working with Gemini 3 Flash, and how I instructed the IA to fix them.
If you are running your instances in Google Gloud Compute Engine and you want to increase the size of the Disk without having to reboot, this video explains step by step how you can do it.
Go to Disks in GCP, select the disk of the instance you want to increase, then press Edit.
After you increase the Disk in Google Cloud Dashboard, then ssh to you instance.
There type:
lsblk
in order to list the devices.
In my case is sda and I want to grow the partition 1.
So I proceed with:
sudo growpart /dev/sda 1
Which growing from 30GB to 40GB produces the output: