Crear un widget que pueda contener a otros widgets (ejemplo de custom card) con Flutter

Crear un widget que pueda contener a otros widgets (ejemplo de custom card) con Flutter

Tiempo de lectura: 1 minuto Today we are going to learn how to create a Widget that can contain other Widgets and be used as a background in Flutter. The first thing we are going to do is create our Widget which we will call CustomCard.dart It contains this code: import ‘package:flutter/material.dart’; class CustomCard extends StatelessWidget { final Widget? child; … Read more

Loading an XLS (Excel) File Using JavaScript in React

Loading an XLS (Excel) File Using JavaScript in React

Tiempo de lectura: < 1 minuto Today we are going to learn how we can load an Excel XLS file using React. The first thing we have to do is install the xlsx library: npm install xlsx Once installed, we create our loading function XLSLoader: import * as XLSX from ‘xlsx’; async function loadExcelData() { const response = await fetch(‘our_path_to_xls.xls’); const … Read more

Adding a Theme in React to Change Element Colors and Text Font.

Adding a Theme in React to Change Element Colors and Text Font.

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Hello, today we are going to learn how to add a theme to customize the colors displayed in the theme of our React website. For this tutorial, we will use Material UI. First, we install the necessary dependencies: npm install @mui/material @emotion/react @emotion/styled Now, let’s create our theme by creating … Read more

Software Engineering: Monolithic or Microservices Architecture. Which One to Choose?

Software Engineering: Monolithic or Microservices Architecture. Which One to Choose?

Tiempo de lectura: 2 minutos In the world of software development, choosing the right architecture is crucial for the success of a project. Two widely used approaches are monolithic architecture and microservices architecture. Each has its own characteristics, advantages, and challenges, and the choice between them depends on various factors. Monolithic Architecture: A Single Comprehensive Block Monolithic architecture is a … Read more

Send PUSH Notifications to Google Firebase Cloud Messaging API (V1) using Python

Send PUSH Notifications to Google Firebase Cloud Messaging API (V1) using Python

Tiempo de lectura: 3 minutos Today we are going to learn how we can send a message to the Firebase Cloud Messaging endpoint using Python. (https://firebase.google.com/docs/cloud-messaging/http-server-ref?hl=es-419) For this, we need the Google endpoint: POST https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send And previously we have to generate a token in our application, for this we go to Firebase, select our project, and click on Project Settings: … Read more

Restore WordPress Password Without Access to Email

Restore WordPress Password Without Access to Email

Tiempo de lectura: 2 minutos Today we are going to go through the steps to reset a user password in WordPress by generating a new hash and updating it directly in the database, using PHP and MySQL. Step 1: Access the database Use a database client like phpMyAdmin or any other method you prefer to access your website’s database. Step … Read more

Migrate WordPress from HTTP to HTTPS (SSL/TLS)

Migrate WordPress from HTTP to HTTPS (SSL/TLS)

Tiempo de lectura: 3 minutos Hello, today we are going to learn how we can migrate our WordPress site from HTTP to a secure HTTPS version under the TLS/SSL protocol. The first thing we are going to do is to install this plugin that will allow us to replace internal links from HTTP to HTTPS: Search for search & replace … Read more

How to Add an Application to Android TV on Google Play

How to Add an Application to Android TV on Google Play

Tiempo de lectura: 2 minutos To add an app to Android TV using Google Play, we’ll need to create an Android listing as explained in the previous POST (https://devcodelight.com/como-subir-una-app-a-google-play-console/) If we already have an app created, we’ll need to add the Android TV variant. To do this, we open our app and go to Release Here we select Setup > … Read more