recently i lost internet connection at home for about a week. forced me to remember some ways to work offline
scp file [email protected]:./path/
git remote add git push
docker save -o streampusher.tar streampusher/streampusher:latest
scp streampusher.tar [email protected]:./src/streampusher-api
docker load -i streampusher.tar
(note this doesn't work if the machines have different CPU architectures)
! rails The requested image's platform (linux/arm64/v8) does not match the detected host platform (linu x/amd64/v4) and no specific platform was requested 0.0s
You can build a docker image for another architecture with this flag --platform linux/amd64
pnpm caches every package locally for fast installs, also making it work great offline.
Other than that when I really need to download something I can tether my phone's rather poor connection or drive to the library parking lot.