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
<!doctype html> | |
<html> | |
<head> | |
<title>Dynamically Created and Controlled Progress Bars</title> | |
<link rel="stylesheet" type="text/css" href="style.css" /> | |
<script src="progressBars.js"></script> | |
</head> | |
<body> | |
<div> | |
<button id="btnCreateProgressBar" data-number-of-bars="0"> |
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
// -- AdventOfCode.com - Day 6 (Part 1) | |
// | |
// by Robert Sogomonian (Psyrixx) | |
// rsogomonian@psyjnir.com | |
// Started: Dec 08, 2015 | |
// Complete: Dec 09, 2015 | |
var input = ["turn off 660,55 through 986,197", "turn off 341,304 through 638,850", "turn off 199,133 through 461,193", "toggle 322,558 through 977,958", "toggle 537,781 through 687,941", "turn on 226,196 through 599,390", "turn on 240,129 through 703,297", "turn on 317,329 through 451,798", "turn on 957,736 through 977,890", "turn on 263,530 through 559,664", "turn on 158,270 through 243,802", "toggle 223,39 through 454,511", "toggle 544,218 through 979,872", "turn on 313,306 through 363,621", "toggle 173,401 through 496,407", "toggle 333,60 through 748,159", "turn off 87,577 through 484,608", "turn on 809,648 through 826,999", "toggle 352,432 through 628,550", "turn off 197,408 through 579,569", "turn off 1,629 through 802,633", "turn off 61,44 through 567,111", "toggle 880,25 through 903,973", "turn on 347,123 through 864,746", "toggle 728,877 through 9 |
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
// -- AdventOfCode.com - Day 6 (Part 2) | |
// | |
// by Robert Sogomonian (Psyrixx) | |
// rsogomonian@psyjnir.com | |
// Started: Dec 09, 2015 | |
// Complete: Dec 09, 2015 | |
var input = ["turn off 660,55 through 986,197", "turn off 341,304 through 638,850", "turn off 199,133 through 461,193", "toggle 322,558 through 977,958", "toggle 537,781 through 687,941", "turn on 226,196 through 599,390", "turn on 240,129 through 703,297", "turn on 317,329 through 451,798", "turn on 957,736 through 977,890", "turn on 263,530 through 559,664", "turn on 158,270 through 243,802", "toggle 223,39 through 454,511", "toggle 544,218 through 979,872", "turn on 313,306 through 363,621", "toggle 173,401 through 496,407", "toggle 333,60 through 748,159", "turn off 87,577 through 484,608", "turn on 809,648 through 826,999", "toggle 352,432 through 628,550", "turn off 197,408 through 579,569", "turn off 1,629 through 802,633", "turn off 61,44 through 567,111", "toggle 880,25 through 903,973", "turn on 347,123 through 864,746", "toggle 728,877 through 9 |