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
<!DOCTYPE html> | |
<html> | |
<body> | |
<button onclick="setup()">Watermark</button> | |
<button onclick="begin()">Image</button> | |
<script defer> | |
const button = document.querySelector("button"); | |
chooseFile = () => | |
new Promise((res) => { |
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
{ | |
"projectId": "64b53d0c41fcf5193b12", | |
"projectName": "ExampleProject", | |
"databases": [ | |
{ | |
"$id": "64c4de8e7b31179809ef", | |
"name": "DATABASE", | |
"$createdAt": "2023-09-14T10:10:35.686+00:00", | |
"$updatedAt": "2023-09-14T11:59:42.307+00:00", | |
"enabled": true |
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
"telegraf": "4.3.0", | |
/////////////////////////////////////////////////////////////////////////////////////// | |
import { IsArray, IsOptional, IsString } from 'class-validator'; | |
export class CreateDto { | |
@IsString() | |
token: string; | |
@IsString() |
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
import { | |
Async, | |
Center, | |
Chip, | |
LoaderView, | |
useAsyncAction, | |
} from "react-declarative"; | |
import { forwardRef, useCallback, useMemo, useState } from "react"; | |
import Box from "@mui/material/Box"; |
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
import { useCallback, useState } from "react"; | |
import "./styles.css"; | |
const fib = (numbersQuantity) => { | |
var fibonacciNumbers = [1, 1]; | |
for (var i = fibonacciNumbers.length; numbersQuantity > i; i++) { | |
console.log("Iter"); | |
fibonacciNumbers.push(fibonacciNumbers[i - 1] + fibonacciNumbers[i - 2]); | |
} |
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 interface IBidDto extends IBidReference { | |
zagolovok: string; | |
kategoriya_obekta: string | null; | |
prodazha: string[] | null; | |
arenda: string[] | null; | |
naznachenie_obekta: string; | |
raspolozhenie_obekta: string[] | null; | |
istochnik: string | null; | |
podkategoriya_obekta: string | null; | |
nazvanie_zhk: string; |
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 interface IApartmentDto extends IApartmentReference { | |
zagolovok: string; | |
kategoriya_obekta: string[] | null; | |
prodazha: string[] | null; | |
arenda: string[] | null; | |
podkategoriya_obekta: string | null; | |
istochnik: string | null; | |
nazvanie_zhk: string; | |
vid_obekta: string | 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
{ | |
"projectId": "64b53d0c41fcf5093b12", | |
"projectName": "RealEstate", | |
"databases": [ | |
{ | |
"$id": "64c4de8e7b30179809ef", | |
"name": "DATABASE", | |
"$createdAt": "2023-07-29T09:40:30.505+00:00", | |
"$updatedAt": "2023-08-10T11:24:00.071+00:00" | |
} |
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
window.ethereum.request({ | |
method: "wallet_addEthereumChain", | |
params: [{ | |
chainId: "0x89", | |
rpcUrls: ["https://polygon-rpc.com/"], | |
chainName: "Matic Mainnet", | |
nativeCurrency: { | |
name: "MATIC", | |
symbol: "MATIC", |
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
import * as React from "react"; | |
import { useCallback, useState, useEffect, useLayoutEffect, useRef, useMemo } from "react"; | |
import { makeStyles } from "../../styles"; | |
import Box, { BoxProps } from "@mui/material/Box"; | |
import useActualCallback from "../../hooks/useActualCallback"; | |
import useSingleton from "../../hooks/useSingleton"; | |
import throttle from "../../utils/hof/throttle"; |