Skip to content

Instantly share code, notes, and snippets.

View qtrandev's full-sized avatar

Quyen Tran qtrandev

View GitHub Profile
var http = require("http");
var lastPoint = "";
//Print out error message
function printError(error) {
console.error(error.message);
}
function get(url) {
var request = http.get(url, function(response) {
var http = require("http");
var lastPoint = "";
var lastPoint2 = "";
//Print out error message
function printError(error) {
console.error(error.message);
}
function get(url) {
@qtrandev
qtrandev / Polymer
Last active November 6, 2015 04:02
Polymer 1.0 snippets and notes from Polycasts YouTube videos
Info:
=====
These snippets help me remember how to use Polymer syntax. Many come from the Polycasts YouTube videos.
Message me @qtrandev in the Polymer Slack or email qtrandev@gmail.com and I'll message you links I know.
Getting started:
================
bower init
bower install --save Polymer/polymer#^1.0.0