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
using DevExpress.XtraRichEdit; | |
using DevExpress.XtraRichEdit.API.Native; | |
using System; | |
using System.Collections.Generic; | |
namespace DocumentServerExample1 { | |
class Program { | |
const string templatePath = "Document.docx"; | |
const string resultPath = "..\\..\\result.docx"; |
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
# Define port and target IP address | |
# Random here! | |
[int] $Port = 48157 | |
[string] $host = "hellish-body.auto.playit.gg" | |
$Address =[System.Net.Dns]::GetHostAddresses($host); #[system.net.IPAddress]::Parse($IP) | |
# Create IP Endpoint | |
# $End = New-Object System.Net.IPEndPoint $Address, $port | |
# Create Socket |
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 logging | |
from typing import Any | |
from asyncio import gather | |
from aiogram import Bot, Dispatcher, types | |
from aiogram.types import Message | |
TOKEN = "6wo" | |
dp = Dispatcher() |
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 logging | |
from typing import Any | |
from aiogram import Bot, Dispatcher | |
from config import TOKEN | |
dp = Dispatcher() | |
logger = logging.getLogger(__name__) |
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 asyncio | |
import logging | |
import os | |
from aiogram import Bot, Dispatcher, executor, types | |
from aiogram.utils.exceptions import MessageNotModified | |
from aiogram.dispatcher.filters.filters import BoundFilter | |
API_TOKEN = os.environ.get('TOKEN', '') |
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 asyncio | |
import logging | |
import os | |
from aiogram import Bot, Dispatcher, executor, types | |
from aiogram.utils.exceptions import MessageNotModified | |
API_TOKEN = os.environ.get('TOKEN', '') | |
logging.basicConfig(level=logging.INFO) |
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 sys | |
import time | |
from typing import TypeVar | |
from dataclasses import dataclass | |
from telethon import TelegramClient, events | |
import datetime | |
from telethon import types | |
import logging |
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
(function () { | |
function getJwt(loginData, success, error, complete) { | |
$.ajax({ | |
url: loginData.path, | |
type: 'GET', | |
data: { | |
//grant_type: 'password', | |
login: loginData.user, |
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
CREATE OR REPLACE FUNCTION public.generate_dataclass(text, BOOLEAN) | |
returns TABLE("table_name_generated" text, "declaration_generated" text) | |
AS $function$ | |
DECLARE | |
select_start_def text default ''; | |
select_end_def text default ''; | |
property_def text default ''; | |
import_def text default 'import datetime'||chr(10)||'import typing'||chr(10)||'from dataclasses import dataclass'||chr(10)||chr(10); |
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
!function(e,t,a){"use strict";"undefined"!=typeof window&&"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&module.exports?module.exports=a():t.exports?t.exports=a():t.Fingerprint2=a()}(0,this,function(){"use strict";var d=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var a=[0,0,0,0];return a[3]+=e[3]+t[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]+t[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]+t[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]+t[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]},g=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var a=[0,0,0,0];return a[3]+=e[3]*t[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]*t[3],a[1]+=a[2]>>>16,a[2]&=65535,a[2]+=e[3]*t[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]*t[3],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[2]*t[2],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[3]*t[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],a[0]&=65535,[a |
NewerOlder