Generate RSA Key for Commits and PULL in Gitlab Without Authentication

Generate RSA Key for Commits and PULL in Gitlab Without Authentication

Tiempo de lectura: 2 minutos Reading time: 3 minutes Today, I’m going to show you how to create an RSA key to use in your GITLAB projects https://gitlab.com/ First, let’s go to the Ubuntu console (you can use WSL if you’re on Windows) ssh-keygen -t rsa -b 4096 -C “email@example.com” Replace “email@example.com” with the email of your Gitlab account. It … Read more

Connecting Two Separate Docker Compose Setups Using a Network: Nginx Proxy Manager + PHP + MariaDB + PHPMyAdmin

Connecting Two Separate Docker Compose Setups Using a Network: Nginx Proxy Manager + PHP + MariaDB + PHPMyAdmin

Tiempo de lectura: 2 minutos Reading time: 2 minutes To connect two separate Docker Compose setups using the same network, you need to create a custom network in Docker and then add all the services from both Docker Compose setups to that custom network. Here is the updated Docker Compose file for Nginx Proxy Manager with the name of the … Read more

Error when performing a push on a git project: error: insufficient permission…

Error when performing a push on a git project: error: insufficient permission…

Tiempo de lectura: < 1 minuto Reading time: < 1 minute When trying to perform a push on a project that is configured with git, I get the following error: error: insufficient permission for adding an object to repository database .git/objects error: Error building trees To solve this error, I first navigated to the .git directory. Inside this directory, we executed ... Read more

Error PowerShell WSL [end process code 4294967295 (0xffffffff)]

Error PowerShell  WSL [end process code 4294967295 (0xffffffff)]

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute To fix this error that appeared when I started the WSL console, I followed the following steps: First, in the PowerShell console, I executed the following command: wsl –update Since the error persisted, I restarted the computer and it worked. I hope this helps! DevCodeLightdevcodelight.com

Create a Neural Network to Classify Movie Reviews as Positive or Negative

Create a Neural Network to Classify Movie Reviews as Positive or Negative

Tiempo de lectura: 3 minutos Reading Time: 3 minutes Today, I’m going to show you how to create a Neural Network applied to Artificial Intelligence (AI) that can classify movie reviews as positive or negative. Step 1: Prepare the Data First, we need to obtain the data to train our neural network. In this case, we will use the IMDB … Read more

History of MariaDB: How Was This Database Management System Created?

History of MariaDB: How Was This Database Management System Created?

Tiempo de lectura: 2 minutos Reading time: 2 minutes MariaDB is an open-source relational database management system that was released in 2009. It was created as a fork of MySQL by its original creator, Michael Widenius, after MySQL was acquired by Oracle Corporation in 2008. Michael Widenius decided to create MariaDB due to his concerns about the future of MySQL … Read more

Create a Horizontal Navigation Menu Using CSS

Create a Horizontal Navigation Menu Using CSS

Tiempo de lectura: 3 minutos Reading Time: 2 minutes Hello, today I’m going to show you how to create a horizontal navigation menu using CSS: HTML: First, create the basic HTML structure of the navigation menu: <nav> <ul> <li><a href=”#”>Home</a></li> <li><a href=”#”>Services</a></li> <li><a href=”#”>About</a></li> <li><a href=”#”>Contact</a></li> </ul> </nav> CSS: Now let’s apply CSS styles to make the menu horizontal: nav … Read more

Create a Password Reminder Using PHP

Create a Password Reminder Using PHP

Tiempo de lectura: 7 minutos } // Token is valid, update the user’s password $user_id = mysqli_fetch_assoc($result)[‘id’]; if ($password != $confirm_password) { // Passwords don’t match, display error message } $hashed_password = password_hash($password, PASSWORD_DEFAULT); $sql = “UPDATE users SET password = ‘$hashed_password’, token = NULL WHERE id = $user_id”; mysqli_query($connection, $sql); echo “Your password has been successfully updated!”; This tutorial … Read more

Top Popular and Useful Docker Containers

Top Popular and Useful Docker Containers

Tiempo de lectura: 3 minutos Reading time: 3 minutes Here I bring you a list of some of the most popular and useful Docker containers that exist. Each of these containers is widely used and maintained by the Docker community. Nginx: A fast and lightweight web server and reverse proxy. https://hub.docker.com/_/nginx MySQL: One of the most popular relational database management … Read more

Create a Docker Compose with PHP + Nginx + MySQL (MariaDB) + Nginx Proxy Manager (for HTTPS SSL certificates)

Create a Docker Compose with PHP + Nginx + MySQL (MariaDB) + Nginx Proxy Manager (for HTTPS SSL certificates)

Tiempo de lectura: 3 minutos Reading time: 3 minutes In this tutorial, I will show you how to create a docker-compose.yml file to set up a complete local development environment with PHP, NGINX, MariaDB, Nginx Proxy Manager for SSL, and PhpMyAdmin. Getting Started The first thing we need to do is to create a directory on our machine and create … Read more