Skip to content

Instantly share code, notes, and snippets.

View dcdeve's full-sized avatar

Daniel Castillo dcdeve

  • Argentina, Buenos Aires.
View GitHub Profile
@dcdeve
dcdeve / gist:3dfba6566029f87b01aa3e38d6e1e26b
Last active March 13, 2018 18:06 — forked from ebuckley/gist:1842461
python code to encode/decode morse code
import sys
import string
morseAlphabet = {
"A": ".-",
"B": "-...",
"C": "-.-.",
"D": "-..",
"E": ".",
"F": "..-.",
@dcdeve
dcdeve / setup_docker_wrapper.sh
Last active March 28, 2025 22:11
A script to set up a Docker wrapper that ensures Colima is activated automatically when running Docker commands.
#!/bin/bash
# Comprobar si colima está instalado
if ! command -v colima &> /dev/null; then
echo "Colima no está instalado. Por favor, instálalo y vuelve a intentar."
exit 1
fi
# Determinar el archivo de configuración basado en el shell
if [[ "$SHELL" == *zsh ]]; then