Add and use GitHub Copilot to help you program any language in VSCode

Add and use GitHub Copilot to help you program any language in VSCode

Tiempo de lectura: 2 minutos Reading time: 3 minutes One day ago, GitHub released its code assistant Copilot, capable of helping you program in any language. It’s important to note that this Artificial Intelligence (AI) is not capable of programming on its own, but it can assist us in avoiding web searches while programming. It is available for €10/month or … Read more

How to close a port or ports in Ubuntu (Linux) by default using ip-tables

How to close a port or ports in Ubuntu (Linux) by default using ip-tables

Tiempo de lectura: 2 minutos Reading Time: < 1 minute Following the tutorial on How to Open a Port in Ubuntu (Linux) by Default using IP Tables, we will learn how to close a port in Ubuntu using IP Tables. Ubuntu To check if the port is open, you can use the following website: https://www.yougetsignal.com/tools/open-ports/. Enter your machine’s IP and … Read more

Load Object Data into a TableView in IntelliJ using JavaFX

Load Object Data into a TableView in IntelliJ using JavaFX

Tiempo de lectura: 2 minutos Reading time: 3 minutes We begin by creating the design of the application window, where we need to add a TableView element. We give this element its own ID, in this case, I’ll call it “tablaAplicaciones”, resulting in the window looking like this: Next, in order to display the data in the table, we are … Read more

Configure your SSH connections with the .ssh folder for Windows and Ubuntu

Configure your SSH connections with the .ssh folder for Windows and Ubuntu

Tiempo de lectura: 2 minutos Reading time: 2 minutes In order to connect to remote servers, we can use the .ssh folder configuration and the config file that Ubuntu and Windows use to create SSH connections. This tool is presented as an alternative to Putty. The first thing we need to do is create our .ssh directory: In Ubuntu, it … Read more

Creating Cookies in PHP

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute A cookie is a “text file” that is stored in the browser and collects various information from a webpage, such as identifying user preferences, displaying relevant content based on searches, and most importantly, remembering user access and credentials. Let’s see how to work with cookies in PHP. CREATE COOKIE: setcookie(name, … Read more

Create an Oracle Cloud account to get 2 free servers (always free)

Create an Oracle Cloud account to get 2 free servers (always free)

Tiempo de lectura: 3 minutos Reading time: 3 minutes Oracle Cloud allows us to have 2 servers that are completely free and available forever, with minimal services, but they can be helpful for our projects or for testing purposes. It can also be interesting for deploying a Telegram bot How to Create a Telegram Bot (Python). First of all, we … Read more

Executing a Command in a Docker Compose Container Using the Ubuntu Console

Executing a Command in a Docker Compose Container Using the Ubuntu Console

Tiempo de lectura: 2 minutos Reading time: 2 minutes Continuing with the Docker tutorials, I will explain how we can execute a command inside a Docker container using the Ubuntu console. If we have this example Docker Compose taken from the tutorial Deploying Apache Web Server with PHP using Docker Compose version: “3” # Indicate the Docker Compose version we … Read more

Scripts to deploy Docker Compose

Scripts to deploy Docker Compose

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Today I bring you some scripts that can help us deploy our Docker Compose automatically. These scripts are programmed in Bash and can be used in Ubuntu (.sh) Script to deploy Docker Compose in the background #!/bin/bash # -*- ENCODING: UTF-8 -*- echo "Deploying Docker container" echo "1. Closing container ... Read more