Skip to content

Instantly share code, notes, and snippets.

View kala13x's full-sized avatar

Sandro Kalatozishvili kala13x

View GitHub Profile
@kala13x
kala13x / dsd.sh
Created November 2, 2024 21:27
DSD (Digital speech decoder) setup script for DNF-based systems
#!/bin/bash
# Digital speech decoder setup script for DNF-based systems
# Sandro Kalatozishvili (c) 2024 (For scientific purposes only)
# socat udp4-listen:7355,reuseaddr,fork - | padsp -- dsd -i - -o /dev/dsp
BASE_PATH=$(pwd -P)/$(dirname "$0")
WORK_PATH="$BASE_PATH/dsd_setup"
WORK_OS=$(uname)
ITPP_SOURCE="http://sourceforge.net/projects/itpp/files/latest/download?source=files"
@kala13x
kala13x / sdrpp.sh
Last active October 20, 2024 18:23
SDR++ and tetra-demodulator setup script for DNF-based systems
#!/bin/bash
# SDR++ and tetra-demodulator setup script for DNF-based systems
# Sandro Kalatozishvili (c) 2024 (For scientific purposes only)
BASE_PATH=$(pwd -P)/$(dirname "$0")
WORK_PATH="$BASE_PATH/sdrpp_setup"
WORK_OS=$(uname)
SDRPLUSPLUS_REPO="https://github.com/AlexandreRouma/SDRPlusPlus"
TETRA_DEMOD_REPO="https://github.com/cropinghigh/sdrpp-tetra-demodulator"
@kala13x
kala13x / xenv_id_pub.xb
Last active January 31, 2024 21:08
Public IDs for xcore server with simple and advanced encryption (hex-binary)
2B 3D 4C 29 4B D9 07 2C C8 C1 C9 14 2E 0D 9F 82
28 A0 B6 FA 44 FC 1F C7 09 C3 7D 9F 80 0B 36 8B
4F A3 3D E5 E1 F3 0E 22 35 11 08 46 1E EE CC 27
FE 3F F1 88 27 E1 A7 FE E4 7F A8 A6 91 33 5D 78
4A 89 9E 44 BF EB 02 54 4F FD 4C 8F FE 01 47 43
BE D5 68 99 01 90 5F B5 53 90 81 E9 A9 A4 6C 8D
DB 20 FD 3B 76 24 E0 AA 38 6B 13 2B E6 11 02 C4
B3 A5 2E 75 3F CB E1 CC 50 17 2E FE 6B B0 AA A7
43 64 2B 18 02 1D 0B 01 83 F4 5C 54 97 EA 54 0E
E0 22 0B D3 A9 D9 75 B1 E4 E5 4C 12 C2 50 E0 19
@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>