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 dblTouchTapMaxDelay = 300 | |
let latestTouchTap = { | |
time: 0, | |
target: null, | |
} | |
export default function isDblTouchTap(event) { | |
const touchTap = { | |
time: new Date().getTime(), | |
target: event.currentTarget, |
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
# A script that can automatically download videos from Edx | |
# Currently this is heavily tied to the way my Edx account and my computer is | |
# set up. It downloads by sending the the download url and download directory | |
# to aria2 runnig in rpc mode. | |
# More info here: http://aria2.sourceforge.net/manual/en/html/aria2c.html#rpc-interface | |
# You can use http://ziahamza.github.io/webui-aria2/ to see download progress | |
# For now parameters, such as username, password, and which course to download | |
# can be provided in the script | |
# I intend to make it more flexible | |
from __future__ import print_function |