Cloud-based Ollama Models that can be used with TIER free

Tiempo de lectura: < 1 minutoHoy vamos a indicar cuales son los modelos Ollama Cloud que no dan el error de: {«error»:»this model requires a subscription, upgrade for access: https://ollama.com/upgrade (ref: 374c814e-dc9c-4fc1-a898-0bbc57cb0d0a)»} To determine this and by running tests with this script we can know which models are available to use with cloud and free tier cat

How to Block Bots using User-Agents in Python and FastAPI

How to Block Bots using User-Agents in Python and FastAPI

Tiempo de lectura: < 1 minutoWe will learn today how to implement a bot blocker using user-agents. 1. Install the library pip install user-agents 2. Creating the decorator file # dependencies/bot_detection.py import functools from fastapi import Request, HTTPException from user_agents import parse def block_bots(func): @functools.wraps(func) async def wrapper(request: Request, *args, **kwargs): ua_string = request.headers.get(“user-agent”, “”) ua = parse(ua_string) if ua.is_bot: … Read more

Installing OpenClaw using Docker Compose

Installing OpenClaw using Docker Compose

Tiempo de lectura: < 1 minutoHoy vamos a aprender a instalar OpenClaw en un sistema Docker mediante Docker Compose y dejarlo de forma aislada. Primero instalamos Docker. Once installed, we need to update Docker Compose: # Add official Docker repository curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo “deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” | sudo … Read more

Creating an RSA Key for Jenkins and GitLab

Creating an RSA Key for Jenkins and GitLab

Tiempo de lectura: 2 minutosYou explain how to add an RSA key in Jenkins to authenticate with GitLab: In the Jenkins server (or your local machine), execute: bash ssh-keygen -t rsa -b 4096 -C “[email protected]” Save the keys, for example in ~/.ssh/id_rsa_jenkins. In a Pipeline (Jenkinsfile): groovy pipeline { agent any stages { stage(‘Checkout’) { steps { git credentialsId: … Read more

Getting a free Google Gemini AI API key

Getting a free Google Gemini AI API key

Tiempo de lectura: < 1 minutoWe will learn today how we can get a free Google Gemini API for AI, but with limitations. 1. Go to this URL: aistudio.google.com 2. Log in with your Google account 3. Click on “Get API Key” → Create API key Now it will ask to create a new project, let’s do that. We can … Read more

Blocking Bots with Cloudflare (Custom WAF Rule)

Blocking Bots with Cloudflare (Custom WAF Rule)

Tiempo de lectura: < 1 minutoYou often receive aggressive bot analysis on your websites. Today we are going to learn how to add rules in CloudFlare so that not many of them enter. This expression blocks: Basically: kills 90% of basic bot scraping / vuln scanners Paso 1: Enter Cloudflare Go to https://dash.cloudflare.com Select your domain Paso 2: Go to … Read more

Disabling Email Obfuscation in Cloudflare for a URL [example@domain].com

Disabling Email Obfuscation in Cloudflare for a URL [example@domain].com

Tiempo de lectura: < 1 minutoIf you’ve collided with the CloudFlare rule that reviews the emails returned by HTML and replaces them with [email-protected], you can disable it like this. In your Cloudflare dashboard: Scrape Shield → Email Address Obfuscation → Off This disables it for the entire domain. You can also disable it for a specific endpoint: Create a … Read more