Fixing SSH Key Permission Issue: Permissions 0644 for ‘*.key’ are too open

Fixing SSH Key Permission Issue: Permissions 0644 for ‘*.key’ are too open

Tiempo de lectura: < 1 minuto html Copy code Reading Time: < 1 minute Today, we are going to learn how to fix the error: Permissions 0644 for ‘*.key’ are too open. It is required that your private key files are NOT accessible by others.This private key will be ignored.Load key “*.key”: bad permissionsPermission denied (publickey). This problem is due to … Read more

Installing Flutter Environment on Mac

Installing Flutter Environment on Mac

Tiempo de lectura: < 1 minuto Here’s the content translated into English and formatted in HTML: html Copy code Reading Time: < 1 minute Hello, today we are going to install Flutter on Mac. The first thing we need to do is navigate to the folder where we want to install it, for example, Documents. Next, we clone the project using … Read more

Fixing POST Content-Length Exceeds Bytes Issue in PHP when Uploading a MySQL Backup with Docker PHPMyAdmin

Fixing POST Content-Length Exceeds Bytes Issue in PHP when Uploading a MySQL Backup with Docker PHPMyAdmin

Tiempo de lectura: < 1 minuto Here’s the content translated into English and formatted in HTML: html Copy code Reading Time: < 1 minute Hello, today we are going to solve the problem “Warning: POST Content–Length of X bytes exceeds the limit of X bytes in Unknown on line 0″ that prevents us from uploading .sql copies to our PHPMyAdmin. In … Read more

Backup MySQL or MariaDB with Ofelia (cron) and Docker.

Backup MySQL or MariaDB with Ofelia (cron) and Docker.

Tiempo de lectura: 2 minutos Sure! Here’s the translated content in HTML format without any additional text: html Copy code Reading time: 2 minutes Hello, today we are going to learn how we can create a backup of MySQL or MariaDB using Ofelia to schedule cron tasks with Docker or Docker Compose. The first thing we are going to do … Read more

Automate a Task with Ofelia Cron in Docker and FastAPI

Automate a Task with Ofelia Cron in Docker and FastAPI

Tiempo de lectura: < 1 minuto Reading Time: 1 minute Hello, today we are going to learn how to automate a task using Ofelia, FastAPI, and SQLAlchemy. The first thing we are going to do is create the file that we want to execute with Ofelia’s Cron: cron_execute.py # Create or get db_session from crud.operations_crud import operacion_crud_generar_estadisticas from config.connection import get_db … Read more

Open PDF Blob Base64 (Sent from Server) on Web or Mobile Using Flutter

Open PDF Blob Base64 (Sent from Server) on Web or Mobile Using Flutter

Tiempo de lectura: 2 minutos Reading time: 2 minutes Hello, today we are going to learn how we can open a PDF file sent from a REST API in our Flutter app. The first thing we are going to do is to install the PDF library for mobile in the pubspec.yaml file: flutter_pdfview: ^1.0.0 To install the library, use: flutter … Read more

Retrieve the Platform on Which Our Flutter APP Runs: Web, iOS, Windows, Linux

Retrieve the Platform on Which Our Flutter APP Runs: Web, iOS, Windows, Linux

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Hello, today we are going to check the platform on which we run our Flutter app. To detect if it is Android/iOS/Linux/Windows: We import: import 'dart:io' show Platform; And we can use this if statement to verify the platform: if (Platform.isIOS) { } else if (Platform.isAndroid) { }else if (Platform.isFuchsia) ... Read more

Get and Return PDF File Using FAST-API

Get and Return PDF File Using FAST-API

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Hello, today we are going to see how we can retrieve a saved PDF file and return it using Fast API with Python. We go to our routes file and add the necessary dependencies (in addition to those of Fast API): import os from fastapi.responses import FileResponse Now we are ... Read more

Upload PDF File Using FAST-API

Upload PDF File Using FAST-API

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Hello, today we are going to see how we can upload a PDF file using FAST-API. The first thing we need to do is install python multipart: install python-multipart Once installed, we need to go to our routes file and import this: import shutil Now we create this Route: @app.post("/_pdf", ... Read more

Install Llama 2, Meta’s Open Source and Commercializable AI that Competes with Chat GPT for Use with Python and Docker (with GPU Access)

Install Llama 2, Meta’s Open Source and Commercializable AI that Competes with Chat GPT for Use with Python and Docker (with GPU Access)

Tiempo de lectura: 3 minutos Reading time: 3 minutes Hello, today we are going to see how we can install and download llama 2, the AI from Meta that competes with chatgpt 3.5. To do this, I have created a Docker Compose that will help us set up the environment. The first thing we need to do is go to … Read more