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
### Keybase proof | |
I hereby claim: | |
* I am optiguy on github. | |
* I am optiguy (https://keybase.io/optiguy) on keybase. | |
* I have a public key ASD1IBtirYY03rJHm32Hyq_t-4vQ1g4ITn5XspH2E7csDQo | |
To claim this, I am signing this object: |
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 test = require('tape'); | |
/** | |
* EXERCISE | |
* | |
* Given an array of integers, | |
* return a new array such that each element at index i of the new array is the product of all the numbers in the original array, | |
* except the one at i. | |
* | |
* Examples: | |
* 1) If our input was [3, 2, 1], the expected output would be [2, 3, 6]. |
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
{"version":1,"resource":"file:///Users/u0158083/Projects/kui/packages/kui-docs/node_modules/%40karnov/kui-react/src/components/Modal/ModalWithHeroImage.tsx","entries":[{"id":"Osj1.tsx","timestamp":1669378436538},{"id":"3yMB.tsx","source":"Workspace Edit","timestamp":1669378443799},{"id":"RH8R.tsx","source":"undoRedo.source","timestamp":1669378485238}]} |
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
function( | |
totalFrames, droppedFrames, | |
videoWidth, videoHeight, | |
bandwidth, | |
frameRate) { | |
var totalPixels = videoWidth * videoHeight; | |
var displayedFramesRatio = (totalFrames - droppedFrames) / totalFrames; | |
var totalPixelsPerSecond = frameRate * totalPixels; | |
var displayedPixelsPerSecond = displayedFramesRatio * totalPixelsPerSecond; |