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
| export CONTAINER_NAME= | |
| docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}" $(docker ps --filter=name=${CONTAINER_NAME} -q) |
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
| function test() { | |
| return this.name; | |
| } | |
| // please implement your bind function here. | |
| Function.prototype.bindFunction = function(context) { | |
| }; | |
| const context = { |
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 createPermutation = (arr, selected = new Set(), output = []) => { | |
| if (selected.size >= arr.length) { | |
| output.push([...selected].map((i) => arr[i])); | |
| return output; | |
| } | |
| for (let i = 0; i < arr.length; i++) { | |
| if (selected.has(i)) { | |
| continue; | |
| } | |
| selected.add(i); |
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 $el = $0; | |
| const nLikes = 1000; | |
| const delaySecs = 1; | |
| [...new Array(100)].reduce((acc) => { | |
| return acc.then( | |
| () => | |
| new Promise((resolve) => { | |
| $el.click(); | |
| setTimeout(resolve, delaySecs * 1000); | |
| }), |
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
| WEBVTT | |
| 1 | |
| 00:00:01.000 --> 00:00:10.000 | |
| Welcome to bitmovin's bitdash! | |
| 2 | |
| 00:00:11.000 --> 00:00:15.000 | |
| Experience our highly optimized MPEG-DASH clients... |
OlderNewer