Skip to content

Instantly share code, notes, and snippets.

View ErenayDev's full-sized avatar
🦀
Learning Rust

Erenay ErenayDev

🦀
Learning Rust
View GitHub Profile
declaration:youtube:get_metadata{description:Retrieves metadata of YouTube videos.,parameters:{properties:{urls:{description:Urls of videos for which metadata should be retrieved for.,items:{type:STRING},nullable:true,type:ARRAY}},propertyOrdering:[urls],type:OBJECT},response:{anyOf:[{description:Metadata of a video.,properties:{channel_id:{nullable:true,type:STRING},channel_name:{nullable:true,type:STRING},like_count:{format:int64,nullable:true,type:INTEGER},publish_date:{description:Date of when the video was published in YYYY-MM-DD format.,nullable:true,type:STRING},title:{nullable:true,type:STRING},url:{nullable:true,type:STRING},video_length:{description:The length of the video in ISO 8601 format.,nullable:true,type:STRING},view_count:{format:int64,nullable:true,type:INTEGER}},propertyOrdering:[channel_id,channel_name,like_count,publish_date,title,url,video_length,view_count],title:#/components/schemas/VideoMetadata,type:OBJECT}],type:ARRAY}}
declaration:youtube:play{description:Play video or playlist o
@jbreckmckye
jbreckmckye / Cloudflare.md
Last active December 7, 2025 21:32
The CloudFlare outage was a good thing

The Cloudflare outage was a good thing

Cloudflare, the CDN provider, suffered a massive outage today. Some of the world's most popular apps and web services were left inaccessible for serveral hours whilst the Cloudflare team scrambled to fix a whole swathe of the internet.

And that might be a good thing.

The proximate cause of the outage was pretty mundane: a bad config file triggered a latent bug in one of Cloudflare's services. The file was too large (details still hazy) and this led to a cascading failure across Cloudflare operations. Probably there is some useful post-morteming about canary releases and staged rollouts.

# Windows İçin
- New-NetQosPolicy -Name "Upload" -ThrottleRateActionBitsPerSecond 20MB # Upload hızınızın %85-95'i
- New-NetQosPolicy -Name "LowLatency" -IPProtocolMatchCondition UDP -PriorityValue8021Action 6
- Download için NetLimiter, cFosSpeed, TMeter gibi üçüncü parti yazılım indirmeniz gerekli.
- Silmek isterseniz:
- Remove-NetQosPolicy -Name "Upload"
- Remove-NetQosPolicy -Name "LowLatency"
Virtual hosts search:
https://pentest-tools.com/information-gathering/find-virtual-hosts
Descobertas de virtual hosts
https://github.com/jobertabma/virtual-host-discovery
bruteforce virtual hosts:
https://github.com/gwen001/vhost-brute
Cloudflare WAF bypass tool 1:
@Jobians
Jobians / install-deno-bun-termux.md
Created March 22, 2025 19:18
Installing Deno.js and Bun.js in Termux (Proot Ubuntu)

This guide covers installing Deno.js and Bun.js in Termux using proot Ubuntu.

1. Install Termux and Proot Ubuntu

First, update Termux and install Ubuntu using proot-distro:

pkg update && pkg upgrade -y
pkg install proot-distro -y
proot-distro install ubuntu
proot-distro login ubuntu
@maoxiaoke
maoxiaoke / cline-system.txt
Last active October 15, 2025 18:03
An example of cline system prompt
You are Cline, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.
====
TOOL USE
You have access to a set of tools that are executed upon the user's approval. You can use one tool per message, and will receive the result of that tool use in the user's response. You use tools step-by-step to accomplish a given task, with each tool use informed by the result of the previous tool use.
# Tool Use Formatting
@hackermondev
hackermondev / research.md
Last active December 11, 2025 21:50
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

@win3zz
win3zz / README.md
Created August 20, 2024 08:31
Live2D Interactive Anime Character on a Website

Live2D Interactive Anime Character on a Website

Recording 2024-08-20 130401

You may have seen something like the above on websites (especially Chinese and Japanese). These are interactive 2D character animations that can be integrated into websites. They are designed to run on the client side using JavaScript and graphics assets with Live2D technology. The characters can move and respond to user interactions.

Here’s a basic idea of how you can add a Live2D widget to a website:

  1. You need a Live2D model file, which typically includes a set of files such as textures, model data, and animation settings. You can create your own using Live2D Cubism software. Many ready-made models are available here: https://github.com/evrstr/live2d-widget-models
@CodeIter
CodeIter / termux-pacman-glibc-setup.sh
Last active December 13, 2025 18:20
Setup `glibc-runner` with pacman on Termux and install Deno.JS and Bun.JS .
#!/usr/bin/env -S bash -xeuo pipefail
set -xeuo pipefail
pkg install pacman patchelf \
which time ldd tree
echo
echo
@Kodehawa
Kodehawa / README
Last active November 6, 2025 18:28
Low-latency osu pipewire configuration
This is the lowest I could get audio latency to work on my system (Ryzen 5 5700X, 32GB 3600MHz RAM, RX 6700).
Scavenged as much of the man pages as possible to get a configuration close to what https://blog.thepoon.fr/osuLinuxAudioLatency/ gave.
This has given me no crackling nor lag, but it'll depend on your computer.
Use https://github.com/NelloKudo/osu-winello, export STAGING_AUDIO_DURATION=24000 and STAGING_AUDIO_PERIOD=12000 to start.
Try lower, I've been able to do as low as STAGING_AUDIO_DURATION=3500 and STAGING_AUDIO_PERIOD=7000.
To adjust both STAGING_AUDIO_DURATION and STAGING_AUDIO_DURATION, make sure the PERIOD is a multiply of DURATION
(3500 * 2 = 7000 duration, 4000 * 2 = 8000). This gives the highest chance of it to work.