Skip to content

Instantly share code, notes, and snippets.

@pat123456
pat123456 / async.py
Last active March 7, 2021 21:36
async
import asyncio
import time
async def say_after(delay, what):
await asyncio.sleep(delay)
import axios from 'axios'
const http = {
/**
* Default Base URL
*/
baseURL: 'http://localhost/.../api/',
/**
* Default URL
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];