#Google Glass & Android Wear Lightening Talks
##Introduction to Android Wear ###Dario Laverde - HTC Dev Relations - Android Wear
Watch is only the first of the many "formfactors" in theory
You need to get approved to get android wear
| function split( val ) { | |
| return val.split( /;\s*/ ); | |
| } | |
| function extractLast( term ) { | |
| return split( term ).pop(); | |
| } | |
| $("#spotify_song_search").bind( "keydown", function( event ) { | |
| if ( event.keyCode === $.ui.keyCode.TAB && $( this ).data( "ui-autocomplete" ).menu.active ) { |
#Google Glass & Android Wear Lightening Talks
##Introduction to Android Wear ###Dario Laverde - HTC Dev Relations - Android Wear
Watch is only the first of the many "formfactors" in theory
You need to get approved to get android wear
| var gulp = require('gulp'); | |
| var browserify = require('browserify') | |
| var source = require('vinyl-source-stream'); | |
| var istanbulTransform = require('browserify-istanbul'); | |
| var karmaServer = require('karma').server; | |
| var glob = require('glob'); | |
| gulp.task('coverage',['build-instrument'] , function(done) { | |
| karmaServer.start({ | |
| configFile: __dirname + '/karma.conf.js', |
| { | |
| "node": true, // Enable globals available when code is running inside of the NodeJS runtime environment. | |
| "browser": true, // Standard browser globals e.g. `window`, `document`. | |
| "esnext": true, // Allow ES.next specific features such as `const` and `let`. | |
| "bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.). | |
| "camelcase": false, // Permit only camelcase for `var` and `object indexes`. | |
| "curly": false, // Require {} for every new block or scope. | |
| "eqeqeq": true, // Require triple equals i.e. `===`. | |
| "latedef": true, // Prohibit variable use before definition. | |
| "newcap": false, // Require capitalization of all constructor functions e.g. `new F()`. -- Messenger warnings are annoying |
| ## Aliases | |
| # Open specified files in Sublime Text | |
| # "s ." will open the current directory in Sublime | |
| alias s='open -a "Sublime Text"' | |
| # Color LS | |
| colorflag="-G" | |
| alias ls="command ls ${colorflag}" | |
| alias l="ls -lF ${colorflag}" # all files, in long format |
| { | |
| "in_process_packages": | |
| [ | |
| ], | |
| "installed_packages": | |
| [ | |
| "Alignment", | |
| "Autocomplete Javascript with Method Signature", | |
| "Better CoffeeScript", | |
| "BracketHighlighter", |
| var React = require('react/addons'); | |
| var Table = require('./table.jsx'); | |
| var rows = [ | |
| { | |
| 'id' : 1, | |
| 'foo': 'bar' | |
| }, | |
| { | |
| 'id' : 2, | |
| 'foo': 'baarrrr' |
| // Place your key bindings in this file to overwrite the defaults | |
| [ | |
| { "key": "shift+alt+left", "command": "cursorWordEndLeftSelect" }, | |
| { "key": "shift+alt+down", "command": "cursorColumnSelectDown" }, | |
| { "key": "cmd+shift+d", "command": "editor.action.copyLinesDownAction" }, | |
| { "key": "shift+alt+right", "command": "cursorWordRightSelect" }, | |
| { "key": "shift+tab", "command": "editor.action.outdentLines" }, | |
| { "key": "cmd+l", "command": "editor.action.insertCursorAtEndOfEachLineSelected", | |
| "when": "editorTextFocus" } | |
| ] |