Skip to content
Wednesday, June 18, 2025

carlocappai.me

Programming is an emotional rollercoaster on the dunning-kruger curve

  • Who I am and why this blog
Trending News
I Created a Video Game in Two Days Using AI 🎮✨ Understanding Sets, Maps, and Arrays in JavaScript: A Deep Dive with Real-Life Examples Database transaction isolation levels  Unexpected RPC error, error: Transport(Code(413)) [SOLVED] [SOLVED] Error: Socket closed unexpectedly – Redis Node.js Managing and forgiving mistakes, an example Check Shopify webhook signature with NestJs Criteria to order keys in MongoDB compound indexes Data Mapper vs Active Record How to write a functional test with Symfony and Guzzle’s mock handler
[K8s] kubernetes port forwarding
k8s

[K8s] kubernetes port forwarding

06/11/202004/05/20211 min read

This forwards a local 8081 port to a pod’s port 27017

Read More

[Jest] How to run a single test file on jest
testing

[Jest] How to run a single test file on jest

06/11/202004/05/20211 min read

Easy: No need to write all complete path, you just have to write just the filename

Read More

[k8s] How to manually start a cronjob
k8s

[k8s] How to manually start a cronjob

02/10/202004/05/20211 min read

To start manually a cronjob run:

Read More

[GIT] Create scripts to delete branches older than N weeks
git

[GIT] Create scripts to delete branches older than N weeks

29/04/202004/05/20211 min read

I needed a script to clean all my old branches to keep tidy my local repo. Here’s how I did it First of all create

Read More

Best new features in PHP 7.4
php

Best new features in PHP 7.4

11/01/202004/05/20213 min read

On 28th of november PHP 7.4 has been released. Here’s my favourite features! Spread Operator for Arrays No more array_merge(). With the spread operator you

Read More

[PHP] Print fibonacci sequence using recursion
php

[PHP] Print fibonacci sequence using recursion

03/10/201905/05/20211 min read

Fibonacci sequence is a infinite series of numbers where each item is the sum of the two preceding ones, starting from 0 and 1.I have written

Read More

[APACHE] Redirect http to https
apache

[APACHE] Redirect http to https

31/07/201904/05/20211 min read

To redirect al http traffic to https you have to put this code inside the virtualhost script

Read More

[SOLVED] cwpsrv: [emerg] SL_CTX_use_PrivateKey_file(“/etc/pki/tls/privat
centos

[SOLVED] cwpsrv: [emerg] SL_CTX_use_PrivateKey_file(“/etc/pki/tls/privat

30/07/201905/05/20211 min read

After installing a new certificate with certbot I couldnt login to CWP anymore. When I tried to restart it i got this error I solved

Read More

[Docker] How to stop all running container
docker

[Docker] How to stop all running container

30/07/201904/05/20211 min read

To stop all running container just use this command docker stop $(docker ps -aq)

Read More

« Prev 1 2

Recent Posts

  • I Created a Video Game in Two Days Using AI 🎮✨
  • Understanding Sets, Maps, and Arrays in JavaScript: A Deep Dive with Real-Life Examples
  • Database transaction isolation levels 
  • Unexpected RPC error, error: Transport(Code(413)) [SOLVED]
  • [SOLVED] Error: Socket closed unexpectedly – Redis Node.js

Categories

  • AI
  • apache
  • centos
  • database
  • docker
  • git
  • k8s
  • NestJS
  • Node.js
  • personal growth
  • php
  • Redis
  • symfony
  • test
  • testing
  • web3
All Rights Reserved 2021.
Proudly powered by WordPress | Theme: Refined Blog by Candid Themes.