Ask HN: How did you write code on restricted hardware?

I remember trying to write code for a project in college from those library computers when I did not have a laptop of my own at the time.

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?

3 points | by diselody 10 hours ago

4 comments

  • itsub_sa 8 hours ago
    i used to connect my phone via USB Tethering. If a network strictly blocks certain websites or port connections, plug in you phone, turn on USB tethering, and bypass the entire local network security by using your mobile data instead. Some of my friends used to set up automated bots or private channels on platforms like Discord or Telegram (or even SMS) to send small snippets of code to a server at home, which runs the code and replies back with the terminal output.
  • al_borland 10 hours ago
    Carry a bootable USB drive with an OS of your choice. Boot up and work off that live environment, if the system will allow booting from a USB drive.

    GitHub Codespaces, or any similar platform, may also be an option.

  • paretolaw 10 hours ago
    Pen and paper design and thinking, then writing it down once I am home
    • diselody 9 hours ago
      What kind of project was it for?
  • tmpsvc2695f5 46 minutes ago
    [dead]