Skip to content

Instantly share code, notes, and snippets.

View ErenayDev's full-sized avatar
🦀
Learning Rust

Erenay ErenayDev

🦀
Learning Rust
View GitHub Profile

Architecture: Modular Monolith Status: Production_Ready License: MIT

The Ultimate Project Layout Reference

This reference outlines a robust file system layout for enterprise-grade software projects. It provides a blueprint for structuring source code to achieve a modular, maintainable architecture.

The layout accounts for complex requirements such as multiple transport types (HTTP, WebSockets, CLI), varied data encodings, and multi-tenancy configurations where specific clients require custom database extensions. While few projects require every directory presented here simultaneously, this guide serves as a comprehensive map for placing code and resources correctly. It also guides you on how to scale down the layout for smaller projects below the full layout.

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 25, 2025 23:22
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 January 8, 2026 12:42
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 January 23, 2026 18:16
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 24, 2025 16:21
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