This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0.0.0:2015 | |
git { | |
repo [email protected]:gophercon/gc15 | |
key /home/bketelsen/.ssh/id_rsa | |
path ../ | |
then /usr/local/bin/hugo --theme=gophercon --destination=/home/bketelsen/gc15/public | |
} | |
root gc15/public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
hostname: app01 | |
coreos: | |
etcd: | |
addr: 10.0.130.10:4001 | |
peer-addr: 10.0.130.10:7001 | |
units: | |
- name: etcd.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion" : "v1", | |
"items" : [ { | |
"apiVersion" : "v1", | |
"kind" : "Service", | |
"metadata" : { | |
"annotations" : { }, | |
"labels" : { | |
"component" : "console", | |
"provider" : "fabric8" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
ansible_ssh_user: bketelsen | |
ansible_ssh_pubkey: "{{ lookup('file','~/.ssh/id_rsa.pub') }}" | |
# This value determines how kubernetes binaries, config files, and service | |
# files are loaded onto the target machines. The following are the only | |
# valid options: | |
# | |
# localBuild - requires make release to have been run to build local binaries | |
# packageManager - will install packages from your distribution using yum/dnf/apt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[neobundle/install] Update started: (2015/12/08 23:24:53) | |
(1/1) [====================] vim-go | |
[neobundle/install] (1/1): |vim-go| Updated | |
[neobundle/install] |vim-go| -> 9aa3ef961d01106748b55aaf4b9ff2c6ab638272 | |
Error detected while processing function <SNR>52_CSApprox..<SNR>52_CSApproxImpl..<SNR>52_FixupGuiInfo: | |
line 1: | |
E716: Key not present in Dictionary: 0 | |
E15: Invalid expression: a:highlights[s:hlid_normal].gui.bg == '' | |
line 5: | |
E716: Key not present in Dictionary: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <silent> <F2> :NERDTreeFind<CR> | |
noremap <F3> :NERDTreeToggle<CR> | |
map <F3> :NERDTreeToggle<CR> | |
map <F2> :NERDTreeFind<CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kit.Endpoint(server.AddService, func(){ // first parameter is the Go interface representing the service | |
kit.GRPC("pb/add.proto") | |
kit.Thrift("thrift/add.thrift") | |
kit.NetRPC("?") | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/goadesign/goa/dslengine" | |
"github.com/goadesign/goa/goagen/codegen" | |
"github.com/goadesign/goa/goagen/gen_app" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@gopheracademy:/opt/caddy# cat Caddyfile | |
gophercon.com, www.gophercon.com { | |
root /opt/caddy/gc15/public | |
gzip | |
tls [email protected] | |
git { | |
repo https://github.com/gophercon/gc15 | |
path ../ | |
interval 60 | |
then hugo --theme=gophercon --destination=public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package design | |
import ( | |
"github.com/goadesign/gorma" | |
. "github.com/goadesign/gorma/dsl" | |
) | |
var _ = StorageGroup("CongoStorageGroup", func() { | |
Description("This is the global storage group") | |
Store("postgres", gorma.Postgres, func() { |