This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template lang="html"> | |
<form v-on:submit.prevent> | |
<fieldset v-if="dfuIdle"> | |
<input type="file" @change="processFile" /> | |
<button @click="upload">Update Device</button> | |
</fieldset> | |
<fieldset v-if="dfuInProgress"> | |
<progress class="progress is-primary" :value="dfuProgress" max="1.0"> | |
</progress> | |
<button style="margin-top: 0.5rem;" @click="cancel">Cancel</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {expect} from 'chai' | |
export default class VuexActionTester { | |
constructor(action, payload, mutations, dispatches, done) { | |
this.action = action | |
this.payload = payload | |
this.state = {} | |
this.mutations = mutations | |
this.mutationsCount = 0 | |
this.dispatchesCount = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. install xcode | |
from the Mac App Store | |
2. Install Macports | |
https://distfiles.macports.org | |
3. Install libtool | |
sudo port install libtool | |
4. install libusb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First tired out the depth.js library to give the chrome and safari extensions a go. neither of them worked out of the box with my osx 10.7 setup. Reverted to use more modular approach | |
Starting out with the the following tutorial | |
http://tohmjudson.com/?p=30 | |
The openni binaries mentioned in the tutorial above is abit hidden but can be found on the following url | |
http://www.openni.org/downloadfiles/opennimodules/openni-binaries/20-latest-unstable | |
Read up how people wired it up with processing | |
http://urbanhonking.com/ideasfordozens/2011/02/16/skeleton-tracking-with-kinect-and-processing/ |