This file contains hidden or 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
| {"lastUpload":"2019-02-04T11:27:46.791Z","extensionVersion":"v3.2.4"} |
This file contains hidden or 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
| controller samples | |
| https://github.com/thestonefox/VRTK/blob/master/EXAMPLES.md | |
| renderer | |
| https://github.com/ValveSoftware/the_lab_renderer | |
| sample archery game | |
| https://github.com/adestefa/VRWatchTower | |
| more accurate | |
| https://github.com/vmohan7/Bow-ArrowLiveStream |
This file contains hidden or 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
| xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa |
This file contains hidden or 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
| export class BaseVM { | |
| _syncInit() { | |
| this._sync(); | |
| this._unsubscribe = this.store.subscribe(this._sync.bind(this)); | |
| } | |
| _syncUnsubscribe() { | |
| this._unsubscribe(); | |
| } |
This file contains hidden or 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
| /** | |
| * Implement function check (text) which checks whether brackets within text are correctly nested. | |
| * You need to consider brackets of three kinds: (), [], {}. | |
| */ | |
| /** | |
| * STACK approach | |
| */ | |
| function check(str){ | |
| var brackets = "()[]{}", |
This file contains hidden or 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
| $.ajax({ | |
| xhr: ()=> { | |
| var xhr = new window.XMLHttpRequest(); | |
| xhr.upload.addEventListener("progress", (e)=> console.log(e.loaded / e.total) //progress | |
| , false); | |
| return xhr; | |
| }, | |
| processData: false | |
| }); |
This file contains hidden or 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
| updateDictionaries() { | |
| let promise = this.api.getDictionaries(this.lastUpdatedDictionariesTimestamp).then(res => { | |
| let result = res.result; | |
| if (!this.lastUpdatedDictionariesTimestamp) { | |
| .... | |
| } else { | |
| this.applyChangesToMap(this.someMap, result.someMapData); | |
| .... | |
| } | |
| this.lastUpdatedDictionariesTimestamp = result.date; |
This file contains hidden or 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 api from './api'; | |
| import io from 'socket.io-client'; | |
| import {EventAggregator} from 'aurelia-event-aggregator'; | |
| const MSG_DATA_CHANGE = "peer-msg"; | |
| export class DataChannel { | |
| static inject = [EventAggregator]; | |
| constructor(ea:EventAggregator) { |
This file contains hidden or 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
| let e = new CustomEvent('change', { | |
| detail: {value: that.value} | |
| }); | |
| that.element.dispatchEvent(e); |
This file contains hidden or 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
| sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime |