I hereby claim:
- I am shihanng on github.
- I am shihanng (https://keybase.io/shihanng) on keybase.
- I have a public key ASCxoZQPsLAc5oZF20Qagmsb6zPTM1HBBckyazPsvGWGMwo
To claim this, I am signing this object:
| {{define "function"}} | |
| {{- $f := .}} | |
| func {{.TestName}}(t *testing.T) { | |
| {{- with .Receiver}} | |
| {{- if .IsStruct}} | |
| {{- if .Fields}} | |
| type fields struct { | |
| {{- range .Fields}} | |
| {{Field .}} {{.Type}} |
| set autoupdategist | |
| set typelinkhints | |
| let searchlimit = 30 | |
| let scrollstep = 70 | |
| let barposition = "bottom" |
I hereby claim:
To claim this, I am signing this object:
| diff --git svc/servicea/cmd/servicea_svc/servicea_svc.go svc/servicea/cmd/servicea_svc/servicea_svc.go | |
| index 57f2486..8d2e583 100644 | |
| --- svc/servicea/cmd/servicea_svc/servicea_svc.go | |
| +++ svc/servicea/cmd/servicea_svc/servicea_svc.go | |
| @@ -1,31 +1,20 @@ | |
| -package main | |
| +package servicea_svc | |
| import ( | |
| "context" |
| package main | |
| import ( | |
| "google.golang.org/appengine" | |
| _ "github.com/shihanng/gaegoasample/svc/servicea/cmd/servicea_svc" | |
| ) | |
| func main() { | |
| appengine.Main() |
| runtime: go | |
| api_version: go1.9 | |
| service: default | |
| handlers: | |
| - url: /.* | |
| script: _go_app |
| diff --git svc/servicea/api.go svc/servicea/api.go | |
| index 99370e4..a974b63 100644 | |
| --- svc/servicea/api.go | |
| +++ svc/servicea/api.go | |
| @@ -5,6 +5,7 @@ import ( | |
| "log" | |
| api "github.com/shihanng/gaegoasample/svc/servicea/gen/api" | |
| + "google.golang.org/appengine" | |
| ) |
| package design | |
| import . "goa.design/goa/http/design" | |
| import . "goa.design/goa/http/dsl" | |
| import _ "goa.design/goa/codegen/generator" | |
| var _ = API("servicea", func() { | |
| Title("The service a") | |
| }) |
Append something like below into /etc/fstab
# /etc/fstab: static file system information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
...
//192.168.0.10/path/to/source /path/to/target cifs user,uid=1000,_netdev,noauto,x-systemd.automount,credentials=/path/to/cred 0 0
uid can be obtained via| #!/bin/bash | |
| # | |
| # NOTE: specify the absolutepath to the directory to use when | |
| # loading a plugin. '~' expansion is supported. | |
| # | |
| chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins | |
| # |