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
| program = "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++." | |
| program_index = 0 | |
| data = [] | |
| for i in range(0, 30000): | |
| data.append(0) | |
| data_index = 0 |
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
| const template = hbs`{{my-component)}}`; | |
| test('it renders', function(assert) { | |
| // Set any properties with this.set('myProperty', 'value'); | |
| // Handle any actions with this.on('myAction', function(val) { ... });" + EOL + EOL + | |
| this.render(template); | |
| // assert.equal(this.$('ul.selected-operators li').length, 1); |
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 Ember from 'ember'; | |
| import DS from 'ember-data'; | |
| export default Ember.Route.extend({ | |
| model(params) { | |
| return Ember.RSVP.hash({ | |
| year: params.year, | |
| month: params.month, | |
| data: this.store.find('my-model') | |
| }); |
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 Ember from 'ember'; | |
| import BaseLayer from 'ember-leaflet/components/base-layer'; | |
| import PathLayer from 'ember-leaflet/components/path-layer'; | |
| import PopupMixin from 'ember-leaflet/mixins/popup'; | |
| /* global L */ | |
| /** | |
| * An ember-leaflet wrapper for L.geoJson, which renders GeoJson data onto a | |
| * map as features. | |
| * |
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 Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| enter: null | |
| }); |
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 Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |
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
| var playerToEntrance = PortalEntrance.position - PlayerCamera.transform.position; | |
| Debug.Log(playerToEntrance); | |
| var renderCenter = originalPosition - playerToEntrance; | |
| var leftEyeOffset = InputTracking.GetLocalPosition((VRNode)0); | |
| var leftEyeRotation = InputTracking.GetLocalRotation((VRNode)0); | |
| var rightEyeOffset = InputTracking.GetLocalPosition((VRNode)1); | |
| var rightEyeRotation = InputTracking.GetLocalRotation((VRNode)1); |
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 Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| queryParams: [{ | |
| testParam: { | |
| replace: true | |
| } | |
| }], | |