Skip to content

Instantly share code, notes, and snippets.

View kevint2u's full-sized avatar

Kevin Tu kevint2u

  • MIT
  • United States
View GitHub Profile
@kevint2u
kevint2u / flashcards.html
Created May 11, 2014 14:53 — forked from shri/flashcards.html
[wearscript] kimono crawler
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript">
function kimonoCallback(data) {
console.log(data);
if(data.lastrunstatus=="success"){
$("#a").text(JSON.stringify(data));
@kevint2u
kevint2u / glass.html
Created March 3, 2014 23:52 — forked from scottgwald/glass.html
[wearscript] Card Tree Example
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function server() {
WS.displayCardTree();
var select = function () {WS.say('select')};
var tap = function () {};
var select = function (n) {return function () {WS.say('select ' + n);WS.log('select ' + n)}};
var log = function (n) {return function () {WS.log('log ' + n)}};
var tap = function (n) {return function () {WS.say('tap ' + n);WS.log('tap ' + n)}};