I created a magical time estimation tool.
Next time you need to know how long something will take (for example if you win a nice new watch and want to know when it will arrive):
- Run this snippet.
- Click the
How long will it take?
button. - Get your answer!
var _0x2195=['getElementById','innerText','classList','remove','hidden','6\x20weeks','7\x20weeks','8\x20weeks','floor','length'];(function(_0x157e03,_0x2139d2){var _0x45fc68=function(_0x385b9f){while(--_0x385b9f){_0x157e03['push'](_0x157e03['shift']());}};_0x45fc68(++_0x2139d2);}(_0x2195,0xb9));var _0x5ebf=function(_0x4366b4,_0x1c1e6d){_0x4366b4=_0x4366b4-0x0;var _0x49332d=_0x2195[_0x4366b4];return _0x49332d;};const times=[_0x5ebf('0x0'),_0x5ebf('0x1'),_0x5ebf('0x2')];function newTime(){var _0x5a92e6=times[Math[_0x5ebf('0x3')](Math['random']()*times[_0x5ebf('0x4')])];const _0x2af59a=document[_0x5ebf('0x5')]('time');_0x2af59a[_0x5ebf('0x6')]=_0x5a92e6;_0x2af59a[_0x5ebf('0x7')][_0x5ebf('0x8')](_0x5ebf('0x9'));}
#time{border-left-width:thin;}div{font-size:48px;}div{text-align:center;}#time{border-bottom-width:thin;}div{margin-left:18.75pt;}div{margin-bottom:18.75pt;}#time{border-right-width:thin;}div{margin-right:18.75pt;}div{margin-top:18.75pt;}button{font-size:24px;}#time{border-top-width:thin;}button{padding-left:.3125pc;}button{padding-bottom:.3125pc;}#time{border-left-style:solid;}#time{border-bottom-style:solid;}button{padding-right:.3125pc;}button{padding-top:.3125pc;}button{border-radius:10px;}#time{border-right-style:solid;}#time{border-top-style:solid;}#time{border-left-color:red;}#time{border-bottom-color:red;}#time{border-right-color:red;}#time{border-top-color:red;}#time{border-image:none;}#time{border-radius:50%;}#time{overflow:hidden;}[class~=hidden]{display:none;}
<div><button onclick="newTime();">How long will it take?</button></div><div id="time" class="hidden"></div>
This might also come in handy next time you need to estimate how long it'll take to write some code, but just make sure you keep Hofstadter's law in mind.