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
* aws_lambda_function.heartbeat: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue. | |
Please include the following information in your report: | |
Terraform Version: 0.7.3 | |
Resource ID: aws_lambda_function.heartbeat | |
Mismatch reason: attribute mismatch: role | |
Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"role":*terraform.ResourceAttrDiff{Old:"arn:aws:iam::413359656938:role/exp_cf_lambda_dynamodb_datafull", New:"${module.iam.lambda_function_role_id}", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyTainted:false} | |
Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff(nil), Destroy:false, DestroyTainted:false} |
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
#!/bin/bash | |
if [ $# -ne 2 ] | |
then | |
echo usage: $(basename $0) source_path dest_path | |
exit | |
fi | |
path=$2/$(dirname $1) | |
mkdir -p $path |
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
void main() { | |
// Set the output color to red. | |
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); | |
vec2 texCoord = cc_FragTexCoord1; | |
float l0 = 0.2, l1 = 0.1, l2 = 0.0, l3 = 0.1, l4 = 0.2; | |
float y0 = 1.0, y1 = 0.85, y2 = 0.5, y3 = 0.15, y4 = 0.0; | |
float level = 0.2; |
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
[ | |
{ | |
"match_id":"19722606-366e-46af-b957-824347ec2caa", | |
"status":"ended", | |
"participants":[ | |
{ | |
"player_id":"G:1885232197", | |
"status":"done", | |
"last_turn_date":"2014-02-05T17:33:18Z", | |
"match_outcome":"won" |
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
GameCenterTurnBasedManager.loadMatchesDidFinishEvent += (List<GKTurnBasedMatch> matches) => { | |
Logger.Log ("loadMatchesDidFinish: " + Json.GetJsonString(matches)); | |
matches.Sort((x, y) => { | |
if (x.currentParticipant != null && x.currentParticipant.playerId == GameCenterBinding.playerIdentifier()) return -1; | |
else if (y.currentParticipant != null && y.currentParticipant.playerId == GameCenterBinding.playerIdentifier()) return 1; | |
else if (x.status == y.status) return -x.creationDate.CompareTo(y.creationDate); | |
else if (x.status == GKTurnBasedMatchStatus.Ended) return 1; | |
else if (y.status == GKTurnBasedMatchStatus.Ended) return -1; | |
else if (x.status == GKTurnBasedMatchStatus.Matching) return -1; | |
else if (y.status == GKTurnBasedMatchStatus.Matching) return 1; |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="../js/intlTelInput.min.js"></script> | |
<link rel="stylesheet" href="../css/intlTelInput.css"> | |
</head> | |
<style> | |
.f16 .flag {background-image: url('../images/canvas/flags16.png');} | |
</style> |