repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLE2902.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.336781
/* * BLE2902.h * * Created on: Jun 25, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLE2902_H_ #define COMPONENTS_CPP_UTILS_BLE2902_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include "BLEDescriptor.h" /** * @brief Descriptor for Client Characteristic Configuration. * * This is a...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/Apa102.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.396227
/* * Apa102.h * * Created on: Oct 22, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_APA102_H_ #define COMPONENTS_CPP_UTILS_APA102_H_ #include "SmartLED.h" #include "SPI.h" class Apa102: public SmartLED { public: Apa102(); virtual ~Apa102(); void init(); void show(); private: SPI mySPI; }; #e...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEAddress.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.411786
/* * BLEAddress.h * * Created on: Jul 2, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEADDRESS_H_ #define COMPONENTS_CPP_UTILS_BLEADDRESS_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gap_ble_api.h> // ESP32 BLE #include <string> /** * @brief A %BLE device address. * ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLE2904.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.784766
/* * BLE2904.h * * Created on: Dec 23, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLE2904_H_ #define COMPONENTS_CPP_UTILS_BLE2904_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include "BLEDescriptor.h" struct BLE2904_Data { uint8_t m_format; int8_t m_exponent; uint16_t m_unit;...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEAdvertising.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.805525
/* * BLEAdvertising.h * * Created on: Jun 21, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEADVERTISING_H_ #define COMPONENTS_CPP_UTILS_BLEADVERTISING_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gap_ble_api.h> #include "BLEUUID.h" #include <vector> #include "FreeRTOS.h"...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
c-utils/c_timeutils.c
null
null
null
null
null
null
C
2026-05-04T19:34:10.859600
/* * c_timeutils.c * * Created on: Nov 26, 2016 * Author: kolban */ #include <sys/time.h> #include <stdint.h> #include <stdio.h> /** * Add a number of milliseconds to a timeval and replace the * existing timeval with the new value. */ void timeval_addMsecs(struct timeval *a, uint32_t msecs) { int uSecs ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cloud/GCP/JWT/base64url.h
null
null
null
null
null
null
C
2026-05-04T19:34:10.868999
// https://raw.githubusercontent.com/zhicheng/base64/master/base64.h #ifndef __BASE64URL_H__ #define __BASE64URL_H__ enum {BASE64_OK = 0, BASE64_INVALID}; #define BASE64_ENCODE_OUT_SIZE(s) (((s) + 2) / 3 * 4) #define BASE64_DECODE_OUT_SIZE(s) (((s)) / 4 * 3) int base64url_encode(const unsigned char *in, unsigned int...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEDescriptor.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.060855
/* * BLEDescriptor.h * * Created on: Jun 22, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEDESCRIPTOR_H_ #define COMPONENTS_CPP_UTILS_BLEDESCRIPTOR_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <string> #include "BLEUUID.h" #include "BLECharacteristic.h" #include <esp_gatts_ap...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEClient.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.112153
/* * BLEDevice.h * * Created on: Mar 22, 2017 * Author: kolban */ #ifndef MAIN_BLEDEVICE_H_ #define MAIN_BLEDEVICE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gattc_api.h> #include <string.h> #include <map> #include <string> #include "BLEExceptions.h" #include "BLERemoteService....
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEEddystoneTLM.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.407209
/* * BLEEddystoneTLM.cpp * * Created on: Mar 12, 2018 * Author: pcbreflux */ #ifndef _BLEEddystoneTLM_H_ #define _BLEEddystoneTLM_H_ #include "BLEUUID.h" #define EDDYSTONE_TLM_FRAME_TYPE 0x20 /** * @brief Representation of a beacon. * See: * * https://github.com/google/eddystone */ class BLEEddystoneT...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEEddystoneURL.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.505767
/* * BLEEddystoneURL.cpp * * Created on: Mar 12, 2018 * Author: pcbreflux */ #ifndef _BLEEddystoneURL_H_ #define _BLEEddystoneURL_H_ #include "BLEUUID.h" #define EDDYSTONE_URL_FRAME_TYPE 0x10 /** * @brief Representation of a beacon. * See: * * https://github.com/google/eddystone */ class BLEEddystoneU...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEExceptions.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.507578
/* * BLExceptions.h * * Created on: Nov 27, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_ #define COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_ #include "sdkconfig.h" #if CONFIG_CXX_EXCEPTIONS != 1 #error "C++ exception handling must be enabled within make menuconfig. See Compiler Options ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEHIDDevice.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.714931
/* * BLEHIDDevice.h * * Created on: Jan 03, 2018 * Author: chegewara */ #ifndef _BLEHIDDEVICE_H_ #define _BLEHIDDEVICE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include "BLECharacteristic.h" #include "BLEService.h" #include "BLEDescriptor.h" #include "BLE2902.h" #include "HIDTypes.h" #def...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEAdvertisedDevice.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.952057
/* * BLEAdvertisedDevice.h * * Created on: Jul 3, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEADVERTISEDDEVICE_H_ #define COMPONENTS_CPP_UTILS_BLEADVERTISEDDEVICE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gattc_api.h> #include <map> #include "BLEAddress.h" #includ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLECharacteristic.h
null
null
null
null
null
null
C
2026-05-04T19:34:11.974877
/* * BLECharacteristic.h * * Created on: Jun 22, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLECHARACTERISTIC_H_ #define COMPONENTS_CPP_UTILS_BLECHARACTERISTIC_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <string> #include <map> #include "BLEUUID.h" #include <esp_gatts_api.h>...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLERemoteService.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.183794
/* * BLERemoteService.h * * Created on: Jul 8, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEREMOTESERVICE_H_ #define COMPONENTS_CPP_UTILS_BLEREMOTESERVICE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <map> #include "BLEClient.h" #include "BLERemoteCharacteristic.h" #includ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEDevice.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.431190
/* * BLEDevice.h * * Created on: Mar 16, 2017 * Author: kolban */ #ifndef MAIN_BLEDevice_H_ #define MAIN_BLEDevice_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gap_ble_api.h> // ESP32 BLE #include <esp_gattc_api.h> // ESP32 BLE #include <map> // Part of C++ STL #inc...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLESecurity.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.446047
/* * BLESecurity.h * * Created on: Dec 17, 2017 * Author: chegewara */ #ifndef COMPONENTS_CPP_UTILS_BLESECURITY_H_ #define COMPONENTS_CPP_UTILS_BLESECURITY_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gap_ble_api.h> class BLESecurity { public: BLESecurity(); virtual ~BLESecurit...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEServer.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.552158
/* * BLEServer.h * * Created on: Apr 16, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLESERVER_H_ #define COMPONENTS_CPP_UTILS_BLESERVER_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gatts_api.h> #include <string> #include <string.h> // #include "BLEDevice.h" #include "B...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEService.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.619247
/* * BLEService.h * * Created on: Mar 25, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLESERVICE_H_ #define COMPONENTS_CPP_UTILS_BLESERVICE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gatts_api.h> #include "BLECharacteristic.h" #include "BLEServer.h" #include "BLEUUID....
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEUUID.h
null
null
null
null
null
null
C
2026-05-04T19:34:12.838215
/* * BLEUUID.h * * Created on: Jun 21, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEUUID_H_ #define COMPONENTS_CPP_UTILS_BLEUUID_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gatt_defs.h> #include <string> /** * @brief A model of a %BLE UUID. */ class BLEUUID { public...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEValue.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.078449
/* * BLEValue.h * * Created on: Jul 17, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEVALUE_H_ #define COMPONENTS_CPP_UTILS_BLEVALUE_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <string> /** * @brief The model of a %BLE value. */ class BLEValue { public: BLEValue(); void...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEUtils.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.091666
/* * BLEUtils.h * * Created on: Mar 25, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEUTILS_H_ #define COMPONENTS_CPP_UTILS_BLEUTILS_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gattc_api.h> // ESP32 BLE #include <esp_gatts_api.h> // ESP32 BLE #include <esp_gap_ble_a...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEScan.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.180191
/* * BLEScan.h * * Created on: Jul 1, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLESCAN_H_ #define COMPONENTS_CPP_UTILS_BLESCAN_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <esp_gap_ble_api.h> // #include <vector> #include <string> #include "BLEAdvertisedDevice.h" #include ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/CPPNVS.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.208547
/* * NVS.h * * Created on: Mar 27, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_CPPNVS_H_ #define COMPONENTS_CPP_UTILS_CPPNVS_H_ #include <nvs.h> #include <string> /** * @brief Provide Non Volatile Storage access. */ class NVS { public: NVS(std::string name, nvs_open_mode openMode = NVS_READWRI...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/Console.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.272841
/* * Console.h * * Created on: Jun 15, 2018 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_CONSOLE_H_ #define COMPONENTS_CPP_UTILS_CONSOLE_H_ #include <string> #include <stdio.h> #include <list> #include <argtable3/argtable3.h> class Console { public: Console(); virtual ~Console(); }; enum class Arg...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/FATFS_VFS.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.511890
/* * FATFS.h * * Created on: May 20, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_FATFS_VFS_H_ #define COMPONENTS_CPP_UTILS_FATFS_VFS_H_ #include <string> extern "C" { #include <esp_vfs_fat.h> #include <wear_levelling.h> } /** * @brief Provide access to the FAT file system on %SPI flash. * The FA...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/FTPServer.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.750035
/* * FTPServer.h * * Created on: May 6, 2018 * Author: kolban */ #ifndef NETWORKING_FTPSERVER_FTPSERVER_H_ #define NETWORKING_FTPSERVER_FTPSERVER_H_ #include <stdint.h> #include <sstream> #include <fstream> #include <string> #include <exception> class FTPCallbacks { public: virtual void onStoreSta...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/FreeRTOS.h
null
null
null
null
null
null
C
2026-05-04T19:34:13.864155
/* * FreeRTOS.h * * Created on: Feb 24, 2017 * Author: kolban */ #ifndef MAIN_FREERTOS_H_ #define MAIN_FREERTOS_H_ #include <stdint.h> #include <string> #include <pthread.h> #include <freertos/FreeRTOS.h> // Include the base FreeRTOS definitions. #include <freertos/task.h> // Include the task defin...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/File.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.123822
/* * File.h * * Created on: Jun 1, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_FILE_H_ #define COMPONENTS_CPP_UTILS_FILE_H_ #include <string> #include <dirent.h> /** * @brief A logical representation of a file. */ class File { public: File(std::string name, uint8_t type = DT_UNKNOWN); std::s...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/GPIO.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.181163
/* * GPIO.h * * Created on: Feb 28, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_GPIO_H_ #define COMPONENTS_CPP_UTILS_GPIO_H_ #include <driver/gpio.h> namespace ESP32CPP { /** * @brief Interface to %GPIO functions. * * The %GPIO functions encapsulate the %GPIO access. The GPIOs available to...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/GeneralUtils.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.407694
/* * GeneralUtils.h * * Created on: May 20, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_GENERALUTILS_H_ #define COMPONENTS_CPP_UTILS_GENERALUTILS_H_ #include <stdint.h> #include <string> #include <esp_err.h> #include <algorithm> #include <vector> /** * @brief General utilities. */ class General...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HIDKeyboardTypes.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.488325
/* Copyright (c) 2015 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pub...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HIDTypes.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.745304
/* Copyright (c) 2010-2011 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pu...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HttpParser.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.828695
/* * HttpParser.h * * Created on: Aug 28, 2017 * Author: kolban */ #ifndef CPP_UTILS_HTTPPARSER_H_ #define CPP_UTILS_HTTPPARSER_H_ #include <string> #include <map> #include "Socket.h" class HttpParser { public: HttpParser(); virtual ~HttpParser(); std::string getBody(); std::string getHeader(const std:...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
c-utils/c_list.h
null
null
null
null
null
null
C
2026-05-04T19:34:14.851130
/* * c_utils.h * * Created on: Nov 15, 2016 * Author: kolban */ #ifndef COMPONENTS_C_LIST_H_ #define COMPONENTS_C_LIST_H_ typedef struct _list_t { void *value; struct _list_t *next; struct _list_t *prev; } list_t; list_t *list_createList(); void list_deleteList(list_t *pList, int withFree); void list_i...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HttpServer.h
null
null
null
null
null
null
C
2026-05-04T19:34:15.445292
/* * HttpServer.h * * Created on: Aug 30, 2017 * Author: kolban * * Implementation of an HTTP server for the ESP32. * */ #ifndef COMPONENTS_CPP_UTILS_HTTPSERVER_H_ #define COMPONENTS_CPP_UTILS_HTTPSERVER_H_ #include <stdint.h> #include <vector> #include "SockServ.h" #include "HttpRequest.h" #include "Ht...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HttpRequest.h
null
null
null
null
null
null
C
2026-05-04T19:34:15.531420
/* * HTTPRequest.h * * Created on: Aug 30, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_HTTPREQUEST_H_ #define COMPONENTS_CPP_UTILS_HTTPREQUEST_H_ #include <string> #include <map> #include <vector> #include "Socket.h" #include "WebSocket.h" #include "HttpParser.h" #undef close class HttpRequest {...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/HttpResponse.h
null
null
null
null
null
null
C
2026-05-04T19:34:15.669363
/* * HttpResponse.h * * Encapsulate a response to be sent to the Http client. * * Created on: Sep 2, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_HTTPRESPONSE_H_ #define COMPONENTS_CPP_UTILS_HTTPRESPONSE_H_ #include <string> #include <map> #include "HttpRequest.h" class HttpResponse { public: s...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLERemoteCharacteristic.h
null
null
null
null
null
null
C
2026-05-04T19:34:17.132785
/* * BLERemoteCharacteristic.h * * Created on: Jul 8, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEREMOTECHARACTERISTIC_H_ #define COMPONENTS_CPP_UTILS_BLEREMOTECHARACTERISTIC_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <string> #include <esp_gattc_api.h> #include "BLERe...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLERemoteDescriptor.h
null
null
null
null
null
null
C
2026-05-04T19:34:17.354038
/* * BLERemoteDescriptor.h * * Created on: Jul 8, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEREMOTEDESCRIPTOR_H_ #define COMPONENTS_CPP_UTILS_BLEREMOTEDESCRIPTOR_H_ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include <string> #include <esp_gattc_api.h> #include "BLERemoteCharacter...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/FileSystem.h
null
null
null
null
null
null
C
2026-05-04T19:34:20.528260
/* * FileSystem.h * * Created on: May 20, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_FILESYSTEM_H_ #define COMPONENTS_CPP_UTILS_FILESYSTEM_H_ #include <string> #include <vector> #include <File.h> /** * @brief File system utilities. */ class FileSystem { public: static std::vector<File> ...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/BLEBeacon.h
null
null
null
null
null
null
C
2026-05-04T19:34:21.017896
/* * BLEBeacon2.h * * Created on: Jan 4, 2018 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_BLEBEACON_H_ #define COMPONENTS_CPP_UTILS_BLEBEACON_H_ #include "BLEUUID.h" /** * @brief Representation of a beacon. * See: * * https://en.wikipedia.org/wiki/IBeacon */ class BLEBeacon { private: struct { u...
nkolban/esp32-snippets
https://github.com/nkolban/esp32-snippets
null
null
null
null
2,510
null
null
apache-2.0
null
null
null
null
null
null
null
cpp_utils/FreeRTOSTimer.h
null
null
null
null
null
null
C
2026-05-04T19:34:24.214428
/* * FreeRTOSTimer.h * * Created on: Mar 8, 2017 * Author: kolban */ #ifndef COMPONENTS_CPP_UTILS_FREERTOSTIMER_H_ #define COMPONENTS_CPP_UTILS_FREERTOSTIMER_H_ #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <freertos/timers.h> /** * @brief Wrapper around the %FreeRTOS timer functions. ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
devel/tsar.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.671204
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
devel/mod_test.c
null
null
null
null
null
null
C
2026-05-04T19:34:26.681263
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/config.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.682160
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/output_db.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.684143
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/output_nagios.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.686224
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/output_file.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.688151
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/define.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.701039
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/framework.h
null
null
null
null
null
null
C
2026-05-04T19:34:26.713919
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/tsar.h
null
null
null
null
null
null
C
2026-05-04T19:34:27.316805
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_apache.c
null
null
null
null
null
null
C
2026-05-04T19:34:27.343523
#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include "tsar.h" char *apache_usage = " --apache apache statistics"; struct stats_apache { unsigned int busy_proc; unsigned int idle_proc; unsigned long long query; unsigned long lo...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/tsar_lua_util.h
null
null
null
null
null
null
C
2026-05-04T19:34:27.352109
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_haproxy.c
null
null
null
null
null
null
C
2026-05-04T19:34:27.356680
#define _GNU_SOURCE #include "tsar.h" #include <netdb.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #define SOCK_PATH "/var/run/haproxy.stat" #define HAPROXY "/var/run/haproxy.pid" #define HAPROXY_STORE_FMT(d) "%ld"d"%ld"d"%ld"d"%ld"d"%ld"d"%ld" #define server_port 80 #d...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/output_tcp.h
null
null
null
null
null
null
C
2026-05-04T19:34:27.361125
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/output_print.h
null
null
null
null
null
null
C
2026-05-04T19:34:27.428261
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_cpu.c
null
null
null
null
null
null
C
2026-05-04T19:34:27.705870
#include "tsar.h" /* * Structure for CPU infomation. */ struct stats_cpu { unsigned long long cpu_user; unsigned long long cpu_nice; unsigned long long cpu_sys; unsigned long long cpu_idle; unsigned long long cpu_iowait; unsigned long long cpu_steal; unsigned long long cpu_hardirq; un...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/public.h
null
null
null
null
null
null
C
2026-05-04T19:34:27.877080
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_io.c
null
null
null
null
null
null
C
2026-05-04T19:34:27.925136
/* * iostat.c for 2.6.* with file /proc/diskstat * Linux I/O performance monitoring utility */ #include "tsar.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <errno.h> #include <sys/param.h> #include <linux/major.h> char *io_usage = " --io ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_lvs.c
null
null
null
null
null
null
C
2026-05-04T19:34:27.985905
#define _GNU_SOURCE #include "tsar.h" #define LVS_PROC_STATS "/proc/net/ip_vs_stats" #define LVS_CONN_PROC_STATS "/proc/net/ip_vs_conn_stats" #define LVS_CMD "sudo /usr/local/sbin/slb_admin -ln --total --dump" #define LVS_CONN_CMD "sudo /usr/local/sbin/appctl -csa" #define LVS_CMD_PATH "/usr/local/sbin/slb_admi...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_load.c
null
null
null
null
null
null
C
2026-05-04T19:34:28.011679
#include "tsar.h" #define LOAD_DETAIL_HDR(d) \ " runq"d" plist"d" min1"d \ " min5"d" min15" #define LOAD_STORE_FMT(d) \ "%ld"d"%d"d"%d"d"%d"d"%d" char *load_usage = " --load System Run Queue and load average"; /* Structure for queue and load statistics */ struct sta...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_nginx.c
null
null
null
null
null
null
C
2026-05-04T19:34:28.078796
#include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include "tsar.h" struct stats_nginx { unsigned long long naccept; /* accepted connections */ unsigned long long nhandled; /* handled connections */ unsigned long long nrequest; ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_partition.c
null
null
null
null
null
null
C
2026-05-04T19:34:28.518182
#include <mntent.h> #include <sys/statfs.h> #include "tsar.h" #define TRUE 1 #define FALSE 0 char *partition_usage = " --partition Disk and partition usage"; #define MAXPART 32 struct stats_partition { int bsize; /* block size*/ unsigned long long blocks; ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_swap.c
null
null
null
null
null
null
C
2026-05-04T19:34:29.356765
#include "tsar.h" struct stats_swap { unsigned long long pswpin; unsigned long long pswpout; unsigned long long swaptotal; unsigned long long swapfree; }; #define STATS_SWAP_SIZE (sizeof(struct stats_swap)) static char *swap_usage = " --swap swap usage"; /* ***...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_ncpu.c
null
null
null
null
null
null
C
2026-05-04T19:34:29.475151
#include "tsar.h" /* * Structure for CPU infomation. */ struct stats_cpu { unsigned long long cpu_user; unsigned long long cpu_nice; unsigned long long cpu_sys; unsigned long long cpu_idle; unsigned long long cpu_iowait; unsigned long long cpu_steal; unsigned long long cpu_hardirq; un...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_pcsw.c
null
null
null
null
null
null
C
2026-05-04T19:34:29.715201
#include "tsar.h" char *pcsw_usage = " --pcsw Process (task) creation and context switch"; struct stats_pcsw { unsigned long long context_switch; unsigned long processes; }; #define STATS_PCSW_SIZE sizeof(struct pcsw_stats) enum {PROC, CSWCH}; /* *****************************************...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_percpu.c
null
null
null
null
null
null
C
2026-05-04T19:34:29.824831
#include "tsar.h" #define STAT_PATH "/proc/stat" static char *percpu_usage = " --percpu Per cpu share (user, system, interrupt, nice, & idle)"; struct stats_percpu { unsigned long long cpu_user; unsigned long long cpu_nice; unsigned long long cpu_sys; unsigned long long cpu_id...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_pernic.c
null
null
null
null
null
null
C
2026-05-04T19:34:29.832234
#include "tsar.h" char *pernic_usage = " --pernic Net pernic statistics"; #define MAX_NICS 8 /* * Structure for pernic infomation. */ struct stats_pernic { unsigned long long bytein; unsigned long long byteout; unsigned long long pktin; unsigned long long pktout; char name[16]; };...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_tcpx.c
null
null
null
null
null
null
C
2026-05-04T19:34:30.287626
#include "tsar.h" char * tcpx_usage=" --tcpx TCP connection data"; struct stats_tcpx{ unsigned long long tcprecvq; unsigned long long tcpsendq; unsigned long long tcpest; unsigned long long tcptimewait; unsigned long long tcpfinwait1; unsigned long long tcpfinwait2; ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_traffic.c
null
null
null
null
null
null
C
2026-05-04T19:34:30.343058
#include "tsar.h" char *traffic_usage = " --traffic Net traffic statistics"; /* * Structure for traffic infomation. */ struct stats_traffic { unsigned long long bytein; unsigned long long byteout; unsigned long long pktin; unsigned long long pktout; unsigned long long pkterrin; ...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_udp.c
null
null
null
null
null
null
C
2026-05-04T19:34:30.409163
#include "tsar.h" #define UDP_DETAIL_HDR(d) \ " idgm"d" odgm"d"noport"d"idmerr" char *udp_usage = " --udp UDP traffic (v4)"; /* Structure for UDP statistics */ struct stats_udp { unsigned long long InDatagrams; unsigned long long OutDatagrams; unsigned lon...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/debug.c
null
null
null
null
null
null
C
2026-05-04T19:34:30.973295
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/framework.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.042379
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_tcp.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.053599
#include "tsar.h" char *tcp_usage = " --tcp TCP traffic (v4)"; /* Structure for TCP statistics */ struct stats_tcp { unsigned long long ActiveOpens; unsigned long long PassiveOpens; unsigned long long InSegs; unsigned long long OutSegs; unsigned long long AttemptF...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/config.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.153375
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/common.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.377469
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/common.h
null
null
null
null
null
null
C
2026-05-04T19:34:31.624027
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/output_file.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.680502
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/output_print.c
null
null
null
null
null
null
C
2026-05-04T19:34:31.795898
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/output_tcp.c
null
null
null
null
null
null
C
2026-05-04T19:34:32.002814
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/output_nagios.c
null
null
null
null
null
null
C
2026-05-04T19:34:32.242805
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/tsar_lua_util.c
null
null
null
null
null
null
C
2026-05-04T19:34:33.361867
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_mem.c
null
null
null
null
null
null
C
2026-05-04T19:34:33.391644
#include "tsar.h" char *mem_usage = " --mem Physical memory share (active, inactive, cached, free, wired)"; /* Structure for memory and swap space utilization statistics */ struct stats_mem { unsigned long frmkb; unsigned long bufkb; unsigned long camkb; unsigned long tlmkb; unsig...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_proc.c
null
null
null
null
null
null
C
2026-05-04T19:34:33.870285
#include "tsar.h" /* * Structure for Proc infomation. */ struct stats_proc { unsigned long long user_cpu; unsigned long long sys_cpu; unsigned long long total_cpu; unsigned long long mem; unsigned long long total_mem; unsigned long long read_bytes; unsigned long long write_bytes; }; #def...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
modules/mod_squid.c
null
null
null
null
null
null
C
2026-05-04T19:34:34.316912
#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> #include <sys/stat.h> #include <netdb.h> #include <errno.h> #include <dirent.h> #include <unistd.h> #include <fcntl.h> #include <time.h> #include "tsar.h" #define RETRY_NUM 3 char *squid_usage = " --squi...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/tsar.c
null
null
null
null
null
null
C
2026-05-04T19:34:37.573700
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
include/debug.h
null
null
null
null
null
null
C
2026-05-04T19:34:37.582547
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
alibaba/tsar
https://github.com/alibaba/tsar
null
null
null
null
2,493
null
null
apache-2.0
null
null
null
null
null
null
null
src/output_db.c
null
null
null
null
null
null
C
2026-05-04T19:34:42.048316
/* * (C) 2010-2011 Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/except.c
null
null
null
null
null
null
C
2026-05-04T19:34:55.583704
/*=========================================================================*\ * Simple exception support * LuaSocket toolkit * * RCS ID: $Id: except.c,v 1.8 2005/09/29 06:11:41 diego Exp $ \*=========================================================================*/ #include <stdio.h> #include "lua.h" #include "lauxli...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/buffer.h
null
null
null
null
null
null
C
2026-05-04T19:34:55.585112
#ifndef BUF_H #define BUF_H /*=========================================================================*\ * Input/Output interface for Lua programs * LuaSocket toolkit * * Line patterns require buffering. Reading one character at a time involves * too many system calls and is very slow. This module implements the * Lu...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/auxiliar.c
null
null
null
null
null
null
C
2026-05-04T19:34:55.586300
/*=========================================================================*\ * Auxiliar routines for class hierarchy manipulation * LuaSocket toolkit * * RCS ID: $Id: auxiliar.c,v 1.14 2005/10/07 04:40:59 diego Exp $ \*=========================================================================*/ #include <string.h> #inc...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/inet.h
null
null
null
null
null
null
C
2026-05-04T19:34:55.587396
#ifndef INET_H #define INET_H /*=========================================================================*\ * Internet domain functions * LuaSocket toolkit * * This module implements the creation and connection of internet domain * sockets, on top of the socket.h interface, and the interface of with the * resolver. ...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/buffer.c
null
null
null
null
null
null
C
2026-05-04T19:34:55.589770
/*=========================================================================*\ * Input/Output interface for Lua programs * LuaSocket toolkit * * RCS ID: $Id: buffer.c,v 1.28 2007/06/11 23:44:54 diego Exp $ \*=========================================================================*/ #include "lua.h" #include "lauxlib.h"...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/except.h
null
null
null
null
null
null
C
2026-05-04T19:34:55.590886
#ifndef EXCEPT_H #define EXCEPT_H /*=========================================================================*\ * Exception control * LuaSocket toolkit (but completely independent from other modules) * * This provides support for simple exceptions in Lua. During the * development of the HTTP/FTP/SMTP support, it became...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
android/PythonForAndroid/jni/pythonInProcess.c
null
null
null
null
null
null
C
2026-05-04T19:34:55.591872
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/auxiliar.h
null
null
null
null
null
null
C
2026-05-04T19:34:55.592837
#ifndef AUXILIAR_H #define AUXILIAR_H /*=========================================================================*\ * Auxiliar routines for class hierarchy manipulation * LuaSocket toolkit (but completely independent of other LuaSocket modules) * * A LuaSocket class is a name associated with Lua metatables. A LuaSocket...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/inet.c
null
null
null
null
null
null
C
2026-05-04T19:34:55.594110
/*=========================================================================*\ * Internet domain functions * LuaSocket toolkit * * RCS ID: $Id: inet.c,v 1.28 2005/10/07 04:40:59 diego Exp $ \*=========================================================================*/ #include <stdio.h> #include <string.h> #include "lua...
damonkohler/sl4a
https://github.com/damonkohler/sl4a
null
null
null
null
2,473
null
null
apache-2.0
null
null
null
null
null
null
null
lua/luasocket/src/options.c
null
null
null
null
null
null
C
2026-05-04T19:34:56.268017
/*=========================================================================*\ * Common option interface * LuaSocket toolkit * * RCS ID: $Id: options.c,v 1.6 2005/11/20 07:20:23 diego Exp $ \*=========================================================================*/ #include <string.h> #include "lauxlib.h" #include...