Skip to content

Instantly share code, notes, and snippets.

View kala13x's full-sized avatar

Sandro Kalatozishvili kala13x

View GitHub Profile
@kala13x
kala13x / ue5.sh
Last active June 8, 2025 23:51
Unreal Engine 5 helper script to generate project files, build and run project on Linux
#!/bin/bash
# This source is part of "XAction" project
# 2024-2025 Sun Dro ([email protected])
# NOTE: Modify following variables to match your UE5 installation
# These paths are default and can be overridden with command line
# options or with the project.ini file from the same directory
UE5_PATH="/opt/ue5/UnrealEngine"
PROJECTS_DIR="/opt/ue5/projects"
PACKAGES_DIR="/opt/ue5/packages"
@kala13x
kala13x / xenv_ed_pub.axh
Last active December 8, 2025 09:50
Public Unique Long IDs for xcore server with simple and advanced generation algorithm (hex-binary)
51 49 D4 71 4F 9A 3C 90 92 1A 96 43 92 AC 95 72
02 D6 DC A7 0A 8D 22 33 31 26 74 66 3D AB 16 E6
CD 83 44 3E 6F E7 66 95 16 22 B2 00 A0 39 43 EA
00 D4 69 90 20 2D 34 6F 90 8F E9 71 46 D2 3F EE
52 1D 6C 50 B8 93 81 AD C2 EC 94 DF BF 78 4B F4
52 E7 1A 34 26 06 DD 98 A1 A5 07 F7 95 D3 FC 72
F3 5B C8 D6 0B 87 0D BB D8 C9 E0 C3 F2 A4 A6 4E
@kala13x
kala13x / xdb.c
Created February 23, 2023 17:50
XDB File Reader for CLI
/*!
* @file xdb/xdb.c
*
* 2015-2022 Sun Dro ([email protected])
*
* @brief Implementation of the XDB file parser
* Using: https://github.com/kala13x/libxutils
*/
#include <xutils/xstd.h>
@kala13x
kala13x / pcap2ts.c
Last active June 27, 2022 14:33
Extract MPEGTS payload from PCAP file
/*!
* @file pcap2ts.c
*
* 2015-2022 Sun Dro ([email protected])
*
* @brief Extract MPEGTS payload from PCAP file.
* Usage: pcap2ts <input> <output> <verbose>
* Example: pcap2ts dump.pcap payload.ts 1
*
* Compile command:
@kala13x
kala13x / xtop.c
Last active March 13, 2022 09:03
Advanced system monitor with network, memory and CPU statistics in one window
/*!
* @file libxutils/examples/xtop.c
*
* This source is part of "libxutils" project
* 2015-2022 Sun Dro ([email protected])
*
* @brief Implementation of advanced system monitor based on the xUtils.
* Collect and monitor network, memory and CPU statistics in one window.
*/
@kala13x
kala13x / xhttp.c
Created February 1, 2022 16:17
HTTP Client Tool - Send costum HTTP request, analyze headers, download content, etc.
/*!
* @file libxutils/examples/xhttp.c
*
* This source is part of "libxutils" project
* 2015-2020 Sun Dro ([email protected])
*
* @brief Example file for working with the HTTP request/responses.
* Send costum HTTP request, analyze headers, download content, etc.
*/
@kala13x
kala13x / statcov.c
Created January 26, 2022 13:08
Parse COVID-19 case statistics from https://stopcov.ge/ and display JSON serialized output
/*!
* @file libxutils/examples/statcov.c
*
* 2020-2021 Sun Dro ([email protected])
*
* @brief Parse and print COVID-19 case
* statistics from https://stopcov.ge/
*/
#include <xutils/xstd.h>
@kala13x
kala13x / events.c
Created January 7, 2022 21:55
High performance event based non-blocking echo server
/*!
* @file libxutils/examples/events.c
*
* This source is part of "libxutils" project
* 2015-2020 Sun Dro ([email protected])
*
* @brief Implementation of high performance event based non-blocking echo server.
* The xUtils library will use poll() or epoll() depending on the operating system.
*/
@kala13x
kala13x / chat_server.cpp
Last active November 26, 2021 21:34
Simple chat server with subscribe pattern
/*
* upwork/singles/chat_server.cpp
*
* 2021 (c) Sun Dro ([email protected])
*
* EPOLL based high performance chat server with subscribe pattern
* Compile: g++ -g -O2 -Wall chat_server.cpp -o chat_server -lpthread
*/
#include <stdio.h>
@kala13x
kala13x / lagint.c
Last active July 13, 2022 17:45
Lagrange polynomial and coefficient calculations
/*
* lagint.c
* 2019-2020 Sun Dro ([email protected])
*
* Calculate Lagrange interpolated polynomials and
* displays the coefficient of each polynomials
*/
#include <stdio.h>
#include <errno.h>