Skip to content

Instantly share code, notes, and snippets.

View vashisth00's full-sized avatar
🙃
🙂

Vashisth Bhushan vashisth00

🙃
🙂
View GitHub Profile
@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) {
@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
}
}
}
}
@justsml
justsml / fetch-api-examples.md
Last active August 20, 2024 19:31
JavaScript Fetch API Examples
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",