/cdevtools

Console dev tools - Sublime Text

cdevtools - Sublime Text texteditor


cdevtools script

scp dev username@yoursite.dev:~/bin/dev chmod +x ~/bin/dev

#####Or create alias

run cmd alias mycdev='/bin/dev' and add to /.bashrc

SSH Tunnel

Auto connect config

vi ~/.ssh/config

Host yoursite.dev
  Hostname 101.0.1.99
  RemoteForward 52698 127.0.0.1:52698

Manual connect

ssh -R 52698:localhost:52698 username@yoursite.dev

####RSub plugin and st script

  • install Sublime Text2/3 rsub package
  • add st script to remote server
  • scp st username@yoursite.dev:~/bin/st
  • chmod +x ~/bin/st

#####Or create alias

run cmd alias myvim='/bin/st'and add to /.bashrc