Skip to content

Instantly share code, notes, and snippets.

View LuisPalacios's full-sized avatar
馃彔
Working from home

Luis Palacios Derqui LuisPalacios

馃彔
Working from home
View GitHub Profile
@LuisPalacios
LuisPalacios / load_extensions_vscode.ps1
Last active February 5, 2026 06:55
Script para cargar las extensiones de VSCode desde PowerShell
# Reinstalar extensiones de VSCode desde Gist
# Autor: Luis Palacios
# Gist: https://gist.github.com/LuisPalacios/9bccecf260cf4cc73d74fe9d500f7e94
$GistUrl = "https://gist.githubusercontent.com/LuisPalacios/9bccecf260cf4cc73d74fe9d500f7e94/raw/"
Write-Host "Descargando lista de extensiones desde gist..." -ForegroundColor Cyan
try {
# Descargar el contenido del gist
@LuisPalacios
LuisPalacios / load_extensions_vscode.sh
Last active February 5, 2026 09:56
Script para importar extensiones de VSCode
#!/bin/bash
# Reinstalar extensiones de VSCode desde Gist
# Autor: Luis Palacios
# Gist: https://gist.github.com/LuisPalacios/9bccecf260cf4cc73d74fe9d500f7e94
#
# Uso: ./load_extensions_vscode_from_gist.sh [opciones] [binario]
# Ejemplos:
# ./load_extensions_vscode_from_gist.sh # Usa 'code' por defecto
# ./load_extensions_vscode_from_gist.sh cursor
# ./load_extensions_vscode_from_gist.sh --sync # Sincroniza (ofrece borrar extras)
@LuisPalacios
LuisPalacios / extensions.txt
Last active February 5, 2026 10:51
Extensiones de VSCode
alefragnani.project-manager
anthropic.claude-code
bierner.markdown-mermaid
davidanson.vscode-markdownlint
drblury.protobuf-vsc
eamodio.gitlens
firefox-devtools.vscode-firefox-debug
formulahendry.code-runner
foxundermoon.shell-format
github.vscode-github-actions
@LuisPalacios
LuisPalacios / Appslist.txt
Created August 3, 2025 17:27
Appslist.txt usado con Win11Debloat
# -------------------------------------------------------------------------------------------------------------- #
# The apps below this line WILL be uninstalled by default. Add a # character in front of any app you want to #
# KEEP installed by default. #
# -------------------------------------------------------------------------------------------------------------- #
Clipchamp.Clipchamp # Video editor from Microsoft
Microsoft.3DBuilder # Basic 3D modeling software
Microsoft.549981C3F5F10 # Cortana app (Voice assistant)
Microsoft.BingFinance # Finance news and tracking via Bing (Discontinued)
Microsoft.BingFoodAndDrink # Recipes and food news via Bing (Discontinued)
Microsoft.BingHealthAndFitness # Health and fitness tracking/news via Bing (Discontinued)
@LuisPalacios
LuisPalacios / nut-shutdown-master.sh
Created July 25, 2025 15:43
Script de apagado ordenado por UPS usando NUT (Network UPS Tools)
#!/bin/bash
set -euo pipefail
# =============================================================================
# Script de apagado ordenado por UPS usando NUT (Network UPS Tools)
# =============================================================================
# Este script se ejecuta autom谩ticamente desde el contenedor LXC `nut`, que act煤a
# como servidor maestro (upsmon master). El contenedor est谩 directamente
# conectado a la UPS por USB y monitoriza su estado en tiempo real.
#
@LuisPalacios
LuisPalacios / whitelist_pihole6.txt
Last active April 1, 2025 15:03
White list compatible con PiHole 6
# Pi-hole 6 Whitelist
#
## Dominios exactos
## ----------------------
# Fuente: https://raw.githubusercontent.com/FadeMind/hosts.whitelists/refs/heads/master/whitelist.FadeMind.txt
adsmoloco.com
analytics.google.com
api.leanplum.com
@LuisPalacios
LuisPalacios / pihole.toml
Created March 9, 2025 17:34
Configuraci贸n de Pi-Hole 6
[dns]
upstreams = [
"208.67.222.222",
"208.67.220.220"
] ### CHANGED, default = []
CNAMEdeepInspect = true
blockESNI = true
EDNS0ECS = true
ignoreLocalhost = false
showDNSSEC = true
@LuisPalacios
LuisPalacios / .gitattributes
Last active September 28, 2024 07:12
Archivo gitattributes - definici贸n de atributos por la extensi贸n
#
# Archivo gitattributes - definici贸n de atributos por la extensi贸n
#
# Ejemplo para desarrollo multiplataforma: Windows, Linux, MacOS
#
# Otras colecciones de archivos .gitattributes para los lenguajes de programaci贸n m谩s populares: https://github.com/gitattributes/gitattributes
#
# El objetivo es poder trabajar en entornos mixtos de Windows, Linux y MacOS
# y permitir que Git gestione los finales de l铆nea en los archivos, logrando un comportamiento
# consistente para todos los desarrolladores. Este archivo es una buena pr谩ctica para normalizar
@LuisPalacios
LuisPalacios / Barrier.conf
Created September 13, 2024 06:12
Fichero de configuraci贸n de Barrier para mi servidor "kymera" con Windows 11
#
# Config LuisPa
#
# +---------+ +----------+ +----------+
# |Laptop | | Mac | | PC (Win) |
# |slimbook | | macmini | | kymera |
# |cliente | | cliente | | SERVIDOR |
# +---------+ +----------+ +----------+
#
#
@LuisPalacios
LuisPalacios / prompt_filters.lua
Created September 4, 2024 08:08
Ejemplo de filtro LUA para Clink
local green = "\x1b[92m"
local yellow = "\x1b[93m"
local cyan = "\x1b[36m"
local normal = "\x1b[m"
-- A prompt filter that discards any prompt so far and sets the
-- prompt to the current working directory. An ANSI escape code
-- colors it yellow.
local cwd_prompt = clink.promptfilter(30)
function cwd_prompt:filter(prompt)