Skip to content

Instantly share code, notes, and snippets.

View kenchopa's full-sized avatar
🎯
Focusing

Kengy Van Hijfte kenchopa

🎯
Focusing
View GitHub Profile
@kenchopa
kenchopa / sign-commits.md
Last active September 24, 2024 14:52
sign commits

GPG

Install gnupg

brew install gpg

Install passphrase entry dialogs

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@kenchopa
kenchopa / optimize_images.sh
Last active May 18, 2024 12:28
optimize images
#!/bin/bash
# Check if the required arguments were provided
if [ $# -lt 2 ]; then
echo "Usage: $0 resize_percentage compression_quality"
echo "Example: $0 50 75"
exit 1
fi
RESIZE_PERCENT=$1
@kenchopa
kenchopa / docker-clean-up.md
Last active October 29, 2023 06:55
docker clean up

DOCKER CLEAN UP COMMANDS

Kill all docker instances

docker kill $(docker ps -q)

Stop all containers