Skip to content

Instantly share code, notes, and snippets.

@tamsler
tamsler / README.txt
Last active August 29, 2015 14:24
GDG Sunshine Polymer 1.0 Element
# git clone https://github.com/PolymerElements/polymer-starter-kit.git
# cd polymer-starter-kit
# git tag -l
v0.1.0
v0.1.1
v1.0.0
v1.0.1
v1.0.2
var greeting = "Hello World";
console.log(greeting);
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
/**
* Inspired by AngularJS' implementation of "click dblclick mousedown..."
*
* This ties in the Hammer events to attributes like:
*
* hm-tap="add_something()"
* hm-swipe="remove_something()"
*
* and also has support for Hammer options with:
*
@tamsler
tamsler / gist:4126103
Created November 21, 2012 17:08
nodejitsu deploy error
psl-247 : ~/src/edu-stream/(master) # jitsu deploy
info: Welcome to Nodejitsu tpamsler
info: jitsu v0.11.3, node v0.8.8
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in server.js
info: Checking app availability edu-stream
info: Creating app edu-stream
info: Creating snapshot 0.0.1
info Uploading: [=============================] 100%