Skip to content

Instantly share code, notes, and snippets.

View illyabusigin's full-sized avatar

Illya Busigin illyabusigin

View GitHub Profile
@illyabusigin
illyabusigin / design.go
Created July 19, 2016 16:43
Goa - Recursive media type with specific view reference
package design
import (
. "github.com/goadesign/goa/design"
. "github.com/goadesign/goa/design/apidsl"
)
var _ = API("test", func() {
Title("test")
Description("test")
# Install with:
# bash < <(curl -L https://raw.github.com/gist/2767174)
echo "Installing S3cmd..."
wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add -
sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.list
sudo apt-get update && sudo apt-get install s3cmd
echo "Done"
### Keybase proof
I hereby claim:
* I am illyabusigin on github.
* I am illyabusigin (https://keybase.io/illyabusigin) on keybase.
* I have a public key whose fingerprint is 71AA 0E7E 6122 641E B262 7EB5 A546 0754 9C7C E73D
To claim this, I am signing this object: