How to Encrypt Data in a MySQL Database Table

How to Encrypt Data in a MySQL Database Table

Tiempo de lectura: 2 minutos In this tutorial, you will learn how to encrypt sensitive data in a MySQL database table using the encryption functions provided by MySQL. Encryption is essential for protecting the confidentiality of data stored in a database and ensuring its security. In this example, we will use the AES_ENCRYPT and AES_DECRYPT functions to encrypt and decrypt … Read more

Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to deploy llama-2 on a server with an ARM64 environment, such as an Ampere 1 offered by Oracle Cloud. It’s worth noting that it’s also compatible with AMD64. The program in question is called LlaMA C++ and is available for multiple environments: In our case, we are … Read more

List Files and Folders in a Directory in Linux or Windows

List Files and Folders in a Directory in Linux or Windows

Tiempo de lectura: 2 minutos To list files and folders in a directory in Linux or Windows, you need to use the tree command. Of course, here’s a tutorial that explains several options and variants of the tree command on Windows systems. The tree command allows you to visualize the directory and file structure in a directory and its subdirectories … Read more

Using and Deploying GPT4ALL, an Alternative to Llama-2 and GPT4 for Low-Resource PCs with Python and Docker

Using and Deploying GPT4ALL, an Alternative to Llama-2 and GPT4 for Low-Resource PCs with Python and Docker

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to deploy GPT4All, the open-source and commercial alternative to GPT-4 that also consumes fewer resources than Llama-2. In this tutorial, we will learn how to run GPT4All in a Docker container and with a library to directly obtain prompts in code and use them outside of a … Read more

Fix “Create a GDPR consent request message no later than January” from Google Adsense

Fix “Create a GDPR consent request message no later than January” from Google Adsense

Tiempo de lectura: 3 minutos Hello, today we are going to learn how to resolve the message that appears in Google Adsense accounts: “Create an RGPD consent request message no later than January 16, 2024” The first thing we are going to do is access our Adsense account. And the alert message will appear directly; we will have to choose … Read more

Refresh Access Token in Facebook API

Refresh Access Token in Facebook API

Tiempo de lectura: 2 minutos html Copy code Reading Time: < 1 minutes Today, we’re going to learn how to refresh the Facebook API token. To refresh it, we’ll use the Facebook library. pip install facebook-sdk And this code: def get_user_token(app_id, app_secret): graph = facebook.GraphAPI() token = graph.get_app_access_token(app_id, app_secret) return token If we need to extend the current token, we … Read more