Install Llama 2, the Meta Open Source and Commercializable AI that competes with Chat GPT for use with Python and Docker (with GPU access)

Install Llama 2, the Meta Open Source and Commercializable AI that competes with Chat GPT for use with Python and Docker (with GPU access)

Tiempo de lectura: 3 minutos Hello, today we will see how we can install and download llama 2, the Meta AI that competes with chatgpt 3.5. For 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 the llama 2 page and request a version … Read more

Retrieve language of a WordPress post using the WordPress API

Tiempo de lectura: < 1 minuto html Copy code posts} AS wp_posts JOIN {$wpdb->term_relationships} AS wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) JOIN {$wpdb->terms} AS wp_terms ON (wp_term_relationships.term_taxonomy_id = wp_terms.term_id) JOIN {$wpdb->term_taxonomy} AS wp_term_taxonomy ON (wp_terms.term_id = wp_term_taxonomy.term_id) WHERE wp_posts.ID = %d AND wp_term_taxonomy.taxonomy = ‘language’ “, $post->ID)); // Add the language to the response object $response->data[‘language’] = $language; return $response; } add_filter(‘rest_prepare_post’, … Read more

Hovering the mouse over an element changes its background color – Hover

Tiempo de lectura: < 1 minuto Reading time: < 1 minute I’m going to show you a simple example with the “hover” event on an element. It’s a rectangular container that acts as an interactive element. When the “hover” event (mouse pointer passes over) occurs, its background color changes. Additionally, its size or scale is modified. The HTML code is as … Read more

How to Create an Accessible Accordion with Bootstrap

How to Create an Accessible Accordion with Bootstrap

Tiempo de lectura: 2 minutos Reading time: 3 minutes Good morning! I’m sharing a new tutorial with you to kick off the weekend. In today’s tutorial, I’ll show you how to create an accessible accordion using Bootstrap. We’ll add a series of attributes that make it accessible to everyone. I hope you like it. Let’s get started: Step 1: Basic … Read more

Custom To-Do List with Checkbox for Marking and Unmarking Completed Tasks Using Bootstrap and Local Storage in this Tutorial (Part 2)

Custom To-Do List with Checkbox for Marking and Unmarking Completed Tasks Using Bootstrap and Local Storage in this Tutorial (Part 2)

Tiempo de lectura: 2 minutos Reading time: 2 minutes Good morning! Continuing from the previous tutorial on how to create a TO-DO LIST, in today’s tutorial, I provide you with an update on functionality in which we have implemented the following: In this example, we have added a new event listener to the completed tasks list’s <ul> element (completedList). When … Read more

Learn How to Create a Custom To-Do List with Bootstrap and Local Storage in This Tutorial

Learn How to Create a Custom To-Do List with Bootstrap and Local Storage in This Tutorial

Tiempo de lectura: 2 minutos Reading time: 2 minutes Good morning and happy Monday!!! Let’s go for another tutorial, this time it’s a simple to-do list application. Here’s the code for one way to do it: <!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 href=”https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css” rel=”stylesheet” integrity=”sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM” crossorigin=”anonymous”> <script src=”to-do-list.js”></script> <title>To-do list for … Read more

How to View Virtual Machine Screen in Full Resolution (Full Screen)

How to View Virtual Machine Screen in Full Resolution (Full Screen)

Tiempo de lectura: < 1 minuto Reading time: < 1 minutes Reading time: < 1 minutes How to View Virtual Machine Screen in Full Resolution (Full Screen) Photo by Mikhail Nilov on Pexels To view the virtual machines we import into VirtualBox in full screen, it is very simple, you just need to follow these steps: 1. Start or boot up ... Read more

Importing Projects in Eclipse with Different Versions

Importing Projects in Eclipse with Different Versions

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Reading Time: < 1 minute Importing Projects in Eclipse with Different Versions Photo by luis gomes on Pexels When we want to import projects with packages, classes, etc. from one computer to another with different versions of Eclipse, it can give us an error due to missing libraries or incompatibility ... Read more

Use your own Android device to run apps in development with Android Studio.

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Use your own Android device to run apps in development with Android Studio. Photo by Noah Erickson on Pexels Did you know that you can use your own mobile device to debug and run apps developed in Android directly with Android Studio? This is very useful if you want to ... Read more