I hereby claim:
- I am lordnynex on github.
- I am nynex (https://keybase.io/nynex) on keybase.
- I have a public key ASCOaQTRUH1CBA2H-EnkNNgeFImEm-VNBkNZvRmIvYz9cAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #user nobody; | |
| worker_processes 1; | |
| #error_log logs/error.log; | |
| #error_log logs/error.log notice; | |
| error_log logs/error.log debug; | |
| #pid logs/nginx.pid; | |
| daemon off; |
| LAYOUT=circo | |
| SOURCES = $(wildcard *.dot) | |
| TARGETS = $(SOURCES:.dot=.svg) | |
| %.svg:%.dot | |
| dot -Tsvg -K${LAYOUT} "$^" -o "$@" | |
| all: $(TARGETS) | |
| clean: |
| GO_LINT = ${GOPATH}/bin/golint | |
| GO_VET = ${GOPATH}/bin/vet | |
| # set your packages. | |
| TARGETS = foo bar hoge | |
| TARGETS_TEST = $(patsubst %,test-%, $(TARGETS)) | |
| TARGETS_LINT = $(patsubst %,lint-%, $(TARGETS)) | |
| TARGETS_VET = $(patsubst %,vet-%, $(TARGETS)) | |
| .PHONY: test lint vet $(TARGETS_TEST) $(TARGETS_LINT) |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "os" | |
| ) | |
| var path = "/Users/novalagung/Documents/temp/test.txt" |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| {{with .PDoc}} | |
| {{if $.IsMain}} | |
| > {{ base .ImportPath }} | |
| {{comment_md .Doc}} | |
| {{else}} | |
| # {{ .Name }} | |
| ` + "`" + `import "{{.ImportPath}}"` + "`" + ` | |
| * [Overview](#pkg-overview) | |
| * [Index](#pkg-index){{if $.Examples}} |
| package main | |
| import ( | |
| "github.com/codegangsta/negroni" | |
| "github.com/gorilla/mux" | |
| ) | |
| func main() { | |
| router := mux.NewRouter() | |
| apiV1 := router.PathPrefix("/api/v1").Subrouter() |
| #!/usr/bin/python | |
| # | |
| # Usage: packer-config my-template.yaml | packer build - | |
| # | |
| # Constructs a Packer JSON configuration file from the specified YAML | |
| # template file and writes it to STDOUT. | |
| # | |
| # The YAML template format adds some flexibility and readability by | |
| # adding comments and an !include directive, allowing for the | |
| # following template syntax: |