Friday, June 08, 2018

Working On An iPad Pro For Developers

This is preparation of my new iPad Pro. I'm going to use it for some development work and I collected following information

Thanks to:

Shane Dowling

The iPad Pro as a focused, simple coding machine

***

Working On An iPad Pro For Developers

***

Hey Apple, I Tried The iPad Pro As A Dev Machine. It’s *Almost* Awesome

***

The iPad Pro as main computer for programming



Conclusion:

Local dev: No; Remote Dev: Yes

Tools:

1, VPS - I'll build my own Linux box
options:
DigitalOcean, static IP, better APP to manage;
AWS,  Amazon Cloud9 IDE is perfect to work together;
Linode;
Vulture

2, SSH
Termius - I'm using it, I'm happy with it.
options:
Prompt
Prompt 2
ServerAuditor
vSSH HD
Blink Shell -- worth it

3, Editor
vim - I'm a vim person
options:
GoCoEdit -- sublime text like
Working Copy -- with git client
Coda  -- good for front end dev
Spacemacs -- for Emacs person


4, DB client
mycli


5, Server Environment 
Vagrant - for personal development, I prefer Vagrant
Docker

6, Tips

6.1, For vim,  'Ctrl + ['  equals to 'Esc'
6.2, Screens for vnc
6.3, it is of course definitely possible to connect an external monitor to an IPP with the USB-C connector (or beamer). Either through VGA or HDMI.  Via Lightning to USB Camera Adapter

6.4,
So one thing that might be useful is when you exit your little server to have it automatically shut down so you don’t need to keep remembering to kill the server via the app. If you want to do this without needing to enter a password each time, firstly run this command to start editing the sudoers file.
sudo visudo
Then add this line to allow passwordless access to poweroff commands.
username   ALL=(ALL) NOPASSWD: /sbin/poweroff, /sbin/reboot, /sbin/shutdown
Then create an alias for your user so that when you hit exit, it actually shuts down the machine. Put this in your .bashrc or .zshrc or whatever rc your shell uses.
alias exit=’sudo poweroff’

No comments: