Skip to content

Instantly share code, notes, and snippets.

View kalyan02's full-sized avatar

kalyan02

View GitHub Profile
@kalyan02
kalyan02 / repetition_algorithm.ipynb
Created March 5, 2020 20:49 — forked from doctorpangloss/repetition_algorithm.ipynb
Supermemo 2 Algorithm, Unobscured (Python 3)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Keep in mind that when asking for a `return` after another, only the first one will be output.
# This example is meant as a simple starting point, to show how to get the information in the simplest available way.
# Google Chrome
tell application "Google Chrome" to return URL of active tab of front window
tell application "Google Chrome" to return title of active tab of front window
# Google Chrome Canary
tell application "Google Chrome Canary" to return URL of active tab of front window
tell application "Google Chrome Canary" to return title of active tab of front window
# Chromium