Skip to content

Instantly share code, notes, and snippets.

View hugmouse's full-sized avatar
🏳️‍🌈
<- a rainbow flag wow

Mysh! hugmouse

🏳️‍🌈
<- a rainbow flag wow
View GitHub Profile
@hugmouse
hugmouse / main.py
Created August 13, 2023 15:16
Just iterates over your dialogs in Telegram and prints the name of the dialog and it's ID
import asyncio
from pyrogram import Client
# Replace with your API credentials
api_id = 1
api_hash = '1'
async def main():
async with Client("chat_iterator", api_id, api_hash) as app:
@hugmouse
hugmouse / main.py
Created August 13, 2023 15:14
Kicks new people from telegram chat
from datetime import timedelta, datetime
import pyrogram
from pyrogram import Client, filters
# Replace with your API credentials
api_id = 1
api_hash = '1'
# Replace with the target chat ID
@hugmouse
hugmouse / funny.py
Created June 11, 2022 17:10
Re-send last photo to the user/bot
import asyncio
import pyrogram.types
from pyrogram import Client
from pyrogram.filters import photo
api_id = 123
api_hash = "hash"
app = Client("my_account", api_id=api_id, api_hash=api_hash)
@hugmouse
hugmouse / chats.rar.go
Created July 23, 2021 15:14
Mysterious chats.rar parser written in go
package main
import (
"fmt"
"github.com/karrick/godirwalk"
"github.com/valyala/fastjson"
"os"
"strings"
)
@hugmouse
hugmouse / main.go
Created July 9, 2021 06:17
GoCV + screen capture attempt
package main
import (
"github.com/jezek/xgb"
"github.com/jezek/xgb/xproto"
"gocv.io/x/gocv"
"image"
"log"
"time"
)
@hugmouse
hugmouse / twitch_filter.txt
Created January 21, 2021 09:27
Twitch.tv Debloater
! 2021-01-20 https://www.twitch.tv
www.twitch.tv##.side-nav-exp--hold-width
www.twitch.tv##.top-nav__prime.tw-align-self-center.tw-flex-grow-0.tw-flex-nowrap.tw-flex-shrink-0.tw-mg-x-05
www.twitch.tv##div[class="tw-align-self-center tw-flex-grow-0 tw-flex-nowrap tw-flex-shrink-0 tw-mg-x-05"] > div > div > div > button
@hugmouse
hugmouse / yandex_filter.txt
Last active January 21, 2021 09:34
Yandex.ru Debloater (uBlock cosmetic filter)
! 2021-01-21 https://yandex.ru
yandex.ru##div.col.footer[role="complementary"] > div > div > div:nth-child(1)
yandex.ru##.desk-notif-card:nth-child(4)
yandex.ru##div.col.col_td_0.widgets__col.widgets__col_td_1
yandex.ru##div.desk-notif > div:nth-child(2)
yandex.ru##.services-new
yandex.ru##.home-link_intense-blue_yes.home-link
! 2021-01-21 https://mail.yandex.ru
mail.yandex.ru##.mail-Layout-Content > div:nth-child(4)
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreieahs3e4vtmnlz7ig7xebrqggcoci5gky4tnvb6x25puahgat2jaq ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreieahs3e4vtmnlz7ig7xebrqggcoci5gky4tnvb6x25puahgat2jaq ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@hugmouse
hugmouse / ublock_vas3k.club_removeSponsor
Created July 14, 2020 06:50
[uBlock] Фильтр для vas3k.club, который убирает спонсорский пост
! 7/14/2020 https://vas3k.club
vas3k.club##div.block:has(img[alt="💰"])