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 a version of Facebook's React Conditional Rendering | |
* example modified to support firebase authentication. | |
* https://facebook.github.io/react/docs/conditional-rendering.html | |
*/ | |
import React, { Component, PropTypes } from 'react'; | |
import * as firebase from 'firebase'; | |
function UserAvatar(props) { |
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
{ | |
viewer { | |
repositories(privacy: PUBLIC, first: 3, orderBy: {field: PUSHED_AT, direction: DESC}) { | |
nodes { | |
nameWithOwner | |
url | |
} | |
} | |
} | |
} |
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
const AWS = require('aws-sdk') | |
const fs = require('fs') | |
const Polly = new AWS.Polly({ | |
region: 'ap-south-1' | |
}) | |
const input = { | |
Text: "Hola, Buenas dias.", | |
OutputFormat: "mp3", |