地味に毎回やってるから自動化してサクッと開発を始めたい。
martini-heroku-init.goみたいなの作ってもいいかも?
※templateかな?
package main
var BOOK_ID = "{book_id}"; | |
function doGet(e) { | |
var bookId = BOOK_ID; | |
var rootJson = new Object(); | |
var sheetSize = SpreadsheetApp.openById(bookId).getSheets().length; | |
for (var i = 0; i < sheetSize; i++) { | |
var sheet = SpreadsheetApp.openById(bookId).getSheets()[i]; | |
var json = convertSheet2JsonText(sheet); |
/** | |
@file WidgetUtil.h | |
@author kyokomi | |
@date 2014/06/21 | |
*/ | |
#ifndef __Kyokomi__WidgetUtil__ |
https://github.com/go-martini/martini
https://github.com/martini-contrib/sessions
sessionsのmoduleが必要
$ go get github.com/martini-contrib/sessions
https://github.com/go-xorm/xorm
$ go get github.com/go-xorm/xorm
level, err := leveldb.Open("rogueMasterDB", &db.Options{})
if err != nil {
l.Println("levelDB open error", err)
r.Error(400)
}
defer level.Close()
versionId := "1"
package main | |
import ( | |
"fmt" | |
"unicode/utf8" | |
) | |
func main() { | |
hoges := []string{ | |
"Hello, playground", |
// | |
// GLViewUtil.h | |
// | |
// Created by kyokomi on 2014/10/28. | |
// | |
// | |
#ifndef KyokomiDemo_GLViewUtil_h | |
#define KyokomiDemo_GLViewUtil_h |
#include "MD5.h" | |
#include <string> | |
MD5::MD5() | |
{ | |
//nothing | |
return; | |
} |