OS X (Mavericks or Yosemite)
curl -fsSL bit.ly/iojs-dev -o iojs-dev.sh; bash iojs-dev.shUbuntu Linux (12.04 or 14.04)
curl -fsSL bit.ly/iojs-dev -o iojs-dev.sh; bash iojs-dev.sh| tldr; use docker-machine to set up TLS for you. copy the client stuff to your jenkins container and then use it there. | |
| First, provision a machine using docker-machine. It doesn't matter what driver you use, the end result is the same. | |
| For a digitalocean box: | |
| $ docker-machine create -d digitalocean \ | |
| --digitalocean-region sfo1 \ | |
| --digitalocean-size 2gb \ | |
| --digitalocean-access-token=abcdefgh1234567890345678 \ |
| #!/usr/bin/env python | |
| import pynvim, os, re, sys, time | |
| # Get a list of buffers that haven't been deleted. `nvim.buffers` includes | |
| # buffers that have had `:bdelete` called on them and aren't in the buffer | |
| # list, so we have to filter those out. | |
| def get_listed_buffers(nvim): | |
| return set(buf.number for buf in nvim.buffers \ | |
| if nvim.eval('buflisted(%d)' % buf.number)) |
| #!/usr/bin/env python | |
| """Edit a file in the host nvim instance.""" | |
| import os | |
| import sys | |
| from neovim import attach | |
| args = sys.argv[1:] | |
| if not args: | |
| print "Usage: {} <filename> ...".format(sys.argv[0]) |
OS X (Mavericks or Yosemite)
curl -fsSL bit.ly/iojs-dev -o iojs-dev.sh; bash iojs-dev.shUbuntu Linux (12.04 or 14.04)
curl -fsSL bit.ly/iojs-dev -o iojs-dev.sh; bash iojs-dev.sh| #!/bin/bash | |
| # Script for installing zsh on systems where you don't have root access. | |
| # zsh will be installed in $HOME/local/bin | |
| # It's asuumed that wget and a C/C++ compiler are installed | |
| # exit on error | |
| set -e | |
| ZSH_VERSION=5.0.2 |
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |