Skip to content

Instantly share code, notes, and snippets.

View esafak's full-sized avatar

Emre Şafak esafak

  • Archipelago AI
  • Silicon Valley
  • 02:18 (UTC -07:00)
View GitHub Profile
@esafak
esafak / macport_hash.sh
Created June 1, 2024 03:52
Generate hashes for macports from URL
#!/usr/bin/env bash
# Check if a URL is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <url>"
exit 1
fi
# Get the URL from the command-line argument
url="$1"