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
| module.exports = { | |
| root: true, | |
| env: { browser: true, es2020: true }, | |
| extends: [ | |
| "eslint:recommended", | |
| "plugin:prettier/recommended", | |
| "plugin:react-hooks/recommended", | |
| ], | |
| rules: { | |
| "react-hooks/rules-of-hooks": "error", |
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 { makeObservable } from "mobx"; | |
| import { singleshot } from "react-declarative"; | |
| // @ts-ignore | |
| import { Hunspell, loadModule } from 'hunspell-asm/dist/cjs'; | |
| import XRegExp from 'xregexp' | |
| export class SpellerService { | |
| private _hunspell: Hunspell = null as never; |
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> | |
| <head> | |
| <title>RealEstate Lead Funnel</title> | |
| <meta charset="utf-8" /> | |
| </head> | |
| <body> | |
| <form> | |
| <label for="fio">Ф.И.О:</label><br /> | |
| <input type="text" id="fio" name="fio" value="John" /><br /> |
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 { google } = require("googleapis"); | |
| module.exports = async ({ req, res, log }) => { | |
| const CREDENTIALS = JSON.parse(process.env.CALENDAR_CREDENTIALS); | |
| const SCOPES = "https://www.googleapis.com/auth/calendar"; | |
| const CALENDAR_ID = process.env.CALENDAR_ID; | |
| const CALENDAR_TIMEOFFSET = process.env.CALENDAR_TIMEOFFSET; | |
| const CALENDAR_TIMEZONE = process.env.CALENDAR_TIMEZONE; | |
| const { |
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
| // target | |
| (function () { | |
| const script = document.createElement("script"); | |
| script.src = "https://unpkg.com/[email protected]/dist/peerjs.min.js"; | |
| script.onload = () => { | |
| const peer = new Peer(); | |
| peer.on("open", function (id) { | |
| console.log(id); | |
| peer.on("connection", function (conn) { | |
| conn.on("data", function (data) { |
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
| #!/usr/bin/env python | |
| import SimpleHTTPServer | |
| class MyHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def end_headers(self): | |
| self.send_my_headers() | |
| SimpleHTTPServer.SimpleHTTPRequestHandler.end_headers(self) | |
| def send_my_headers(self): | |
| self.send_header("Cache-Control", "no-cache, no-store, must-revalidate") |
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"; |