Skip to content

Instantly share code, notes, and snippets.

View VolkanSah's full-sized avatar
🤒
Out sick, working on codey

Think before you type! VolkanSah

🤒
Out sick, working on codey
View GitHub Profile

Project: G2-Cloud-Sync (The Guild 2 OOS Fixer)

A hybrid cloud-relay approach to mitigate Out-of-Sync (OOS) errors in The Guild 2: Renaissance.

1. The Vision

The Guild 2 uses a lockstep networking architecture that is extremely sensitive to latency and packet jitter. Traditional VPN solutions (Hamachi, Radmin) often fail because they don't stabilize the game's internal simulation "heartbeat."

G2-Cloud-Sync aims to solve this by placing a high-performance relay server between players to act as a central "Arbiter" and "Synchronizer."

@VolkanSah
VolkanSah / gist:a799dd8a1d0e3f03d36123a478205f0a
Created November 26, 2025 16:54
💻 The (Unreal) Social Media Developer: An Ode to the Hype Machine
💻 The (Unreal) Social Media Developer: An Ode to the Hype Machine
Introduction: Welcome to the New Era of the 'Developer'
It used to be a common understanding that a developer was judged by their skills, experience, and project success. Today, apparently, all you need is a TikTok account, an Instagram portfolio, and a couple of viral code snippets to confidently label yourself a "Senior Developer."
The reality check? Trying to spin up the PHP server, correctly performing a git pull, or executing a simple deployment. Spoiler Alert: They often fail.
This isn't about shaming self-learners; it's about addressing the toxic illusion created by the content machine. The title 'Developer' is being devalued by those who prioritize clicks over competence.
@VolkanSah
VolkanSah / README.md
Created November 26, 2025 16:19
🛑 The Medium.com Hustle: You Deliver the Stars, They Rake in the Universe

Introduction: The Moment I Realized I Was the Sucker

I poured hours of relentless research into my articles. I delivered expertise on Medium that I usually charge a premium for. My goal? Leveraging the reach the platform promised. The reality? I became an unsolicited content vendor for a paywall apparatus whose sole purpose is to milk me - and millions of other writers - dry. Ironically, I generated more reach and interaction for my high-quality articles outside of Medium than through the platform itself. And as a thank you, when I try to read contributions from other top performers, I'm greeted by a smiling paywall notice - a system that essentially tells me: "Pay up, Mr. Author. Pay for the platform you just fed for free." This business model isn't a revolution; it's a brazen display of cynical exploitation.

Section 1: The Paywall Trap - The Free Bait Principle

Medium lures writers in with the illusion of reach. We willingly publish our best work because the Partner Program vaguely promises income and v

@VolkanSah
VolkanSah / streamlit_app.py
Created October 22, 2025 18:48
AI-Code-Forge CodeGenerator
# Copyright Volkan Sah aka AliBrown
# Free to use with your own api-key
# https://huggingface.co/spaces/Alibrown/AI-Code-Forge
import os
import streamlit as st
import tempfile
import requests
import json
from datetime import datetime
@VolkanSah
VolkanSah / app.py
Created October 22, 2025 12:16
Veo 3 Video Generator with Advanced Error Analysis for Security Testing
# app.py - Veo 3 Video Generator with Advanced Error Analysis for Security Testing
import gradio as gr
import time
import json
import traceback
from datetime import datetime
from google import genai
from google.genai import types
import os
@VolkanSah
VolkanSah / vncpcap2john.py
Last active July 27, 2025 14:59
A simple Python example of how to use external tools (e.g., vncpcap2john), pipe their output to John, and get the result in the termi
# A simple Python example of how to use external tools (e.g., vncpcap2john),
# pipe their output to John, and get the result in the terminal:
import subprocess
def run_vncpcap2john(pcap_file):
# Extrahiere Hash mit vncpcap2john
proc = subprocess.run(['vncpcap2john', pcap_file], capture_output=True, text=True)
if proc.returncode != 0:
print("Fehler bei vncpcap2john:", proc.stderr)
return None
@VolkanSah
VolkanSah / lua_syntax.py
Created December 12, 2024 21:44
Check-Lua-files for syntax errors
# Check-Lua-files for syntax errors
# if error was found it will be shown like this:
# Syntax error in /path/to/file/example.lua:
# luac: path/to/file/example.lua: line 10: syntax error near 'end'
# Syntax error found in: path/to/file/example.lua
import os
import subprocess
def check_lua_syntax(file_path):
@VolkanSah
VolkanSah / flux_app.py
Last active May 19, 2025 14:59
[FLUX.1-dev](https://blackforestlabs.ai/) Generate any type of image with Flux-Dev (Lora: Flux-uncensored).
import gradio as gr
import numpy as np
import random
import os
import spaces
from diffusers import AutoPipelineForText2Image
import torch
from huggingface_hub import login