Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
"""
GStreamer & GLib Multiprocessing/Threading Template with RTSP Data Relay
-------------------------------------------------------------------------
This template demonstrates how to safely run GStreamer pipelines using
GLib.MainLoop/GLib.MainContext in Python. It covers:
- Initialization of GStreamer in the proper process/thread.
- Creating a dedicated GLib.MainContext and MainLoop for each pipeline.
- Handling GStreamer bus messages (EOS, ERROR) to trigger a graceful shutdown.
#!/usr/bin/env python3
"""
This script generates documentation for Python code by statically analyzing source files.
It extracts metadata such as docstrings, type annotations, imports, dependencies, and more.
The output can be used by an AI to understand a library or codebase, and includes options
to filter by type (module, class, function), name patterns, and whether to include private members.
"""
import ast, os, argparse, importlib, re
from typing import List, Dict, Any, Optional
clear //Clear console
echo Config Loading (1/2)
//--------------------------------------------------------------//
// Content
// 1. Main Settings
// 2. Bindings
// 3. Crosshair
// 4. Hud
// 5. Radar
// Config for server
sv_cheats 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
mp_warmup_end
mp_freezetime 0
mp_roundtime 60
mp_roundtime_defuse 60
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
-NOVID -TICKRATE 128 -HIGH +FPS_MAX 0 +CL_SHOWFPS 1 +CL_INTERP 0 +CL_INTERP_RATIO 1 +RATE 128000 +CL_UPDATERATE 128 +CL_CMDRATE 128 -console -fullscreen -refresh 144 +exec autoexec.cfg +exec sumss.cfg
bot_kick
exec gamemode_competitive
mp_free_armor 1
mp_freezetime 3
mp_weapons_allow_map_placed 1
mp_humanteam any
mp_restartgame 1
mp_round_restart_delay 3
mp_roundtime 80250
mp_maxrounds 30