LeenoAPIは、取得できるリソースに応じた以下のエンドポイントを持ちます。
- 単一キャンバス http://leeno.jp/api/canvas
- 複数キャンバス http://leeno.jp/api/canvases
- 単一ヒストリ http://leeno.jp/api/history
- 複数ヒストリ http://leeno.jp/api/histories
# Usage: sh clean-rails.sh my_proj | |
mkdir $1 | |
cd $1 | |
cat <<__EOF__ > Gemfile | |
source 'http://rubygems.org' | |
gem 'rails' | |
__EOF__ | |
bundle install --path vendor/bundle |
function converter() { | |
this.isStandardJson = function(item) { | |
for (var attr in item) { | |
if (item.hasOwnProperty(attr)) { | |
var attrValue = item[attr]; | |
if (isAttrStandardJson.call(this, attrValue) == false) { | |
return false; | |
} | |
} | |
} |
AWSTemplateFormatVersion: 2010-09-09 | |
Parameters: | |
ServiceName: | |
Type: String | |
Default: TimeService | |
Description: Name for the service, used in the code repository, Lambda function, and pipeline names | |
Resources: | |
# Code repository for the service | |
CodeRepository: | |
Type: AWS::CodeCommit::Repository |
#!/usr/bin/python2.7 | |
#============================================================================== | |
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
var originalOpen = window.XMLHttpRequest.prototype.open, | |
originalSend = window.XMLHttpRequest.prototype.send; | |
function myOpen(method, url, async, user, password) { | |
console.log('console log ---------- myopen'); | |
return originalOpen.apply(this, arguments); | |
} | |
function mySend(data) { | |
console.log('console log ---------- mysend'); |
LeenoAPIは、取得できるリソースに応じた以下のエンドポイントを持ちます。
Decision Task Completed Event Id: 13 | |
Details: | |
java.lang.IllegalArgumentException: Unknown DecisionId [type=EXTERNAL_WORKFLOW, id=pick-20160611-101710]. The possible causes are nondeterministic workflow definition code or incompatible change in the workflow definition. | |
at com.amazonaws.services.simpleworkflow.flow.worker.DecisionsHelper.getDecision(DecisionsHelper.java:613) | |
at com.amazonaws.services.simpleworkflow.flow.worker.DecisionsHelper.handleStartChildWorkflowExecutionInitiated(DecisionsHelper.java:216) | |
at com.amazonaws.services.simpleworkflow.flow.worker.AsyncDecider.processEvent(AsyncDecider.java:334) | |
at com.amazonaws.services.simpleworkflow.flow.worker.AsyncDecider.decide(AsyncDecider.java:515) | |
at com.amazonaws.services.simpleworkflow.flow.worker.AsyncDecisionTaskHandler.handleDecisionTask(AsyncDecisionTaskHandler.java:50) | |
at com.amazonaws.services.simpleworkflow.flow.worker.DecisionTaskPoller.pollAndProcessSingleTask(DecisionTaskPoller.java:201) | |
at com.amazonaws.services.simpleworkflow.flow.wo |
require 'ipaddr' | |
ec2_ranges = %w_ | |
103.4.8.0/21 | |
175.41.192.0/18 | |
176.32.64.0/19 | |
176.34.0.0/19 | |
176.34.32.0/19 | |
46.51.224.0/19 | |
52.192.0.0/15 |
#!/usr/bin/python | |
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Amazon Software License (the "License"). You may not use | |
# this file except in compliance with the License. A copy of the License is | |
# located at http://aws.amazon.com/asl/ or in the "license" file accompanying | |
# this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific | |
# language governing permissions and limitations under the License. |
// sudo yum update | |
// sudo yum install -y git | |
// sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
// sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
// sudo yum install -y apache-maven | |
// git clone https://github.com/bigdatagenomics/adam.git | |
// cd adam | |
// git checkout adam-parent-0.15.0 | |
// export "MAVEN_OPS=-Xmx512m -XX:MaxPermSize=128m" | |
// # long |