Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
[Trace - 07:20:19.659 AM] Sending request 'textDocument/codeAction - (6)'.
Params: {"textDocument":{"uri":"file:///d%3A/code/golang/src/github.com/darjun/go-daily-lib/cobra/math/cmd/multiply.go"},"range":{"start":{"line":21,"character":1},"end":{"line":21,"character":1}},"context":{"diagnostics":[]}}
[Trace - 07:20:19.729 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/01/16 07:20:19 46.835ms for GOROOT=C:\\Go GOPATH=D:\\code\\golang GO111MODULE= PWD=d:\\code\\golang go \"env\" \"GOMOD\", stderr: \u003c\u003c\u003e\u003e stdout: \u003c\u003c\n\u003e\u003e\n"}
[Trace - 07:20:19.729 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/01/16 07:20:19 46.835ms for GOROOT=C:\\Go GOPATH=D:\\code\\golang GO111MODULE= PWD=d:\\code\\golang go \"list\" \"-m\" \"-json\" \"all\", stderr: \u003c\u003cgo list -m: not using modules\n\u003e\u003e stdout: \u003c\u003c\u003e\u003e\n"}
@darjun
darjun / nginx.conf.example
Created March 14, 2019 07:58
nginx conf example
worker_processes 16;
# user nobody nogroup;
# 'user nobody nobody;' for systems with 'nobody' as a group instead
pid /tmp/nginx.pid;
error_log /tmp/nginx.error.log;
events {
worker_connections 1024; # increase if you have lots of clients
accept_mutex off; # set to 'on' if nginx worker_processes > 1
@darjun
darjun / install_nginx.sh
Created March 14, 2019 07:56
download, build, install nginx 1.10.2
#!/bin/sh
# get nginx tar.gz file
if [ ! -f "nginx-1.10.2.tar.gz" ]; then
wget http://nginx.org/download/nginx-1.10.2.tar.gz
else
echo "nginx-1.10.2.tar.gz file exists, do not download"
fi
# uncompress the tar.gz file