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 asyncio | |
import time | |
async def say_after(delay, what): | |
await asyncio.sleep(delay) |
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 axios from 'axios' | |
const http = { | |
/** | |
* Default Base URL | |
*/ | |
baseURL: 'http://localhost/.../api/', | |
/** | |
* Default URL |
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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
extracts: {'one_big_rabbit':[7,11], 'three_rodents':[12,14.5]}, | |
interv: null, | |
extractToPlayChanged: Ember.observer('extractToPlay', function() { | |
let extractToPlay = this.get('extractToPlay'); | |
let video = this.$("video")[0]; | |
let from = this.get('extracts')[extractToPlay][0]; |