This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.xml.MarkupBuilder | |
apply plugin: "java" | |
apply plugin: "war" | |
apply plugin: "eclipse" | |
// maven-publish, maven2Gradle, build-dashboard | |
// checkstyle, findbugs, jdepend, pmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.sinmetal.xgtx; | |
import java.io.IOException; | |
import java.util.ConcurrentModificationException; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import com.google.appengine.api.datastore.DatastoreService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja" ng-app="myApp"> | |
<head> | |
<meta charset="utf-8"> | |
<title>sample</title> | |
<link rel="stylesheet" href="../static/stylesheets/bootstrap.min.css"> | |
<link rel="stylesheet" href="../static/stylesheets/bootstrapSwitch.css"> | |
</head> | |
<body> | |
<div class="row-fluid" ng-controller="mainCtrl"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.sinmetal.appengine.sample.model.gcs; | |
import org.slim3.datastore.Attribute; | |
import org.slim3.datastore.Datastore; | |
import org.slim3.datastore.Model; | |
import com.google.appengine.api.datastore.Key; | |
@Model(schemaVersionName = "schemaVersion", schemaVersion = 1) | |
public class FileInfo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2011 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// HTTP reverse proxy handler | |
package goengine | |
import ( | |
"io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package goonchk | |
import ( | |
"fmt" | |
"net/http" | |
"github.com/mjibson/goon" | |
"google.golang.org/appengine/datastore" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function passthroughExample(row, emit) { | |
var output = []; | |
row.keyword. forEach(function(element, index, array) { | |
var match = row.data.match(element); | |
if (match) { | |
output.push(match[0]); | |
} | |
}) | |
emit({output:output}) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gcs_sample | |
import ( | |
"net/http" | |
"fmt" | |
"google.golang.org/appengine" | |
"google.golang.org/appengine/log" | |
"golang.org/x/oauth2/google" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net/http" | |
) | |
func init() { | |
http.HandleFunc("/.well-known/acme-challenge/", handlerLetsencypt) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"name": "entities", | |
"mode": "repeated", | |
"type": "record", | |
"fields": [{ | |
"name": "mentions", | |
"mode": "repeated", | |
"type": "record", | |
"fields": [{ | |
"name": "text", |