Skip to content

Instantly share code, notes, and snippets.

@kvgr-ru
kvgr-ru / web-servers.md
Created July 29, 2019 11:41 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@kvgr-ru
kvgr-ru / Terraform-vscale.md
Created February 15, 2019 21:30
Intstall Terraform vscale Provider plugin

Terraform vscale Provider plugin

Requirements

  • Terraform 0.10.x
  • Go 1.8 (to build the provider plugin). On Ubuntu it's possibly to install package golang from Ubuntu repository, on Centos 7 - package golang from epel repository.

Building The plugin