3 ms·
You know how you can "uv run" python code from a text file using just a URL? No? Well, you can: uv run https://pastebin.com/raw/RrEWSA5F https://pastebin.com/
by BiteCode_dev 1y ago
You know how you can "uv run" python code from a text file using just a URL?
No? Well, you can:
uv run https://pastebin.com/raw/RrEWSA5F https://pastebin.com/raw/RrEWSA5F
And since yesterday, you can even run a github gist:
uv run https://gist.github.com/charliermarsh/ea9eab7f56b1b3d41e51960001cae31d https://gist.github.com/charliermarsh/ea9eab7f56b1b3d41e5196...
- unglaublich 1y agoOr more generally, pipe your script into stdin. > print("hi")' | uv run - > curl https://pastebin.com/raw/RrEWSA5F https://pastebin.com/raw/RrEWSA5F | uv run -
- abraham 1y agoYou can also get text from Gists by add .txt https://gist.github.com/charliermarsh/ea9eab7f56b1b3d41e51960001cae31d.txt https://gist.github.com/charliermarsh/ea9eab7f56b1b3d41e5196...
- BiteCode_dev 1y agoThis is what the code does more or less.