Skip to content

Instantly share code, notes, and snippets.

View Artemka1806's full-sized avatar
🇺🇦
Glory to Ukraine!

Artemka1806 Artemka1806

🇺🇦
Glory to Ukraine!
View GitHub Profile

Over the course of Discord history there have been various methods to crash discord, some that have been patched out include special unicode characters, a special image I couldn't get a hold of myself, and a special gif that used to crash IOS users.

NOT patched out are videos that abuse -going in with a RGBY color editor and changing to an invalid color -editing sound above the sound barrier -using (I believe) FFMPEG to stitch together videos of different resolutions together.

Now about the last one; chromium does not account for the possibility of a video changing resolution mid-way through, so the video player "throws up an error, shits itself, and takes down discord with it--in some cases even your operating system too" - paraphrased.


@undrafted
undrafted / *setup.md
Created March 18, 2021 14:27 — forked from leoherzog/*setup.md
Google Doc Clean HTML Output, powered by Apps Script

Google Doc Clean HTML Output, powered by Apps Script

Add this function to your Apps Script project and feed it an ID to a Google Doc.

If you need this on a lot of Docs, you may want to make a new Apps Script project to use as a library. Simply copy and paste this code to the new project, go to the script that's tied to your Doc, add your new Library (the script ID), and call var html = *NameOfYourLibraryProject*.getContent(DocumentApp.getActiveDocument().getId());

###
# Telegram-казино
# Этот код позволяет понять, какие именно значения выпали в дайсе "казино" по тому, что вернул Bot API
# Авторы: @Groosha, @svinerus | 2020 год
###
from typing import List
# 0 1 2 3
casino = ["BAR", "виноград", "лимон", "семь"]
@brainysmurf
brainysmurf / README.md
Last active June 21, 2024 05:53
Things one can get used to for the V8 Google Apps Scripts engine

Things one can get used to for the V8 Google Apps Scripts engine

A bit of a monologue about various syntax changes and adjustments in learning and using the tool.

Logging is slooooooow

I know. Everyone knows.

That's why I wrote a library that writes to a spreadsheet instead. Ever since I started using it I'm far more productive. I don't know how people are still putting with that god-awful lagging logger.

@wynand1004
wynand1004 / RPS_ASCII_Art.py
Created October 15, 2017 04:05
Rock, Paper, Scissors ASCII Art
# Rock Paper Scissors ASCII Art
# Rock
print("""
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
%reset-Button {
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
/* inherit font & color from ancestor */