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
var target = 200 | |
var counter = 0 | |
var intervalId | |
var answer = () => { | |
var task_x = document.getElementById('task_x') | |
var task_op = document.getElementById('task_op') | |
var task_y = document.getElementById('task_y') | |
var task_res = document.getElementById('task_res') | |
var button_correct = document.getElementById('button_correct') |
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
#!/usr/bin/env sh | |
shopt -s expand_aliases | |
source ~/.bash_profile | |
# Function to grep and get value from github releases | |
function extract_value { | |
echo "$1" | grep "$2" | cut -d : -f 2,3 | tr -d \", | |
} |