#[OA\Schema]
class BaseResponse {
#[OA\Property]
public ?string $message = null;
#[OA\Property(type: 'object')]
public mixed $result = null;
}
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
<?php | |
function findArrayWithLevenshtein( $input, $dic ) { | |
$minDistance = PHP_INT_MAX; | |
$correctedWord = $input; | |
foreach ( $dic as $key => $value ) { | |
$distance = levenshtein( $input, $key ); | |
if ( $distance < $minDistance ) { | |
$minDistance = $distance; |
# | Channels | Texnologiyalar |
---|---|---|
1 | Alitech | HTML, Javascript, ES6, JQuery, CSS, Bootstrap, Sass, ReactJS, Ilustrator, ... |
2 | Botir Ziyatov | HTML5, Python, Telegram Bot (python), Django, Server, ... |
3 | Code Leader | PHP, GIT, HTML&HTML5, MySQL, Bootstrap, ... |
4 | Farkhod Dadajanov | Windows, Linux, Cisco, Agular, SQL, Javascript, Ma'lumotlar tuzilmasi, NodeJS(full), GIT, Tensorflow, MongoDB, Docker, Go, ASP.Net Core, Compyuter Visoin, ReactJS, ... |
5 | [Javohir Group](https://www.youtube. |
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
*** | |
*** of PostgreSQL | |
ssh user@host "pg_dump -U db_user -h localhost -C --column-inserts" \ > dblocal.sql.gz | |
*** of MySQL | |
ssh user@host "mysqldump -u db_user -p db_name | gzip -9" > dblocal.sql.gz |
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
================================================================================ | |
tiny.cc/streamlist | |
tiny.cc/URLz | |
= | |
============================== RADIO STREAMS =================================== | |
!!!! 99 JAMZ : | |
$ mpv http://oom-cmg.streamguys1.com/mia991/mia991-tunein.mp3 |
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 convert = { | |
binary: { | |
toArrayBuffer(binary) { | |
return Uint8Array.from(binary, s => s.charCodeAt(0)).buffer; | |
}, | |
toBlob(binary, mimeType) { | |
return new Blob([binary], { type: mimeType }); | |
}, | |
toBase64: binary => btoa(binary) | |
}, |
FFMPEG filters provide a powerful way to programmatically enhance or alter videos, and it’s fairly simple to add a watermark to a video using the overlay filter. The easiest way to install ffmpeg is to download a pre-built binary for your specific platform. Then you don’t have to worry about including and installing all the right dependencies and codecs you will be using.
Once you have ffmpeg installed, adding a watermark is as easy as passing your existing source through an overlay filter like so:
ffmpeg -i test.mp4 -i watermark.png -filter_complex "overlay=10:10" test1.mp4
Basically, we’re passing in the original video, and an overlay image as inputs, then passing it through the filter, and saving the output as test1.mp4.
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
'http://www.utf8-chartable.de/unicode-utf8-table.pl?start=1024&utf8=-&unicodeinhtml=dec | |
'use numerical HTML column | |
Function Transliterate(Russian As String) | |
letters = Array("A", "B", "V", "G", "D", "E", "YO", "ZH", "Z", "I", "Y", "K", "L", "M", "N", "O", "P", "R", "S", "T", "U", "F", "H", "TZ", "CH", "SH", "SCH", "", "Y", "", "E", "YU", "YA", "a", "b", "v", "g", "d", "e", "yo", "zh", "z", "i", "y", "k", "l", "m", "n", "o", "p", "r", "s", "t", "u", "f", "h", "tz", "ch", "sh", "sch", "", "y", "", "e", "yu", "ya", "#") | |
i = 1040 | |
For Each letter In letters | |
Dim val As String | |
Select Case letter | |
Case "YO" | |
val = ChrW(1025) |