Skip to content

Instantly share code, notes, and snippets.

View sogful's full-sized avatar

cv sogful

View GitHub Profile
@rebane2001
rebane2001 / twitter-card-mod.js
Last active November 14, 2025 02:10
Twitter Card Mod (paste into console) // Note: Moved to https://github.com/rebane2001/TweetsAgainstHumanity/ (get the extension/userscript there)
twitterCardCount = 5;
function getNextTweets(count) {
const nextTweets = [...document.querySelectorAll("[data-testid='cellInnerDiv']:not(:has(>.HiddenTweet)) [data-testid='tweet']:not([data-twc-used])")].slice(0, count);
nextTweets.forEach(e => e.dataset.twcUsed = true);
return nextTweets;
}
function setStyle(styleText) {
let styleEl = document.querySelector(".twc-style");
@Endermanch
Endermanch / swag.py
Created August 20, 2025 15:28
Swag and unswag your IP address
def swag(ip: str) -> int:
parts = ip.strip().split('.')
if len(parts) != 4:
raise ValueError("Invalid IPv4 address: must have 4 octets")
total = 0
for i, p in enumerate(parts):
@rebane2001
rebane2001 / mlgCobalt.user.css
Created July 3, 2025 09:41
MLG userstyle for cobalt.tools (made as a joke, not recommended)
/* ==UserStyle==
@name MLG userstyle for cobalt.tools
@description made as a joke, not recommended
@namespace rebane2001
@author rebane2001
@version 1.0.0
@license MIT
@preprocessor default
==/UserStyle== */
@rebane2001
rebane2001 / glass-with-controls.html
Last active December 14, 2025 05:53
glass effect test css/svg thing (messy) - demo: https://codepen.io/rebane2001/details/OPVQXMv
<div style="position:absolute;top:-999px;left:-999px">
<svg
id="effectSvg"
width="200"
height="200"
viewBox="0 0 200 200"
xmlns="http://www.w3.org/2000/svg">
<filter id="displacementFilter4">
DISCORD NET INFO
Thanks: Delitefully and whois.ipip.net
## Core
| Domain | Description |
|------------------------|------------------------------------------|
| dis.gd | Marketing URL shortener |
| i.dis.gd | Internal URL shortener |
| discord.co | Admin panel, internal tools |
@hyperdefined
hyperdefined / cobalt.md
Last active March 23, 2025 20:21
cobalt instance dump I found online

How did you find these?

I used a service called Censys Search to find them. There's some queries you can do:

  • services.http.response.html_title: "cobalt"
    • This one can find web instances. Does lead to false positives, since any title can contain "cobalt."
  • services.http.response.body_hash="sha1:bf53b9ab96065ed263df9ebcd2b3b0c4d88242b5"
    • This one can find API instances. This is the hash of the response that all instances use.
  • You can probably also look for just port 9001/9000, but most of these ports are not default.

After I collected the list, I checked /api/serverInfo on the API instances to see if it has a url set. This can either be a subdomain or an IP. If it had a domain set, I tried to find the web instance by checking common subdomains (like co, cobalt, etc). If there were no connecting domains, I tried a look up the IP on SecurityTrails. Otherwise, it simply got listed as the IP.

@CallocGD
CallocGD / gd-email-blacklist.csv
Last active December 9, 2024 21:03
BlackListed-Email-Services-In-Geometry-dash
Service Reason Ban Date
yopmail.com Alt accounts this was a problem in 2020 Sometime in 2021
mail.com dislikebombing/botting early beta level lists or alias features late 2023
outlook.com comment ban evasions or alias features early 2024
hotmail.com same reason as outlook.com early 2024
gurillamail.com Used to work according to some older rummors. Unknown
gmx.com Acts the same as mail.com Unknown
yandex.com Unknown Unknown
Protonmail Likely For Spam Unknown
#!/usr/bin/env python3
# Download your data dump and place this file in the "messages" folder of your data dump.
# Run it using python
from datetime import datetime, timedelta, timezone
import dateutil.parser
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.dates as mdates
import csv
@TameemS
TameemS / debloatNox.md
Last active February 22, 2026 15:09 — forked from Log1x/debloatNox.md
Debloating & Optimizing Nox (Updated)

More of my guides: Debloating MEMu - Debloating LDPlayer

Log1x's guide is pretty outdated, so I have made an updated version

Debloating Nox (Updated)

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

This guide is mainly targeted at Android 12. It may work on Android 5, 7 and 9 inst

@ShinoharaTa
ShinoharaTa / first.js
Last active September 17, 2024 16:11
Get the bluesky first posts.
import bsky from "@atproto/api";
const { BskyAgent } = bsky;
const agent = new BskyAgent({ service: "https://bsky.social" });
const { data } = await agent.api.com.atproto.repo.listRecords({
reverse: true,
repo: "shino3.bsky.social",
collection: "app.bsky.feed.post",
});
console.log(data.records.slice(-1)[0]);