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
| javascript:void%20function(){(function(){function%20e(){var%20t=document.querySelectorAll(%22.ytd-thumbnail-overlay-resume-playback-renderer:not([data-hidden])%22);t.length%26%26(t.forEach(function(e){e.closest(%22td%22),e.closest(%22.ytd-grid-renderer%22).style.display=%22none%22,e.setAttribute(%22data-hidden%22,!0)}),document.querySelectorAll(%22.ytd-section-list-renderer%22).forEach(function(e){e.style.display=%22inline-block%22}),localStorage.UNWATCHEDwatched%26%26JSON.parse(localStorage.UNWATCHEDwatched).forEach(function(e){try{document.querySelector('.ytd-thumbnail[href=%22'+e+'%22]').parentNode.parentNode.parentNode.style.display=%22none%22}catch(t){}}),n(),setTimeout(function(){var%20t=document.getElementById(%22guide-inner-content%22).scrollTop;document.getElementById(%22guide-inner-content%22).scrollTop=t+1,document.getElementById(%22guide-inner-content%22).scrollTop=t,e()},1e3))}function%20t(e,t,n){var%20o;return%20function(){var%20r=this,a=arguments,c=function(){o=null,n||e.apply(r,a)},l=n%26%26!o |
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 { Board, Stepper } = require('johnny-five'); | |
| const board = new Board(); | |
| const STEPS = 200; | |
| const MS_PER_STEP = 12 * 60 * 60 * 1000 / STEPS; | |
| let LAST_STEP = 0; | |
| const getCurrentStep = (now = new Date()) => { | |
| const offsetDate = new Date(now.getTime()); |
OlderNewer