rpm -ivh https://yum.postgresql.org/9.6/redhat/rhel-7.3-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum update
| # Version key/value should be on his own line | |
| PACKAGE_VERSION=$(cat package.json \ | |
| | grep version \ | |
| | head -1 \ | |
| | awk -F: '{ print $2 }' \ | |
| | sed 's/[",]//g') | |
| echo $PACKAGE_VERSION |
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs") | |
| port = process.argv[2] || 8888; | |
| http.createServer(function(request, response) { | |
| var uri = url.parse(request.url).pathname | |
| , filename = path.join(process.cwd(), uri); |
| ;; from https://www.youtube.com/watch?v=r6j2W5DZRtA | |
| ;; get the following packages ("M-x package-list-packages"): | |
| ;; go-mode | |
| ;; go-eldoc | |
| ;; company-mode | |
| ;; company-go | |
| ;; get the following go programs (run each line in your shell): | |
| ;; go get golang.org/x/tools/cmd/godoc | |
| ;; go get golang.org/x/tools/cmd/goimports | |
| ;; go get github.com/rogpeppe/godef |