Open a file for editing :e path/to/file.txt
Return to Normal mode ESC or <CTRL>+C
Navigating around text
| #!/bin/sh | |
| # Source: https://github.com/jvrplmlmn/osx-config/blob/master/files/zshrc.d/50-terraform-versions.sh | |
| function use_terraform { | |
| TF_BASE=/opt/terraform | |
| if [ -z "$1" ] | |
| then | |
| echo "Usage: use_terraform X.Y.Z" | |
| echo |
Download from: http://www.sqlite.org/download.html Getting Started: http://www.sqlite.org/sqlite.html Documentation:
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
nomad inspect enterprise nomad logs nomad logs -f -job enterprise enterprise nomad status enterprise
| job "redis" { | |
| region = "global" | |
| datacenters = ["test"] | |
| type = "service" | |
| constraint { | |
| attribute = "${node.class}" | |
| value = "default" | |
| } |