Create a 3D planet viewer with React

Create a 3D planet viewer with React

Tiempo de lectura: 2 minutos Here’s a step-by-step tutorial to create the React component “QuantumUniverseExplorer,” allowing you to explore a 3D universe interactively. This tutorial uses WebGL and Three.js for visualization. Let’s dive into the quantum cosmos! Step 1: Project Setup :rocket: Create a new React project with Create React App: npx create-react-app universe-explorer cd universe-explorer Step 2: Library Installation … Read more

GET call in Android Studio with Java

GET call in Android Studio with Java

Tiempo de lectura: 2 minutos Photo by Bri Schneiter from Pexels To create a list of elements obtained from a GET call and display them, you need to follow the steps outlined in the example below. First, create an XML file to define the view with the list. To display a list, we will use the “ListView” element. Photo by … Read more

List in Android Studio using Java

List in Android Studio using Java

Tiempo de lectura: 2 minutos To create a list of items and display them on Android, follow these steps as shown in the example. First, create an XML file to define the view with the list. To display a list, we will use the “ListView” element. <?xml version=”1.0″ encoding=”utf-8″?> <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”match_parent” android:layout_height=”match_parent”> <ListView android:id=”@+id/listView” android:layout_width=”match_parent” android:layout_height=”match_parent”/> </RelativeLayout> Next, create … Read more

Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Tiempo de lectura: 2 minutos To set up notifications through Discord when ClamAV detects a virus, you can follow these general steps. Keep in mind that these steps are a guide and may require adjustments based on your specific environment and preferences. 1. Create a Discord Webhook: Open your Discord server and select the channel where you want to receive … Read more

Implement local.storage in React to allow storing variables in memory

Implement local.storage in React to allow storing variables in memory

Tiempo de lectura: 4 minutos In order to store variables locally, we need to implement local storage, and just like in web development, we can use it in React. Let’s get started: Step 1: Import Necessary Modules Make sure you have the necessary modules installed. You can install react and react-dom if you haven’t already: npm install react react-dom Step … Read more

GDPR Consent Message for Admob

GDPR Consent Message for Admob

Tiempo de lectura: 2 minutos Pixabay Photo Let’s see how to create the GDPR consent message for Admob. By clicking the first option, the following informative window will appear with the next steps to perform. Next, we need to configure the GDPR-compliant consent message. In the application section within the message configuration, we must select the applications where we want … Read more

Install Java OpenJDK on Windows

Install Java OpenJDK on Windows

Tiempo de lectura: 2 minutos Oracle’s Java version has become a paid service, which compels us to use OpenJDK, the open-source version that allows for a commercial form of Java. In this tutorial, I will show you how to install Java OpenJDK on Windows 10/11. To do this, we go to the website and download it. In my case, we … Read more

Resolve ERROR: JAVA_HOME is not set and no ‘java’ command could be found in your PATH. On Windows.

Resolve ERROR: JAVA_HOME is not set and no ‘java’ command could be found in your PATH. On Windows.

Tiempo de lectura: 2 minutos html Copy code Reading Time: 2 minutes Hello, today we are going to see how we can solve the error: “ERROR: JAVA_HOME is not set and no ‘java’ command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match thelocation of your Java installation.” What is happening is that … 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