Create a Docker Compose Container with Apache + PHP + MySQL (XAMPP with Docker)

Create a Docker Compose Container with Apache + PHP + MySQL (XAMPP with Docker)

Tiempo de lectura: 4 minutos Reading time: 4 minutes Continuing with the series of tutorials on Docker Compose and based on the latest Associating a Docker file to have a customized image (Apache + PHP + Python) within Docker Compose, we are going to create an XAMPP or LAMPP service that includes Apache2, PHP, and MySQL, leveraging Docker containers and … Read more

Associate a Docker file to have a custom image (Apache + PHP + Python) inside Docker Compose

Associate a Docker file to have a custom image (Apache + PHP + Python) inside Docker Compose

Tiempo de lectura: 3 minutos Reading time: 3 minutes Continuing with the post Deploy Apache Web Server with PHP using Docker Compose, we are going to learn how to associate a Dockerfile with a container defined in Docker Compose. A Dockerfile allows us to have a customized image by including commands within a Docker image. This allows us, for example, … Read more

Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Tiempo de lectura: < 1 minuto Sometimes we want to keep a script running on our Ubuntu or Linux machine, but we don’t have a system service created. With this command, we can keep this script running in the background even if we close the console. The first thing we need to do is install nohup (if it’s not already active … Read more

Animated Divs: Crushed Button Effect with HTML and CSS

Animated Divs: Crushed Button Effect with HTML and CSS

Tiempo de lectura: 2 minutos Reading time: < 1 minute Good afternoon, everyone! In today’s post, I’m going to share a cool animation with you. It demonstrates what you can achieve with simple div elements. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <link rel=”stylesheet” href=”style.css” type=”text/css” /> <title>DevCodeLight</title> </head> <body> <div id=”m”><span>M</span></div> <div … Read more

Adding Commands to a Telegram Bot (Python)

Adding Commands to a Telegram Bot (Python)

Tiempo de lectura: 4 minutos Reading time: 3 minutes Following the previous day’s post How to Make a Telegram Bot (Python), we will complete this Python script to add command functionality to the bot. Commands are used to instruct the bot to perform specific functions. A command is written in the Telegram chat in the following format: /command Let’s make … Read more

WordPress Error Solution: ‘The uploaded file exceeds the upload_max_filesize directive in php.ini’

WordPress Error Solution: ‘The uploaded file exceeds the upload_max_filesize directive in php.ini’

Tiempo de lectura: 2 minutos Reading time: 2 minutes Good afternoon, friends. Today I have prepared a post that can help you solve a very common error that occurs when uploading heavier-than-normal plugins to your WordPress site. In this case, we are going to install the plugin wp-rocket (please note that this plugin is paid). In my case, I already … Read more

Change text input color and Enable/Disable text input with JavaScript

Tiempo de lectura: 2 minutos Reading time: 2 minutes Good morning, colleagues. Today I have prepared a tutorial on how to perform a series of actions on a form using DOM in JavaScript to access form elements. DOM (Document Object Model) allows dynamic access, modification, deletion, etc., of different elements in an HTML. I’ll provide a very simple example. <!DOCTYPE … Read more

Break Points in Bootstrap 4

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Good afternoon, today I’m going to explain how Bootstrap breakpoints work. By default, Bootstrap is composed of 12 columns, which will adjust to different screens depending on the specified breakpoint. Breakpoints Bootstrap Prefix Screen Dimensions X-Small <576px Small sm ≥576px Medium md ≥768px Large lg ≥992px Extra Large xl ≥1200px … Read more

Install SSL certificates for HTTPS using domain or subdomain with Let’s Encrypt on your own server or VPS

Install SSL certificates for HTTPS using domain or subdomain with Let’s Encrypt on your own server or VPS

Tiempo de lectura: 2 minutos Reading time: 2 minutes Many times we want to install a certificate to ensure that the connection to our website is secure. This tutorial can be used to obtain certificates for a domain and a subdomain. It can be used with Apache, Node.js, Fast-API, or Python’s Django, Spring Boot, or any other type of server … Read more