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
<template> | |
<div id="app"> | |
<div> | |
<button @click="startStream()">Start stream</button> | |
<div> | |
<video id="video" autoplay width="320" height="240"></video> | |
<div v-if="!stream">No stream found</div> | |
<canvas id="canvas" width="320" height="240" style="display: none;"></canvas> | |
</div> | |
</div> |
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
# Дан одномерный массив целых положительных и | |
# отрицательных чисел. Вместо этого массива создайте | |
# массив, в котором элемент равняется 1, если он | |
# больше или равный 0, и нулю, если число | |
# отрицательное. | |
# N= 6 -12 33 5 0 -3 7 | |
def main(): |
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
~/Documents/bun-env ⬢ 18.17.1 03:40:10 PM | |
❯ batcat index.ts | |
───────┬─────────────────────────────────────────────────────────────────────────────────────────── | |
│ File: index.ts | |
───────┼─────────────────────────────────────────────────────────────────────────────────────────── | |
1 │ console.log("Hello via Bun!"); | |
2 │ | |
3 │ | |
4 │ if(process.env.SECRET_FEATURE_ENABLED === 'true') { | |
5 │ console.log("Development mode"); |