Skip to content

Instantly share code, notes, and snippets.

View soter19's full-sized avatar
🪲
Hunting bugs

Soter soter19

🪲
Hunting bugs
View GitHub Profile
@wy193777
wy193777 / download.py
Last active November 7, 2024 13:23
Download file through HTTP using requests.py and tqdm
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@SanariSan
SanariSan / readme.md
Last active November 25, 2024 03:47
Telegram HTTP bot API via CURL | Send text, photos, documents, etc.

Here are some examples on how to use Telegram bot api via CURL

Prerequisites

For getting messages in private chat with bot

  • Create a bot using @BotFather, get it's token
  • Start conversation with bot
  • Run following curl command
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
@denisvmedia
denisvmedia / cheatsheet.md
Last active August 8, 2023 16:44
midjourney cheat sheet

Commands

/imagine

/show

/info

/fast