Skip to content

Instantly share code, notes, and snippets.

View sub314xxl's full-sized avatar

Konstantin Mokhnatkin sub314xxl

  • Moscow, Russian Federation
View GitHub Profile
@EgorBron
EgorBron / discord-revive.md
Last active October 6, 2025 13:05
Восстанавливаем доступ к ДС с помощью Amnezia WG

Оживляем ДС

Ранее, здесь находился гайд по тому, как вернуть доступ к Discord и прочим недоступным ресурсам.

Но в свете последних событий — сбои Cloudflare (как с их стороны, так и со стороны этой страны), появления адекватных способов сделать всё как раньше, [вставьте-сюда-ваши-необузданные-догадки-почему-всё-накрылось-медным-тазом] — теперь тут пусто.

Да и банальный уход автора из ДС, ровно как и малое понимание в тунеллировании и прочем таком, как-то отбросили желание поддерживать актуальность статьи.

@ilaydadastan
ilaydadastan / gsoc24-jitsi-log-analyser.md
Last active September 12, 2025 10:18
This file is for the final submission of the Jitsi Meet Log Analyser project within the scope of Google Summer of Code 2024.
@httpsx
httpsx / WireGuard DPI обход РКН - Windows.md
Last active November 23, 2025 06:32
WireGuard DPI обход РКН - Windows

Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.

Шаг 0: Отключитесь от всех туннелей.

Шаг 1: Редактируем Клиент конфиг

Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..." Step1

После DNS добавляем новую строку

@tichopad
tichopad / create-sentry-projects.ts
Created March 21, 2023 12:46
Bulk create Sentry Projects
import fs from 'fs/promises';
const SENTRY_API_KEY = 'enterapikeyhere';
const ORG_SLUG = 'enterorgslughere';
const TEAM_SLUG = 'enterteamnamehere';
const fetchSentry = (
path: string,
method: 'GET' | 'POST' | 'PUT' = 'GET',
body?: Record<string, any>,
@axelbdt
axelbdt / django-postgresql-15.md
Last active May 22, 2025 02:15
# Django and PostgreSQL 15, the rules have changed

Django and PostgreSQL 15, the rules have changed

Postgres 15 is just out, and while there is a lot to love about this new release, you're in for a surprise if you try to set it up with Django following tutorials like this one.

The reason is stated in the release announcement:

Remove PUBLIC creation permission on the public schema (Noah Misch) The new default is one of the secure schema usage patterns that Section 5.9.6 has recommended...

Provided your web app doesn't access your database as a superuser (it shouldn't) and uses a dedicated user, it is not allowed to use the public schema anymore. You have to create one for this specific user, and the next section will

@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active November 24, 2025 22:04 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Last updated: 13 November 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@achetronic
achetronic / get-docker-image-tag-by-sha.sh
Created July 2, 2022 19:19
Find the tag of a Docker image having only the SHA256
#!/bin/bash
SHA256_HASH="5bb4faffc8b35e2702b2ffa78e982b979d7b66db29bd55b0c58de8fa745df661"
for i in {1..1000}
do
echo "Looking into page: $i"
curl "https://registry.hub.docker.com/v2/repositories/apache/superset/tags/?page=$i" \
| jq '.results[] | select(.["images"][]["digest"] == "sha256:'${SHA256_HASH}'")'
@taskylizard
taskylizard / fmhy.md
Last active November 26, 2025 07:06
/r/freemediaheckyeah, in one single file (view raw)
@sebastian-de
sebastian-de / laptop_unsuck.json
Last active March 5, 2025 20:07
Easy Effects preset to improve the sound of the Thinkpad P14s Gen 2 AMD built-in speakers . An updated version can be found here: https://github.com/sebastian-de/easyeffects-thinkpad-unsuck
{
"output": {
"bass_enhancer": {
"amount": 22.0,
"blend": 0.0,
"floor": 10.0,
"floor-active": true,
"harmonics": 9.999999999999995,
"input-gain": 0.0,
"output-gain": -8.0,
@jeosadn
jeosadn / .gitignore
Last active March 30, 2025 20:58 — forked from rptb1/.gitignore
Convert YouTube subscriptions exported via Google Takeout into OPML
*~