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
state: { | |
list: ['key1', 'key2', 'key3'], | |
items: { | |
key1: { title: "Title 1"}, | |
key2: { title: "Title 2"}, | |
key3: { title: "Title 3"} | |
} | |
} | |
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
/* | |
* This is only going to show a list of the keys themselves. | |
* | |
* Expected output: | |
* - key1 | |
* - key2 | |
* - key3 | |
*/ | |
Vue.component('event-list', { | |
template: "<div><ul><li v-for='key in list'>{{ key }}</li></div>", |
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
Vue.component('event-list-item', { | |
template: "<h4>{{ item.title }}</h4>", | |
props: { | |
ikey: { | |
type: String, | |
required: true | |
} | |
}, | |
data: function() { | |
return { |
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> | |
<head> | |
<title>Test Vue List</title> | |
<meta charset='utf-8'> | |
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | |
<script src="https://unpkg.com/vuex"></script> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
</head> |
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
var ballots[] | |
onEvent("submitBtn", "click", function(){ | |
var newBallot = [getNumber("rank1"), getNumber("rank2"), getNumber("rank3"), getNumber("rank4"), getNumber("rank5")] | |
ballots.push(newBallot) | |
console.log (newBallot) | |
console.log ("We now have " + ballots.length + " in our system!" | |
}); | |
// Here's a little sample to show how you might begin to tabulate the ballots... | |
function tabulateBallots() { |
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 | |
## Conventions: | |
## | |
## Working directory has the same name as the s3 bucket. | |
## Script is executed from the parent of this directory. | |
## | |
BUCKET=$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
service | free tier | paid req | paid duration/storage | |
---|---|---|---|---|
API Gateway | (12 Months) 1M free | $1.00/1M | N/A | |
Lambda | (Always) first 1M free; 400k Gb/s | $0.20/1M | $0.000016667 Gb/s | |
DynamoDB | (Always) first 25G free; 200M | $1.25 1M write;$0.25 1M read | $0.25/Gb |
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
ELO | USCF | FIDE | |
---|---|---|---|
2600 | Grandmaster* | ||
2400 and up | Senior Master | International Master* | |
2300 | Fide Master | ||
2200 | National Master | Candidate Master | |
2000 | Expert |