Skip to content

Instantly share code, notes, and snippets.

View potat-dev's full-sized avatar
🥔
Котик крутится, лабы мутятся

Denis Churilov potat-dev

🥔
Котик крутится, лабы мутятся
View GitHub Profile
@Sergeydigl3
Sergeydigl3 / .env
Last active November 11, 2025 23:21
Traefik Best wildcard setup
CF_API_TOKEN=token_same
CF_DNS_API_TOKEN=token_same # Idk which token name is valid
CF_EMAIL=[email protected]
DOMAIN_1=ex1.ru
DOMAIN_2=ex2.ru
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 24, 2025 02:00
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@mathix420
mathix420 / medium.user.js
Last active November 20, 2025 08:01
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 2.4
// @inject-into content
@ohld
ohld / telegram_watch_stories.py
Created August 16, 2023 13:08
Watch million telegram stories for free with python and telethon
"""
t.me/danokhlopkov
x.com/danokhlopkov
github.com/danokhlopkov
Strategy:
1. get chats / groups you're in
2. iterate over participants and find ones with stories
3. watch them
@BrianPugh
BrianPugh / asciichartpy.py
Created August 30, 2022 15:27
Rich-compatible, modern python version of https://github.com/kroitor/asciichart
# -*- coding: utf-8 -*-
"""Module to generate ascii charts.
This module provides a single function ``plot`` that can be used to generate an
ascii chart from a series of numbers. The chart can be configured via several
options to tune the output.
Modified from for modern python and to use ``rich``:
https://github.com/kroitor/asciichart/blob/master/asciichartpy/__init__.py
"""
@Mashpoe
Mashpoe / main.c
Last active January 25, 2025 13:25
ASCII Tesseract Rotation C Program
#include <stdio.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <windows.h>
// width and height of screen
#define ww 100
#define wh 50
void clr(CHAR_INFO* d)
@esmitt
esmitt / transparency_glfw.cpp
Created June 4, 2021 15:09
Main file to create a transparency window + transparency framebuffer using GLFW. This sample only draws a rotating rectangle.
#include <windows.h>
#include <GLFW/glfw3.h>
#include <iostream>
// change this to int main() to allow the console
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, char*, int nShowCmd)
{
GLFWwindow* window;
int windowSizeW = 640, windowSizeH = 480;
// initialize the library
@prologic
prologic / LearnGoIn5mins.md
Last active November 4, 2025 04:32
Learn Go in ~5mins
# Read more about setting it up
# https://medium.com/@ljmocic/make-telegram-bot-for-notifying-about-new-rss-feed-items-4cfbcc37f4fd
from datetime import timedelta, datetime
from dateutil import parser
from pprint import pprint
from time import sleep
import requests
import feedparser