Skip to content

Instantly share code, notes, and snippets.

View pabpereza's full-sized avatar

Pablo Pérez-Aradros pabpereza

View GitHub Profile
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama-remoto": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama Remoto",
"options": {
"baseURL": "http://192.168.2.100:11434/v1"
},
"models": {
@pabpereza
pabpereza / lua_plugins_astroui.lua
Last active August 2, 2025 22:31
Transparent background on astrovim
-- AstroUI provides the basis for configuring the AstroNvim User Interface
-- Configuration documentation can be found with `:h astroui`
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
-- as this provides autocomplete and documentation while editing
---@type LazySpec
return {
"AstroNvim/astroui",
---@type AstroUIOpts
opts = {
@pabpereza
pabpereza / install_kubernetes.md
Last active January 5, 2024 01:37
Install kubernetes (1.28) on Ubuntu Server 20.04 LTS

Install kubernetes (1.28) on Ubuntu Server 20.04 LTS

Tags: kubernetes, Ubuntu Server, containerd, Calico, virtualization Date: September 12, 2023

Minimum requirements for practice.

⚠️ It is highly recommended to assign fixed IPs to the machines.

Socialphish installation

Socialphish is a tool to simulate a phishing attack to try to catch the user credentials

Requirements

By default, distributions like kalilinux have all the necessary dependencies. If you are using another OS you would need the following system packages:

curl wget git php

You can install it with the following command: