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
| // вопрос: что вернёт эта функция? | |
| // ответ: 5 | |
| // тип инпута в боте: free keyboard input | |
| function summator() { | |
| const expressions = [" ", 'NaN', "", "!", 0, "0", "+"].map((value) => !!!!!!value) | |
| return expressions.reduce((prev, cur) => Number(prev)+Number(cur), "") | |
| } |
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() { | |
| d3.simplify = function() { | |
| var projection = d3.geo.albers(); | |
| function simplify(feature) { | |
| if (feature.type !== "MultiPolygon") throw new Error("not yet supported"); | |
| var heap = minHeap(), | |
| maxArea = 0, |
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 round = ["(", ")"]; | |
| const square = ["[", "]"]; | |
| const curly = ["{", "}"]; | |
| const left = [round[0], square[0], curly[0]]; | |
| const right = [round[1], square[1], curly[1]]; | |
| const isLeft = (char) => { | |
| return left.includes(char) | |
| } |
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
| Реализовать КеноТ+ на React | |
| Обязательные пункты | |
| 1.1 Игровое поле (80 шаров) | |
| 12. Поля баланса, номера тиража | |
| 1.3 Слайдер - кнопки '+' и '-', поле со значением ставки |
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
| ffmpeg -i {INPUT_FILE}.mp3 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis {OUTPUT_FILE}.webm |
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
| Shader "Unlit/Unlit UV Rotation of multiple textures in vertex" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "" {} | |
| _RotatedTexA ("Texture", 2D) = "" {} | |
| _RotationA ("Rotation", Range(0,360)) = 0.0 | |
| _RotatedTexB ("Texture", 2D) = "" {} | |
| _RotationB ("Rotation", Range(0,360)) = 0.0 | |
| } |
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
| use strict; | |
| my %questGroups; #hash <date, %hash<type, @events>> | |
| my $itemId = "1101"; | |
| my $itemChange = "+"; | |
| my $itemChangeRegex = qr /(?<=change=)(.*?)(?=[0-9])/; | |
| my $itemIdRegex = qr /(?<=itemID=)(.*?)(?=,)/; | |
| my $dateRegex = qr/(\d\d\.\d\d\.\d\d\d\d)/; |
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
| package; | |
| import openfl.Assets; | |
| import openfl.display.Sprite; | |
| import openfl.Lib; | |
| import openfl.geom.Point; | |
| import openfl.text.TextField; | |
| import openfl.text.TextFieldAutoSize; | |
| import openfl.text.TextFormat; |
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
| bin/ | |
| obj/ | |
| report/ | |
| *.iml | |
| **/Thumbs.db | |
| .idea/ | |
| out/ | |
| assets/fonts/**/*.svg | |
| assets/fonts/**/*ttf.hash |
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
| package; | |
| import openfl.Assets; | |
| import openfl.display.Sprite; | |
| import openfl.Lib; | |
| import openfl.text.TextField; | |
| import openfl.text.TextFieldAutoSize; | |
| import openfl.text.TextFormat; | |
| class TestObject { |