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
import { Extension } from "@tiptap/core"; | |
import "@tiptap/extension-text-style"; | |
export type ColorOptions = { | |
types: string[]; | |
}; | |
declare module "@tiptap/core" { | |
interface Commands<ReturnType> { | |
backColor: { |
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
import os | |
import pandas as pd | |
import telethon as T | |
from telethon.sync import TelegramClient | |
from telethon.tl.types import PeerUser, PeerChat, PeerChannel | |
from telethon.tl.functions.channels import InviteToChannelRequest | |
api_id = 324567127 | |
api_hash = 'xxxxxxxxxxxxxxxxx' | |
phone = '+8801817xxxxx' |
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
import threading | |
import time | |
import uuid | |
active_threads_ids = [] | |
no_of_threads = 4 | |
progress_task = [5, 3, 2, 1, 4, 1, 5, 5, 16, 8, 4, 8, 3] | |
progress_task_index = 0 | |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Deploy a service into an ECS cluster with service discovery endpoint | |
Parameters: | |
EnvironmentName: | |
Type: String | |
Default: production | |
Description: The name of the environment to add this service to | |
ServiceName: | |
Type: String | |
Default: nginx |
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
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Public VPC and subnets | |
Resources: | |
# | |
# Public VPC | |
# | |
PublicVpc: |