Skip to content

Instantly share code, notes, and snippets.

View vashisth00's full-sized avatar
🙃
🙂

Vashisth Bhushan vashisth00

🙃
🙂
View GitHub Profile
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",
@justsml
justsml / fetch-api-examples.md
Last active July 8, 2024 17:26
JavaScript Fetch API Examples
@jwo
jwo / query.graphql
Last active May 31, 2021 20:53
GraphQL example: current user's 100 most current public repos
{
viewer {
repositories(privacy: PUBLIC, first: 3, orderBy: {field: PUSHED_AT, direction: DESC}) {
nodes {
nameWithOwner
url
}
}
}
}
@nateinaction
nateinaction / react-firebase-auth.js
Last active November 21, 2022 14:44
This is a version of Facebook's React Conditional Rendering example modified to support firebase authentication.
/*
* 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) {