By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
function coinPrice() { | |
const myGoogleSheetName = | |
SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Coins2"); | |
const coinMarketCapAPICall = { | |
method: "GET", | |
uri: "https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?aux=cmc_rank", | |
qs: { | |
start: "1", | |
limit: "5000", | |
convert: "USD", |
image: customregistry/docker-builder:latest | |
variables: | |
dockerTag: '$CI_BUILD_REF' | |
DOCKER_REPO: customregistry | |
IMAGE_BASE_NAME: redis-faas | |
IMAGE: $EVISTA_DOCKER_REPO/$IMAGE_BASE_NAME:$CI_BUILD_REF | |
CONTAINER_NAME: 'fotok-redis-pipeline' | |
TARGET_DIR_STAGE: /srv/docker/staging/redis-faas | |
TARGET_DIR_PROD: /srv/docker/prod/redis-faas |
/* @flow */ | |
import PromiseQueue from 'promise-queue-observable'; | |
import { config as AWSConfig, CognitoIdentityCredentials, CognitoSyncManager } from 'aws-sdk'; | |
import 'amazon-cognito-js'; | |
import { | |
CognitoUserPool, | |
CognitoUser, | |
AuthenticationDetails, |
//Usage | |
import React from 'react'; | |
import { BrowserRouter as Router } from 'react-router-dom'; | |
import Route from './AuthRoute'; | |
import Login from './Login'; | |
import Private from './Private'; | |
export default () => | |
<Router> |
#!/usr/bin/env python2.7 | |
# encoding=utf8 | |
# | |
# Copyright 2007 Google Inc. | |
# Copyright 2016 Raphaël Doursenaud | |
# | |
# 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 | |
# |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
/* | |
******************************************************************************** | |
Golang - Asterisk and Ampersand Cheatsheet | |
******************************************************************************** | |
Also available at: https://play.golang.org/p/lNpnS9j1ma | |
Allowed: | |
-------- | |
p := Person{"Steve", 28} stores the value |