Skip to content

Instantly share code, notes, and snippets.

View Emuentes's full-sized avatar
🎉
Enjoying Life

Edgar Muentes Emuentes

🎉
Enjoying Life
View GitHub Profile
@Emuentes
Emuentes / firebase-graphql-basic.js
Created September 26, 2017 05:24 — forked from brygrill/firebase-graphql-basic.js
Deploying a GraphQL Server with Firebase Functions
// sample graphql server deployed with firebase functions
// minimal server setup
// via http://graphql.org/graphql-js/running-an-express-graphql-server/
const functions = require('firebase-functions');
const express = require('express');
const graphqlHTTP = require('express-graphql');
const { buildSchema } = require('graphql');
// Init express
const app = express();
@Emuentes
Emuentes / gist:70ea09f3d6607953a3a5
Last active August 29, 2015 14:25 — forked from girliemac/gist:5279460
Draw On The Kitteh Demo - using the Touch Events V.1, Mouse events, and Pointer Events all together.
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width"/>
<style>
body {
font-family: "Segoe UI Web Light", "Segoe UI Light", "Segoe UI Web Regular", "Segoe UI", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 1.2rem;
margin: 10px;