Skip to content

Instantly share code, notes, and snippets.

View igorbrigadir's full-sized avatar

Igor Brigadir igorbrigadir

View GitHub Profile
@igorbrigadir
igorbrigadir / ips.json
Created October 13, 2023 08:31
Google Cloud europe-west1
[
{
"ipv4Prefix": "8.34.208.0/23",
"service": "Google Cloud",
"scope": "europe-west1"
},
{
"ipv4Prefix": "8.34.211.0/24",
"service": "Google Cloud",
"scope": "europe-west1"
@igorbrigadir
igorbrigadir / README.md
Created August 23, 2023 15:01
Dublin Electoral Divisions
@igorbrigadir
igorbrigadir / top10.csv
Last active July 28, 2023 15:42
UA Top 10 and top 100 Users from https://bsky.jazco.dev/ 2023-07-28. Moved to main repo: https://github.com/igorbrigadir/bluesky-top-ua
label size
wolfigelkott.crimea.ua 5.9
pes.bsky.social 5.17
deadcake.bsky.social 4.97
teren.bsky.social 4.9
mathan.dev 4.88
k1sa.me 4.76
kiwi.qirim.land 4.6
olganova.bsky.in.ua 4.59
leodron.bsky.social 4.34
#!/bin/bash
#
# the first 100, anyways
#
curl -s -H "Authorization: Bearer $(curl -s -X POST -H "Content-Type: application/json" -d '{"identifier": "me.bsky.social", "password": "letmein"}' "https://bsky.social/xrpc/com.atproto.server.createSession" | jq -j ".accessJwt")" "https://bsky.social/xrpc/app.bsky.graph.getMutes?limit=100" | jq -r '.mutes | .[] | .did' | xargs -I{} -P10 curl -s 'https://plc.directory/{}' | jq -r '.alsoKnownAs[0]' | sed -e 's#at://#@#' | sort
@igorbrigadir
igorbrigadir / get_telegram_channels_descriptions_folders_csv.py
Created April 8, 2023 01:05
Get your own Telegram Channels and descriptions in a CSV with the Folder names
import csv
import asyncio
from telethon import TelegramClient
from telethon.tl.functions.messages import GetDialogFiltersRequest
from telethon.tl.functions.channels import GetFullChannelRequest
# Replace the following values with your own API ID and hash obtained from https://my.telegram.org
api_id = "..."
api_hash = "..."
@igorbrigadir
igorbrigadir / text.md
Last active March 1, 2023 22:09
Twitter Violent Speech Policy Changes

Violent Speech Policy

Overview

February 2023

You may not threaten, incite, glorify, or express desire for violence or harm.

Twitter is a place where people can express themselves, learn about what’s happening, and debate global issues. However, healthy conversations can’t thrive when violent speech is used to deliver a message. As a result, we have a zero tolerance policy towards violent speech in order to ensure the safety of our users and prevent the normalization of violent actions.

@igorbrigadir
igorbrigadir / post.sh
Created February 8, 2023 22:28
twurl v2 API Posting tweet example
# Replace the ... appropriately.
# See https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
# Tweet
twurl -X POST -A "Content-type: application/json" -d '{"text":"Simple tweet example"}' "/2/tweets"
# Retweet
twurl -X POST -A "Content-type: application/json" -d '{"tweet_id":"..."}}' "/2/users/...your_user_id.../retweets"
@igorbrigadir
igorbrigadir / 2022-11-06_verified_ids.txt
Last active May 4, 2023 16:44
All 423,502 @verified follows from 2022-11-06, which is all the twitter user IDs that were verified before Twitter's new Blue Verification.
This file has been truncated, but you can view the full file.
1040206865387409408
1378815453510914056
1124983612389171200
1250006106736398336
1151791608494473219
832501002200838144
752487114621718528
968788335207632896
968063439624052736
158686789
@igorbrigadir
igorbrigadir / genres.html
Last active October 23, 2022 15:41
all netflix genres
<html>
<body>
<a href="https://www.netflix.com/browse/genre/12739">20th Century Period Pieces</a><br/>
<a href="https://www.netflix.com/browse/genre/77213">Absurd Comedies</a><br/>
<a href="https://www.netflix.com/browse/genre/51063">Academy Award-Winning Films</a><br/>
<a href="https://www.netflix.com/browse/genre/1365">Acción y aventuras</a><br/>
<a href="https://www.netflix.com/browse/genre/2125">Acción y aventuras militares</a><br/>
<a href="https://www.netflix.com/browse/genre/801362">Action</a><br/>
<a href="https://www.netflix.com/browse/genre/10673">Action & Adventure Programmes</a><br/>
<a href="https://www.netflix.com/browse/genre/2653">Action Anime</a><br/>