Skip to content

Instantly share code, notes, and snippets.

View noblereign's full-sized avatar
🐺
weird dog

Noble noblereign

🐺
weird dog
View GitHub Profile

EDIT: I had at least one mistake in the first SQL: I actually excluded the spam of the last hour instead of measuring only that interval. This does not change the interpretation of the result, though, because the spamming went on for a while. I corrected < NOW() - INTERVAL '1 hours' to > NOW() - INTERVAL '1 hours' and apologize for the inconveniencies. There may be more bugs - this is just a quick hack.

The current spam seems to contain a very limited number of images, so there may be a way to detect the spam by using these images.

Let's see if the blurhashes are connected to the spam, reliably. We expect two results since we currently see two images that are used. The tag is known to contain a lot of spam, but it may contain some ham.

SELECT m.blurhash, count(*) FROM public.tags t
right join statuses_tags st on t.id = st.tag_id
@dphfox
dphfox / Flex.lua
Last active February 28, 2024 10:51
--[[
A special key for property tables.
When applied to a UIListLayout, enables flexible sizing on the laid out UI
objects.
When applied to a GuiObject in a [Flex]-ed UIListLayout, opts the object
into flexible sizing - the object's size will be overwritten along the
direction of layout to fill up spare space.
@Prajjwal
Prajjwal / ephemeral-file-sharing-services.md
Last active November 22, 2023 17:36
A List of Ephemeral File Sharing Services

A List of Ephemeral File Sharing Services

Contributions welcome.

~ Prajjwal Singh

Service CLI? Max Size Direct Access Files Expire? Can Limit Download Count? Password Protection HTTPS
c-v.sh curl -F 4 GB Yes Yes, by Mister Alg. No No Enforced
FileIO Yes 5 GB Yes Optionally Fixed @ 1 No Yes