Skip to content

Instantly share code, notes, and snippets.

@ysqi
ysqi / main.go
Created March 21, 2016 09:44
beego get multipevalue from post form
package main
import (
"fmt"
"text/template"
"github.com/astaxie/beego"
)
func main() {
@ysqi
ysqi / gist:d212166b173b0f81f679
Created January 25, 2016 12:06
wercker-hugo-build-error
export WERCKER_STEP_ROOT="/pipeline/hugo-build-e17dfc55-511a-4fc3-8870-37b0470bc71e"
export WERCKER_STEP_ID="hugo-build-e17dfc55-511a-4fc3-8870-37b0470bc71e"
export WERCKER_STEP_OWNER="arjen"
export WERCKER_STEP_NAME="hugo-build"
export WERCKER_REPORT_NUMBERS_FILE="/report/hugo-build-e17dfc55-511a-4fc3-8870-37b0470bc71e/numbers.ini"
export WERCKER_REPORT_MESSAGE_FILE="/report/hugo-build-e17dfc55-511a-4fc3-8870-37b0470bc71e/message.txt"
export WERCKER_REPORT_ARTIFACTS_DIR="/report/hugo-build-e17dfc55-511a-4fc3-8870-37b0470bc71e/artifacts"
export WERCKER_HUGO_BUILD_PROD_BRANCHES="master"
export WERCKER_HUGO_BUILD_DEV_FLAGS=""
export WERCKER_HUGO_BUILD_FORCE_INSTALL="false"