Skip to content

Instantly share code, notes, and snippets.

View deivih84's full-sized avatar
😮
Plotting against minorities

David deivih84

😮
Plotting against minorities
  • UVa Computer engineering
  • Spain
  • 23:43 (UTC +01:00)
View GitHub Profile
import os
from PIL import Image
def cargar_imagenes(directorio):
imagenes = {}
for archivo in os.listdir(directorio):
if archivo.endswith(".png") or archivo.endswith(".jpg"):
# Obtener la posición de la imagen desde el nombre del archivo
nombre, _ = os.path.splitext(archivo)
x, y = map(int, nombre.split(','))
@deivih84
deivih84 / bash-colors.md
Created March 14, 2024 20:41 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple