Skip to content

Instantly share code, notes, and snippets.

ufop.yaml 编写指南

描述

ufop的创建方式是需要把一个叫ufop.yaml的文件和资源文件放在一个目录下,ufop.yaml中包含创建的基础镜像,创建脚本,运行命令的行为, 服务端会根据这些创建对应的镜像。

ufop.yaml规则

@lintianzhi
lintianzhi / ufop-step-by-step-v0.2.md
Last active August 29, 2015 14:14
ufop-step-by-step-v0.2

Getting Started with Ufop on Qiniu

====

1. Introduction

这个教程的目的是快速上手部署和使用一个 Ufop 的应用。

当然这个教程开始前需要做一下的准备:

@lintianzhi
lintianzhi / blur.go
Last active August 29, 2015 14:21
gaussian blur by ufop
package main
import (
"encoding/json"
"image"
"log"
"net/http"
"strconv"
"strings"
//import request from 'superagent';
request = require('superagent')
querystring = require('querystring');
url = require('url');
crypto = require('crypto');
__qiniuAccessKey = 'xxxxx';
__qiniuSecretKey = 'xxxxx';
function makezip() {