3 ms·
I coded every day I went to work on New Jersey transit into New York City with the following setup: - Ipad Mini in a case on the coat hook on back of the seat
by alexpotato 8y ago
I coded every day I went to work on New Jersey transit into New York City with the following setup:
- Ipad Mini in a case on the coat hook on back of the seat
- Amazon Essentials Bluetooth keyboard
- RasepberryPi3 with two wifi cards
- IPad connected to one wifi card from above and other wifi card hooked into my phone's hotspot
It was great because I could have the IPad at eye level and my keyboard in my lap.
- alexpotato 8y agoI should add, reason I connected into the RaspberryPi was that cell service sucks on the line into Secaucus because a. you're in the middle of swamp land and b. everybody and their mother is trying to get on from the train. Having the Pi (running raspbian) was great because it was like having my own little full fledged mobile Linux server.
- murph-almighty 8y agoI have an awful commute to NY and I am _very_ interested in this, how did you power the RaspPi?
- alexpotato 8y agoA regular "lipstick" size portable battery was usually enough for a ride in and ride out (2 hours total) and then I eventually switched to a bigger "cigarette pack" size battery that lasted a couple days. I can put together a blog post with all of the details if people are intersted.
- murph-almighty 8y agoPlease do! I'd love to make a weekend project out of this.
- animesh1008 8y agoGreat! I am new to this and this might be a stupid question as well. But I wanted to know that how did you get the wifi working in the subway station as the cellphone signals are not that great for phone's hotspot to work. Please let me know.
- alexpotato 8y agoTo be clear: I was doing this on the NJ Transit above ground commuter rail. The setup was like this: -Pi WiFi card #1 acting as hotspot -IPad connected to network above -ssh into Pi from the IPad -Do coding and local git commits in the shell on the Pi -Running IPhone with local host spot on -Pi's 2nd Wifi card connects to the IPhone hotspot -Pi also has packet forwarding/routing turned on so the IPad can connect through the Pi (acting as a router) I would do the coding logged into the Pi from the IPad via ssh and do local git commits. The cell service was generally good enough for git to connect to GitHub so I could do pushes etc In turn, the Pi's 2nd wifi card