Skip to content

Instantly share code, notes, and snippets.

<div class="well-large pop">
<div data-ng-init="fetchUSAGGymnastRecordsForCurrentGym()"></div>
<h4 class="lead">GreaterNY Invitational {{year}} Registration System <small>({{version}})</small> <a class="pull-right-sm" href="/logout" target="_self">Logout</a></h4>
<div ng-show="currentView === 'listRegistrations'">
<div>
<h4 class="lead">Registration in three simple steps.</br><strong>Step 1:</strong> Check any gymnasts that are attending.</br>To edit Compete At Level or T-Shirt Size, click on the USAG No.</br><strong>Step 2:</strong> Click <i>Save and Go-to Coaches</i>. (shows up after you click on at least 1 gymnast). </br>Enter your coaches</br><strong>Step 3:</strong> Review and submit registration</h4>
</div>
</div>
<div ng-show="currentView === 'listRegistrations'">
<h4 class="lead"><strong>{{currentGym.gymName}}</strong></h4>
"Resources": {
"EcsTaskRole": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
import spacy.en
from spacy.parts_of_speech import ADV
from spacy.parts_of_speech import NOUN
nouns = ['']
adverbs = ['']
# Load the pipeline, and call it with some text.
nlp = spacy.en.English()
@ctava
ctava / gist:031eaddbd0f26dfcbcad4dac2c2c5388
Created October 9, 2016 14:43
reverse days of the week
package main
import "fmt"
func main() {
daysOfTheWeek := []string{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}
reverseIndex := 6
reversedDaysOfTheWeek := [7]string{}
for i, _ := range daysOfTheWeek {
reversedDaysOfTheWeek[i] = daysOfTheWeek[reverseIndex]
[{
"name": "facebook",
"display_name": "Facebook",
"account": {
"name": "facebook",
"username": null,
"unauthorized": false,
"user_id": "10202873502227319"
},
"enabled": true,
{
"header": {
"year_month_day_key": "20151005",
"title": "CHRISTOPHER'S DAY IN HISTORY: OCTOBER 5"
},
"quip": {
"year_month_day_key": "20151005",
"text": "Some people write books. Others paint masterpieces. Christopher has days like this."
},
"albums": [{
{
"header": {
"year_month_day_key": "20151004",
"title": "EVIL CHRISTOPHER'S DAY IN HISTORY: OCTOBER 4"
},
"quip": {
"year_month_day_key": "20151004",
"text": "This day was more awesome than that time we played Marco Polo in the grocery store."
},
"albums": [
{
"header": {
"year_month_day_key": "20151004",
"title": "EVIL CHRISTOPHER'S DAY IN HISTORY: OCTOBER 4"
},
"quip": {
"year_month_day_key": "20151004",
"text": "This day was more awesome than that time we played Marco Polo in the grocery store."
},
"albums": [
{
"header": {
"year_month_day_key": "20151003",
"title": "EVIL CHRISTOPHER'S DAY IN HISTORY: OCTOBER 3"
},
"quip": {
"year_month_day_key": "20151003",
"text": "Our days are spent foraging for food and plotting survival tactics. Yours are spent like this. Cool."
},
"albums": [
@ctava
ctava / 20151003
Last active October 4, 2015 23:33
{
"header": {
"year_month_day_key": "20151003",
"title": "CHRISTOPHER'S DAY IN HISTORY: OCTOBER 3"
},
"quip": {
"year_month_day_key": "20151003",
"text": "Our days are spent foraging for food and plotting survival tactics. Yours are spent like this. Cool."
},
"albums": [