Skip to content

Instantly share code, notes, and snippets.

View telecoda's full-sized avatar

Rob Baines telecoda

View GitHub Profile
@telecoda
telecoda / embed swaggerui
Created July 27, 2018 12:06
embed swaggerui in a go service
package swaggerui
import (
"net/http"
)
//go:generate go-bindata-assetfs -pkg=swaggerui -prefix=static/swagger-ui static/swagger-ui/dist/...
/*
@telecoda
telecoda / eightbit.go
Created August 2, 2017 12:43
8 bit pixel example with Ebiten
package main
import (
"fmt"
"image"
"image/color"
"image/draw"
"log"
"github.com/fogleman/gg"
@telecoda
telecoda / config.xml
Created June 21, 2012 09:29
Example of Play config for Hudson job
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM">
<configVersion>1</configVersion>
<remoteRepositories>
<org.spearce.jgit.transport.RemoteConfig>