![]() Once we’re done with that, we need to tell our Ubuntu install to update all it’s packages so that it knows about the new repository. Our second line adds the software repository needed to install Mosh. The first one installs some of the tools we’ll need to get Mosh installed. If you’re not familiar with those lines then here is a quick recap. Sudo apt-get install python-software-properties ![]() To install Mosh on our Linux server we’re going to need to run the following commands. It also resists getting put to “sleep” better than SSH does because it’s not simply a connection, Mosh builds sessions over UDP. It will stay connected to your server even if the IP changes or you move from WiFi to a cellular connection. Mosh is very similar to SSH but has been engineered to deal with mobile connections. We can stop this frustration by getting Mosh and tmux setup on our server. Where my iPad connects flawlessly sitting six feet from my wireless router at home, it drops enough packets at Starbucks or on a cellular connection that a traditional SSH tunnel to our server will disconnect a few times during a work session. One of the great things about an iPad is that it’s extremely portable, but that often means it’s on less reliable connections than a laptop is. You can also use any of the Linux based VPS configurations Liquid Web offers. ![]() Configuring your Serverįor this tutorial, I’m using a 4GB VPS running Ubuntu 16.04.6 LTS, but you could use a higher or lower version depending on the needs of the sites you’ll be developing. The rest of the software we’re going to need to make developing on your iPad work well is found on the VPS we’re going to use. With a simple copy and paste operation, you can view the JSON output of your work so that you can make any tweaks that are needed to get it right. It even provides a quite nice Tap to Inspect mode that lets you select HTML elements and see them in the provided developer tools.įinally, browse json files directly on your iPad with Jayson. It has a full set of web inspection tools, and a console so you can view an output that your site is sending to the console. Inspectįor a web browser, the best option I’ve found is Inspect. While I do much of my sFTP work directly via Blink currently, you’re going to need a solid FTP client, such as Secure ShellFish. We’ll get into configuring Mosh and what it is later in this article. It will remember and auto-fill your connections to your various server environments, and it supports MOSH. Blink Shellįirst up, you’re going to need to install Blink Shell on your iPad because much of what we’re going to use will be Linux/Unix based tools like Vim and Blink is by far the best shell on iOS for this.īlink will support custom SSH keys for your devices. All you need is an iPad of any recent variety and you’ll be ready to get coding. Let’s start with the software, because the hardware doesn’t matter so much. What Software is Needed to Use the iPad for Web Development? If you tmux -CC attach, it opens up your previous window exactly as it was before.Subscribe to the Liquid Web weekly newsletter to get more freelancer content like this sent straight to your inbox. You can also split panes, resize windows and panes and many other things. Opening a new tab in fact opens a new tmux window. If this was a new session you’d have a new window pop up that is a tmux session. iTerm will start a new tmux session and your terminal will now look like this: ** tmux mode started ** One of the annoying things about terminal multiplexers is that scrolling to previous history isn’t as simple as a quick trackpad flick.īehold, the magic: # Start a new tmux session Splitting the screen to see 2 things at once.Sharing a terminal with another remote user.iTerm crashing, although rare, it happened to me once.Putting your laptop to sleep in the middle of a long running command.Restoring terminal sessions that have died due to:.For most of us, we know that terminal multiplexers like tmux and screen solve a lot of problems like: A lesser known trick of iTerm 2 is that it has some pretty swish tmux integration.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |