These are some steps that I follow when I provision a small VPS for myself.
I SSH into the VPS and add my user.
NEW_USER=midir99| require 'json' | |
| require 'net/http' | |
| require 'uri' | |
| # Calls a JSON API via GET request, if the response status code is successful the JSON response body is parsed and returned as a hash. | |
| def http_get_json(url, headers={}, open_timeout: 5, read_timeout: 10) | |
| uri = URI.parse(url) | |
| http = Net::HTTP::new(uri.host, uri.port) | |
| http.use_ssl = (uri.scheme == "https") |
| #!/usr/bin/env bash | |
| cat <<"END" | |
| You are about to set up Neovim using midir99's installation script, the following | |
| plugins are included: | |
| - bluz71/vim-nightfly-guicolors | |
| Used for the color schemes. | |
| - nvim-lua/plenary.nvim |