Find all links from existing HTML files
ls *.html | xargs grep "Please follow" | grep -Eo '(http|https)://[a-zA-Z0-9./?=_-]*'
How to create a GH issue
gh issue create -b "" --label "link" --assignee "@me" --title ""
Find all links from existing HTML files
ls *.html | xargs grep "Please follow" | grep -Eo '(http|https)://[a-zA-Z0-9./?=_-]*'
How to create a GH issue
gh issue create -b "" --label "link" --assignee "@me" --title ""
Book Title,Author,Edition,Product Type,Copyright Year,Copyright Holder,Print ISBN,Electronic ISBN,Language,Language Collection,eBook Package,English Package Name,German Package Name,Series Print ISSN,Series Electronic ISSN,Series Title,Volume Number,DOI URL,OpenURL,Subject Classification,Publisher,Imprint | |
Fundamentals of Power Electronics,"Robert W. Erickson, Dragan Maksimovic",2nd ed. 2001,Graduate/advanced undergraduate textbook,2001,Springer Science+Business Media New York ,978-0-7923-7270-7,978-0-306-48048-5,EN,English/International,11647,Engineering,,,,,,http://doi.org/10.1007/b100747,http://link.springer.com/openurl?genre=book&isbn=978-0-306-48048-5,"Engineering; Circuits and Systems; Energy, general; Electronics and Microelectronics, Instrumentation; Energy Systems",Springer US,Springer | |
Handbook of the Life Course,"Jeylan T. Mortimer, Michael J. Shanahan",2003,Graduate/advanced undergraduate textbook,2003,Springer Science+Business Media New York,978-0-306-47498-9,978-0-306-48247-2,EN,English/Internatio |
for i in `netlify sites:list | grep "\w*-\w*-\w* - \w*" | cut -f3 -d" "`; do echo $i; netlify sites:delete --force $i; done; |
# needs hub installed via brew install hub | |
# hub will prompt for github credentials once with optional mfa | |
# https://help.github.com/articles/importing-a-git-repository-using-the-command-line/ | |
BITBUCKET_USERNAME=<> | |
GITHUB_USERNAME=<> | |
REPOSITORY_NAME=<> | |
git clone --bare git@bitbucket.org:$BITBUCKET_USERNAME/$REPOSITORY_NAME.git | |
cd $REPOSITORY_NAME |
# Click the orange "Play" button and select the createColorCommand | |
# mutation to create an object in DynamoDB. | |
# If you see an error that starts with "Unable to assume role", | |
# wait a moment and try again. | |
mutation createColorCommand($createcolorcommandinput: CreateColorCommandInput!) { | |
createColorCommand(input: $createcolorcommandinput) { | |
id | |
timestamp | |
color | |
} |
/* eslint-disable func-names */ | |
/* eslint-disable no-console */ | |
const Alexa = require('ask-sdk-core'); | |
const Amplify = require('aws-amplify'); | |
const { API, graphqlOperation } = Amplify; | |
API.configure({ | |
'aws_appsync_region': 'us-west-2', | |
'aws_appsync_authenticationType': 'API_KEY', |
{ | |
"version": "2017-02-28", | |
"operation": "PutItem", | |
"key": { | |
"id": $util.dynamodb.toDynamoDBJson($util.autoId()), | |
"timestamp": $util.dynamodb.toDynamoDBJson($util.time.nowISO8601()), | |
}, | |
"attributeValues": $util.dynamodb.toMapValuesJson($ctx.args.input), | |
"condition": { | |
"expression": "attribute_not_exists(#id) AND attribute_not_exists(#timestamp)", |
const { default: Amplify, API, graphqlOperation } = require('aws-amplify'); | |
Amplify.configure({ | |
'aws_appsync_region': 'us-west-2', | |
'aws_appsync_authenticationType': 'API_KEY', | |
'aws_appsync_graphqlEndpoint': '...', | |
'aws_appsync_apiKey': '...' | |
}); | |
// POLYFILLS |
import React, { Component } from 'react'; | |
import './App.css'; | |
import Amplify, { graphqlOperation } from "aws-amplify"; | |
import { Connect } from "aws-amplify-react"; | |
// TODO configure to point to your API | |
Amplify.configure({ | |
'aws_appsync_region': 'us-west-2', | |
'aws_appsync_authenticationType': 'API_KEY', | |
'aws_appsync_graphqlEndpoint': '...', |
// Add the subscription query | |
const OnCreateColorCommandSubscription = ` | |
subscription onCreateColorCommand { | |
onCreateColorCommand { | |
__typename | |
id | |
color | |
timestamp | |
} | |
} |