Error compiling a Flutter application with API connection

Error compiling a Flutter application with API connection

Tiempo de lectura: < 1 minuto html Copy code Reading time: < 1 minute When trying to run an application that makes an API call from Flutter, the following error occurs: Error: Cannot run with sound null safety, because the following dependenciesdon’t support null safety: package:http package:http_parser To fix this error, I followed these steps: First, in the Android Studio menu … Read more

Fixing error Message: mkdir(): Invalid path Session_files_driver in Codeigniter using Docker

Fixing error Message: mkdir(): Invalid path Session_files_driver in Codeigniter using Docker

Tiempo de lectura: < 1 minuto Reading time: < 1 minute In this post, we are going to solve an error related to sessions: Severity: Warning Message: mkdir(): Invalid path Filename: drivers/Session_files_driver.php Line Number: 136 Backtrace: File: /var/www/html/application/controllers/Home.php Line: 5 Function: __construct File: /var/www/html/index.php Line: 315 Function: require_once First, open application/config. Edit config.php and go to the line of the $config['sess_save_path'] ... Read more

Unir dos contenedores definidos dentro de dos docker-compose.yml distintos usando external_links en Docker Compose

Unir dos contenedores definidos dentro de dos docker-compose.yml distintos usando external_links en Docker Compose

Tiempo de lectura: 2 minutos Reading time: < 1 minute Today I’m going to show you how you can connect two containers defined in separate docker-compose.yml files. We have the following: File docker-compose-db.yml: version: "3.1" services: miservicio_mariadb: image: mariadb container_name: mariadb_container env_file: - ./Dockerfile/mysql.env environment: MYSQL_DATABASE: "db" MYSQL_USER: "user" MYSQL_PASSWORD: "pass" MYSQL_ROOT_PASSWORD: "pass_root" volumes: - ./config/mariadb:/var/lib/mysql expose: - 3306 ports: ... Read more

Bash Script Example of a Console Menu

Bash Script Example of a Console Menu

Tiempo de lectura: < 1 minuto EnlighterJSRAW”>#!/bin/bash Function to print “Hello” function hello() { echo “Hello” } Function to print “Goodbye” function goodbye() { echo “Goodbye” } Menu echo “Select an option:” echo “1. Print Hello” echo “2. Print Goodbye” echo “3. Print Hello and Goodbye” read option case $option in 1) hello ;; 2) goodbye ;; 3) hello goodbye ;; … Read more

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