I often used sites like Codepen and copy-pasted the progress into a github repo so I didnt lose my work.
What are some workarounds you’ve used (or tried) for writing or running code from restricted hardware, like a school computer or a mobile device? What kind of project was it for, and what hurdles did you encounter?
I used git to sync it with a usb thumb drive so I could keep a copy in sync at home.
Edit: sadly it seems I've lost the source to that program 8(
In the long ago, we used PKzip to archive our source code on 1.44 mb floppy disks.
Before that, we didn't have hard drives, so we made copies of our 5 1/4” floppies with tape over the write protect slot. We also had multiple "good" copies of our boot disks, write protected, just in case.
GitHub Codespaces, or any similar platform, may also be an option.