Skip to content

Instantly share code, notes, and snippets.

/*Instance instance
swagger:model Instance
*/
type Instance struct {
/* Service identifier (ex. helion-cloud-foundry)
Required: true
*/
//************************************************************************//
// Code Generator
//
// Generated with goagen v0.0.1, command line:
// $ goagen app
// --debug -d github.com/mypackage
//
// The content of this file is auto-generated, DO NOT MODIFY
//************************************************************************//
@aocole
aocole / media_types.go
Last active January 25, 2016 22:47
Goa API versioning question
var ServiceTypeMedia = MediaType("application/vnd.servicetype+json", func() {
APIVersion("1")
Description("A type of service")
Attributes(func() {
Attribute("foo", String, "Generated id")
})
View("default", func() {
Attribute("foo")
})
})
@aocole
aocole / keybase.md
Created January 19, 2015 19:01
keybase.md

Keybase proof

I hereby claim:

  • I am aocole on github.
  • I am aocole (https://keybase.io/aocole) on keybase.
  • I have a public key whose fingerprint is C45A E883 B292 D3FD B04C 5EA6 862A 9896 2424 5F60

To claim this, I am signing this object:

a = foo = 'hello'
foo.gsub!(/l/, 'o')
puts foo # "heooo"
puts a # "heooo"
a = foo = 'hello'
foo = foo.gsub(/l/, 'o')
aocole@duzo ~/developer/ingy/package[master]$ git tag bonkers
aocole@duzo ~/developer/ingy/package[master]$ git push --tag
Total 0 (delta 0), reused 0 (delta 0)
To /Users/aocole/developer/ingy/bpan/test/package/
* [new tag] bonkers -> bonkers
aocole@duzo ~/developer/ingy/package[master]$ cd ..
aocole@duzo ~/developer/ingy$ cd bpan/
aocole@duzo ~/developer/ingy/bpan[server*]$ gst
+ git status
On branch server
invalid command name ""
while executing
"[go $argname $argpass $argserver]"
(file "/home/aocole/bin/stackato-copy-id" line 25)
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAx+rAf9ZLlKFuHcucfxPwX19F80uYDOQ60C/zrPlxZP5m0q5s5bcumG/V/MeY8m2jSgMCoLhA8TJQB8NKplF2UKzUEvTchAkCnyofYImBFUBAZCjZAHtytXiU2hg/sL3AW9Mzs4Y51tsE6RR2rATTV0GXUgx0HZIjbAWYcSj1XGKI5kuhAm6vnbfjQWjgmf2qev+aeEEVHkaADhJNUIGBjRdClurNBZVuN0OUV1Bx8cRsqKWwXCEBwa/5R59r6ZekW6ig9e+4awX5PO+PU28VehA1wLdXR7Cl6mLBVmZs/9qVZrJKQWO7m/txCghbX7U1gQQCnXncNaWXSxh0KfigYQ== aocole@gmail.com