Adding one note to @aymericbeaumet's answer ... It seems possible to also omit the file
part in url if there's only one file in the gist. For example:
curl -s https://gist.githubusercontent.com/karpathy/d4dee566867f8291f086/raw
prints
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
...
as of 2025-02-28.