repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
RomanKazantsev/image-processing-filters
inc/vessels.h
<gh_stars>1-10 /* Copyright (c) 2017 <NAME> 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, publish, dist...
RomanKazantsev/image-processing-filters
inc/sobel.h
/* Copyright (c) 2017 <NAME> 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, publish, distribute, sublice...
RomanKazantsev/image-processing-filters
inc/rotate.h
<gh_stars>1-10 /* Copyright (c) 2017 <NAME> 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, publish, dist...
jfm92/lv_micropython
ports/microByte/drivers/display/display_HAL/display_HAL.h
/********************* * INCLUDES *********************/ #include "lvgl/lvgl.h" #include "stdint.h" /********************* * DEFINES *********************/ #define BLACK 0x0000 #define WHITE 0xFFFF /********************* * FUNCTIONS *********************/ /* * Function: display_HAL_init * ---...
jfm92/lv_micropython
ports/microByte/drivers/input/input_HAL/input_HAL.h
<reponame>jfm92/lv_micropython<filename>ports/microByte/drivers/input/input_HAL/input_HAL.h<gh_stars>1-10 /********************* * FUNCTIONS *********************/ /* * Function: input_init * -------------------- * * Initialize the mux driver and set the right configuration. * * Returns: Nothing *...
jfm92/lv_micropython
ports/microByte/drivers/HW_config/hw_config.h
<reponame>jfm92/lv_micropython /******************************** * Display pin configuration * ******************************/ #define SCR_MODEL ST7789 #define SCR_WIDTH 240 #define SCR_HEIGHT 240 #define SCR_BUFFER_SIZE 20 #define HSPI_MOSI 13 #define HSPI_CLK 14 #define HSPI_RST...
jfm92/lv_micropython
ports/microByte/drivers/GUI/GUI_frontend.h
void GUI_frontend_main();
jfm92/lv_micropython
ports/microByte/drivers/display/st7789/st7789.c
<reponame>jfm92/lv_micropython<filename>ports/microByte/drivers/display/st7789/st7789.c<gh_stars>1-10 /********************* * INCLUDES *********************/ #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <sys/param.h> #include "st7789.h" #include "../../HW_config/hw_...
jfm92/lv_micropython
ports/microByte/machine_display.c
#include "py/runtime.h" #include "py/mphal.h" #include "drivers/display/display_HAL/display_HAL.h" #include "modmachine.h" const mp_obj_type_t machine_display_type; typedef struct _machine_display_obj_t { mp_obj_base_t base; mp_int_t height; mp_int_t width; } machine_display_obj_t; mp_obj_t mp_disp...
jfm92/lv_micropython
ports/microByte/drivers/display/st7789/st7789.h
<reponame>jfm92/lv_micropython #pragma once #include "driver/spi_master.h" #include "lvgl/lvgl.h" /******************************* * ST7789 Commands * *****************************/ // System Function Command Table 1 #define ST7789_CMD_NOP 0x00 // No operation #define ST7789_CMD_SWRESET ...
jfm92/lv_micropython
ports/microByte/drivers/input/TCA9555/TCA9555.h
/********************* * FUNCTIONS *********************/ /* * Function: TCA955_init * -------------------- * * Initialize I2C Bus and check if the TCA955 mux is connected to the bus * * Returns: True if the initialization suceed otherwise false. * */ bool TCA955_init(void); /* * Function: TCA9...
jfm92/lv_micropython
ports/microByte/drivers/GUI/GUI_frontend.c
<gh_stars>1-10 /********************* * LIBRARIES *********************/ #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "lvgl/lvgl.h" #include "../input/input_HAL/input_HAL.h" /********************** * Global Variable *******...
jfm92/lv_micropython
ports/microByte/drivers/input/TCA9555/TCA9555.c
<filename>ports/microByte/drivers/input/TCA9555/TCA9555.c<gh_stars>1-10 /********************* * INCLUDES *********************/ #include "stdbool.h" #include "esp_log.h" #include "driver/i2c.h" //#include "system_configuration.h" /********************* * DEFINES *********************/ #define CONFIG_REG ...
jfm92/lv_micropython
ports/microByte/drivers/input/input_HAL/input_HAL.c
<filename>ports/microByte/drivers/input/input_HAL/input_HAL.c /********************* * INCLUDES *********************/ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "driver/gpio.h" #...
jfm92/lv_micropython
ports/microByte/drivers/display/display_HAL/display_HAL.c
/********************* * INCLUDES *********************/ #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_log.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../st7789/st7789.h" #include "display_HAL.h" #include "../../HW_config/hw_config....
jfm92/lv_micropython
ports/microByte/drivers/GUI/GUI.c
#include "stdlib.h" #include "lvgl/lvgl.h" #include "../display/display_HAL/display_HAL.h" #include "../input/input_HAL/input_HAL.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "GUI_frontend.h" /********************* * DEFINES *********************/ #define BUF_SIZE 240*20 #define LV...
jfm92/lv_micropython
ports/microByte/drivers/GUI/GUI.h
void GUI_init();
jfm92/lv_micropython
ports/microByte/machine_gamepad.c
<gh_stars>1-10 #include "py/runtime.h" #include "py/mphal.h" #include "drivers/input/input_HAL/input_HAL.h" #include "modmachine.h" typedef enum { BTN_UP = 0, BTN_DOWN = 1, BTN_LEFT = 2, BTN_RIGHT = 3, BTN_A = 4, BTN_B = 5, BTN_X = 6, BTN_Y = 7, BTN_R = 8, BTN_L = 9, BTN_STA...
Gxjasmine/moudleTest
mineMoule/Classes/mineMoule.h
// // mineMoule.h // Pods // // Created by fuzhongw on 2021/5/6. // #ifndef mineMoule_h #define mineMoule_h #endif /* mineMoule_h */
Gxjasmine/moudleTest
Example/mineMoule/MFAppDelegate.h
// // MFAppDelegate.h // mineMoule // // Created by <EMAIL> on 04/30/2021. // Copyright (c) 2021 <EMAIL>. All rights reserved. // @import UIKit; @interface MFAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
Gxjasmine/moudleTest
Example/mineMoule/MFViewController.h
<reponame>Gxjasmine/moudleTest<filename>Example/mineMoule/MFViewController.h<gh_stars>0 // // MFViewController.h // mineMoule // // Created by <EMAIL> on 04/30/2021. // Copyright (c) 2021 <EMAIL>. All rights reserved. // @import UIKit; @interface MFViewController : UIViewController @end
Gxjasmine/moudleTest
mineMoule/Classes/Cussasaview.h
// // Cussasaview.h // mineMoule // // Created by fuzhongw on 2021/5/6. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface Cussasaview : UIView @end NS_ASSUME_NONNULL_END
Gxjasmine/moudleTest
mineMoule/Classes/saaaaa.h
// // saaaaa.h // mineMoule // // Created by fuzhongw on 2021/5/6. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface saaaaa : UIView @property (nonatomic, strong) NSString *name; @end NS_ASSUME_NONNULL_END
Gxjasmine/moudleTest
Example/Pods/Target Support Files/mineMoule/mineMoule-umbrella.h
<gh_stars>0 #ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "saaaaa.h" #import "Cussasaview.h" FOUNDATION_EXPORT double mineMouleVersionNumber; FOUNDATION_EXPORT co...
gscultho/HuskEOS
huskEOS/OS_CPU_Interface/Header/cpu_os_interface.h
/*************************************************************************/ /* File Name: cpu_os_interface.h */ /* Purpose: Scheduler HW interface. Routines for stack init, critical*/ /* sections, system tick, etc. */ /* Created ...
gscultho/HuskEOS
App/Source/app.c
<gh_stars>1-10 /*************************************************************************/ /* Starter app file for OS with three threads set up to run. Include */ /* header files from other OS modules to use them and create new threads */ /* by following the code below for reference. All module design and API *...
gscultho/HuskEOS
huskEOS/Schedule/Header/sch_internal_IF.h
/*************************************************************************/ /* File Name: sch_internal_IF.h */ /* Purpose: Kernel access definitions and routines for scheduler. */ /* Created by: <NAME> on 5/20/2019 */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/OS_CPU_Interface/Source/cpu_os_interface.c
/*************************************************************************/ /* File Name: cpu_os_interface.c */ /* Purpose: APIs for scheduler to interface with hardware. */ /* Compiler: ARM C/C++ Compiler, V5.06 [Build 750] */ /* Created ...
gscultho/HuskEOS
huskEOS/List_Manager/Source/listMgr_internal.c
/*************************************************************************/ /* File Name: listMgr_internal.c */ /* Purpose: Routines for managing task lists in scheduler */ /* and wait lists for other RTOS modules. */ /* Created by: ...
gscultho/HuskEOS
huskEOS/Mutex/Header/mutex_internal_IF.h
/*************************************************************************/ /* File Name: mutex_internal_IF.h */ /* Purpose: Kernel access definitions and routines for mutex. */ /* Created by: <NAME> on 5/23/19 */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/Mutex/Header/mutex.h
/*************************************************************************/ /* File Name: mutex.h */ /* Purpose: Header file for mutex module. */ /* Created by: <NAME> on 3/3/19 */ /* Copyright © 2019 <NAME> ...
gscultho/HuskEOS
huskEOS/Queue/Header/queue.h
/*************************************************************************/ /* File Name: queue.h */ /* Purpose: Main header file for queue module. */ /* Created by: <NAME> on 3/16/19. */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/Semaphore/Source/semaphore.c
<filename>huskEOS/Semaphore/Source/semaphore.c /*************************************************************************/ /* File Name: semaphore.c */ /* Purpose: Semaphore services for application layer tasks. */ /* Created by: <NAME> on 3/24/19. ...
gscultho/HuskEOS
huskEOS/Queue/Source/queue.c
/*************************************************************************/ /* File Name: queue.c */ /* Purpose: FIFO services for application layer tasks. */ /* Created by: <NAME> on 3/20/19. */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/Mailbox/Source/mailbox.c
<filename>huskEOS/Mailbox/Source/mailbox.c<gh_stars>1-10 /*************************************************************************/ /* File Name: mailbox.c */ /* Purpose: Mailbox services for application layer tasks. */ /* Created by: <NAME> on 3/3/19...
gscultho/HuskEOS
huskEOS/OS_CPU_Interface/Header/cpu_defs.h
/*************************************************************************/ /* File Name: cpu_defs.h */ /* Purpose: Definitions for OS hardware use. */ /* Created by: <NAME> on 2/10/2019. */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/Mailbox/Header/mailbox.h
<reponame>gscultho/HuskEOS<gh_stars>1-10 /*************************************************************************/ /* File Name: mailbox.h */ /* Purpose: Header file for mailbox module. */ /* Created by: <NAME> on 3/3/19 ...
gscultho/HuskEOS
huskEOS/Semaphore/Header/semaphore_internal_IF.h
<reponame>gscultho/HuskEOS /*************************************************************************/ /* File Name: semaphore_internal_IF.h */ /* Purpose: Kernel access definitions and routines for semaphore. */ /* Created by: <NAME> on 5/23/19 *...
gscultho/HuskEOS
huskEOS/Memory/Source/memory.c
<reponame>gscultho/HuskEOS /*************************************************************************/ /* File Name: memory.c */ /* Purpose: Functions for user-controlled memory management. */ /* Created by: <NAME> on 7/13/19. ...
gscultho/HuskEOS
huskEOS/Mutex/Source/mutex.c
/*************************************************************************/ /* File Name: mutex.c */ /* Purpose: Mutex services for application layer tasks. */ /* Created by: <NAME> on 8/14/19. */ /* Copyright © 2019 <NAME> ...
gscultho/HuskEOS
huskEOS/Global/Header/rtos_cfg.h
<filename>huskEOS/Global/Header/rtos_cfg.h /*************************************************************************/ /* File Name: rtos_cfg.h */ /* Purpose: Configuration for RTOS. */ /* Created by: <NAME> on 2/28/2019 ...
gscultho/HuskEOS
huskEOS/Flags/Header/flags_internal_IF.h
<filename>huskEOS/Flags/Header/flags_internal_IF.h /*************************************************************************/ /* File Name: flags_internal_IF.h */ /* Purpose: Kernel access definitions and routines for flags. */ /* Created by: <NAME> on 5/20/19 ...
gscultho/HuskEOS
huskEOS/Schedule/Source/sch.c
<filename>huskEOS/Schedule/Source/sch.c /*************************************************************************/ /* File Name: sch.c */ /* Purpose: Init and routines for scheduler module and task handling. */ /* Created by: <NAME> on 2/29/19. ...
gscultho/HuskEOS
huskEOS/Queue/Header/queue_internal_IF.h
<gh_stars>1-10 /*************************************************************************/ /* File Name: queue_internal_IF.h */ /* Purpose: Kernel access definitions and routines for FIFO. */ /* Created by: <NAME> on 5/25/19 */ /* Copyr...
gscultho/HuskEOS
huskEOS/Flags/Source/flags.c
<gh_stars>1-10 /*************************************************************************/ /* File Name: flags.c */ /* Purpose: Flags services for application layer tasks. */ /* Created by: <NAME> on 3/24/19. */ /* Copyr...
gscultho/HuskEOS
huskEOS/Flags/Header/flags.h
/*************************************************************************/ /* File Name: flags.h */ /* Purpose: Public header file for flags module. */ /* Created by: <NAME> on 3/24/19 */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/Schedule/Header/sch.h
<gh_stars>1-10 /*************************************************************************/ /* File Name: sch.h */ /* Purpose: Header file for scheduler module. */ /* Created by: <NAME> on 2/9/19. */ /* Copyr...
gscultho/HuskEOS
huskEOS/Semaphore/Header/semaphore.h
/*************************************************************************/ /* File Name: semaphore.h */ /* Purpose: Header file for semaphore module. */ /* Created by: <NAME> on 3/3/19 */ /* Copyright © 2019 <NA...
gscultho/HuskEOS
huskEOS/List_Manager/Header/listMgr_internal.h
<gh_stars>1-10 /*************************************************************************/ /* File Name: listMgr_internal.h */ /* Purpose: Routines for managing task lists in scheduler. */ /* Created by: <NAME> on 7/17/19. */ /* Copyright...
rmorbach/blade
LinBLaDE/src/ProductSearch.h
/* * ProductSearch.h * * Created on: Sep 18, 2012 * Author: kamyon */ #ifndef PRODUCTSEARCH_H_ #define PRODUCTSEARCH_H_ #include <string> #include "ski/types.h" #include <curl/curl.h> #include <list> class ProductSearch { protected: /** * Constructor */ ProductSearch(); public: /** * Destructor...
rmorbach/blade
include/ski/types.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
rmorbach/blade
LinBLaDE/src/iohandler.h
<reponame>rmorbach/blade #ifndef __MAIN_H #define __MAIN_H /** * @file Main class * @author <NAME> */ #include "opts.h" #include "opencv2/opencv.hpp" using namespace std; /** * Main class */ class IOHandler{ public: /** * Constructor */ IOHandler(); /** * Destructor */ virtual ~IOHandler(); /** ...
rmorbach/blade
BLaDE/src/UPCASymbology.h
<gh_stars>1-10 /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright ...
rmorbach/blade
include/ski/type_traits.h
<filename>include/ski/type_traits.h /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the...
rmorbach/blade
include/ski/BLaDE/BLaDE.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
rmorbach/blade
BLaDE/src/Decoder.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice...
rmorbach/blade
LinBLaDE/src/AlsaAccess.h
<reponame>rmorbach/blade /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copy...
rmorbach/blade
LinBLaDE/src/BarcodeEngine.h
<filename>LinBLaDE/src/BarcodeEngine.h /* * BarcodeEngine.h * * Created on: Sep 14, 2012 * Author: kamyon */ #ifndef BARCODEENGINE_H_ #define BARCODEENGINE_H_ #include "ski/cv.hpp" #include "ski/math.h" #include "ski/BLaDE/Barcode.h" #include "ski/Sound/SoundManager.h" #include <cstdio> #include "ProductSe...
rmorbach/blade
include/ski/log.h
<filename>include/ski/log.h /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above c...
rmorbach/blade
LinBLaDE/src/opts.h
#ifndef __OPTS_H #define __OPTS_H /** * @file options */ #include "ski/types.h" #include <string> #include <cstdio> struct Opts { /** input mode */ enum InputMode { EInputImage, EInputMovie, EInputWebcam } input; /** Resolution */ enum CameraResolution { EResolutionLow = 1, //320x240 EResolutionMed, //...
rmorbach/blade
include/ski/BLaDE/Barcode.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
rmorbach/blade
BLaDE/src/Locator.h
<reponame>rmorbach/blade<gh_stars>1-10 /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must r...
rmorbach/blade
include/ski/viterbi.h
<filename>include/ski/viterbi.h /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain t...
rmorbach/blade
include/ski/Sound/SoundManager.h
<filename>include/ski/Sound/SoundManager.h /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must ret...
rmorbach/blade
LinBLaDE/src/misc.h
/* * misc.h * * Created on: Jul 25, 2012 * Author: kamyon */ #ifndef MISC_H_ #define MISC_H_ #include <cstdio> #include "ski/log.h" #include <string> //#include "ski/cv.hpp" #include "opencv2/opencv.hpp" #include "ski/types.h" namespace Draw { typedef struct{ TUInt8 b, g, r; } TColor; static const TCol...
rmorbach/blade
BLaDE/src/algorithms.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
rmorbach/blade
include/ski/BLaDE/Symbology.h
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
rmorbach/blade
include/ski/math.h
<filename>include/ski/math.h /* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the ...
Pilooz/flipdots
arduino/flip_panel_node_client_ino_3rdgeneration/EntireFlipBoard.h
#ifndef ENTIREBOARD #define ENTIREBOARD #include <Arduino.h> #include "FlipBoard.h" #define DTIME 200 // Temps d'alimentation de la bobine FlipBoard board1(0x21, 0x20); /*FlipBoard board2(0x23, 0x22); FlipBoard board3(0x25, 0x24);*/ class EntireBoard { public: void setup() { Wire.begin(); // wake up I...
Pilooz/flipdots
arduino/flip_panel_node_client_ino_3rdgeneration/FlipBoard.h
#ifndef FLIPBOARD #define FLIPBOARD #define BLACK 0 #define YELLOW 1 class FlipBoard { public: FlipBoard(unsigned char addrX, unsigned char addrY) { // Setup the flip board with MCP addresses this->addrX = addrX; this->addrY = addrY; } void setup() { // set all I/O to O Wi...
henrythasler/legendary-dashboard
lib/text/wisdom.h
<filename>lib/text/wisdom.h #if defined(ESP8266) || defined(ESP32) #include <pgmspace.h> #else #include <avr/pgmspace.h> #endif // Latin-1 character codes // ä: "\xe4" // ü: "\xfc" // ö: "\xf6" // Ä: "\xc4" // Ö: "\xd6" // Ü: "\xdc" // ß: "\xdf" const std::vector<String> wisdomTexts PROGMEM = { // Bullshit Bingo ...
henrythasler/legendary-dashboard
lib/images/src/gfx.h
<filename>lib/images/src/gfx.h #ifndef GFX_H #define GFX_H #include <images.h> #include <icons.h> struct Image{ const uint8_t *color; const uint8_t *black; Image(const uint8_t *color, const uint8_t *black) : color(color), black(black) { } }; struct { Image bmw = Image(bmwYellow, bmwBlack); Image br...
henrythasler/legendary-dashboard
lib/chart/src/chart.h
#ifndef CHART_H #define CHART_H #include <timeseries.h> #ifdef ARDUINO #include <GxEPD.h> #include <GxGDEW042Z15/GxGDEW042Z15.h> // 4.2" b/w/r #endif using namespace std; class Chart { private: public: Chart(void); #ifdef ARDUINO void lineChart(GxEPD_Class *display, Timeseries *timeseries...
henrythasler/legendary-dashboard
lib/icons/src/icons.h
<reponame>henrythasler/legendary-dashboard<filename>lib/icons/src/icons.h #ifndef ICONS_H #define ICONS_H #if defined(ESP8266) || defined(ESP32) #include <pgmspace.h> #else #include <avr/pgmspace.h> #endif const unsigned char empty [] PROGMEM = {}; // 'gift', 120x120px const unsigned char giftRed [] PROGMEM = { 0xf...
ayanchoudhary/learn2pwn
mitigations/tasks/task1/canary.c
// gcc -o canary canary.c -m32 -no-pie -fno-pic -mpreferred-stack-boundary=2 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> int nextind, devrand; char *password; int cans[2]; void initCanary(char *s) { memset(s, 0, 0x28u); read(devrand, s + 0x28, 4u); *((unsign...
tahussle/bebbang
wallet/qt/ntp1/ntp1tokenlistmodel.h
#ifndef NTP1TOKENLISTMODEL_H #define NTP1TOKENLISTMODEL_H #include <QAbstractTableModel> #include <QTimer> #include <atomic> #include "init.h" #include "ntp1/ntp1wallet.h" #include "wallet.h" class NTP1TokenListModel : public QAbstractTableModel { Q_OBJECT boost::shared_ptr<NTP1Wallet> ntp1wallet; bool ...
tahussle/bebbang
wallet/ntp1/ntp1sendtxdata.h
#ifndef NTP1SENDTXDATA_H #define NTP1SENDTXDATA_H #include "ntp1/ntp1wallet.h" #include "ntp1sendtokensonerecipientdata.h" #include <deque> #include <string> #include <unordered_set> struct IntermediaryTI { static const unsigned int CHANGE_OUTPUT_FAKE_INDEX = 10000000; std::vector<NTP1Script::TransferInstruc...
tahussle/bebbang
wallet/qt/ntp1sendsingletokenfields.h
#ifndef NTP1SENDSINGLETOKENFIELDS_H #define NTP1SENDSINGLETOKENFIELDS_H #include <QComboBox> #include <QGridLayout> #include <QLineEdit> #include <QPushButton> #include <functional> #include "ntp1/ntp1listelementtokendata.h" #include "ntp1/ntp1sendtokensonerecipientdata.h" #include "ntp1senddialog.h" class NTP1SendS...
tahussle/bebbang
wallet/qt/ntp1summary.h
#ifndef NTP1SUMMARY_H #define NTP1SUMMARY_H #include "ntp1/ntp1tokenlistfilterproxy.h" #include "ntp1/ntp1tokenlistitemdelegate.h" #include "ntp1/ntp1tokenlistmodel.h" #include "ui_ntp1summary.h" #include "json/NTP1MetadataViewer.h" #include <QTimer> #include <QWidget> #include <boost/thread.hpp> #include <boost/thre...
tahussle/bebbang
wallet/txdb-lmdb.h
<reponame>tahussle/bebbang // Copyright (c) 2009-2012 The Bitcoin Developers. // Authored by Google, Inc. // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_LMDB_H #define BITCOIN_LMDB_H //#define DEEP_LMDB_LOG...
tahussle/bebbang
wallet/ntp1/ntp1tokenmetadata.h
<gh_stars>0 #ifndef NTP1TOKENMETADATA_H #define NTP1TOKENMETADATA_H #include "base58.h" #include "json_spirit.h" #include "ntp1tokenminimalmetadata.h" #include "uint256.h" #include <vector> class NTP1TokenMetaData : public NTP1TokenMinimalMetaData { uint64_t numOfHolders; uint64_t totalSup...
tahussle/bebbang
wallet/ntp1/ntp1apicalls.h
<reponame>tahussle/bebbang #ifndef NTP1APICALLS_H #define NTP1APICALLS_H #include "ntp1tokenmetadata.h" #include "ntp1tools.h" #include "ntp1transaction.h" class NTP1APICalls { public: NTP1APICalls(); static bool RetrieveData_AddressContainsNTP1Tokens(const std::string& address, bool testnet); static ...
tahussle/bebbang
wallet/ntp1/ntp1tools.h
<reponame>tahussle/bebbang #ifndef NTP1TOOLS_H #define NTP1TOOLS_H #include "curltools.h" #include "json/json_spirit.h" class NTP1Tools { public: NTP1Tools(); static const std::string NTPAPI_base_url_mainnet_local; static const std::string NTPAPI_base_url_testnet_local; static const std::string NTPA...
tahussle/bebbang
wallet/qt/ntp1senddialog.h
<reponame>tahussle/bebbang #ifndef NTP1SENDDIALOG_H #define NTP1SENDDIALOG_H #include <QGridLayout> #include <QGroupBox> #include <QPushButton> #include <QScrollArea> #include <QVBoxLayout> #include <QVector> #include <QWidget> #include "ntp1/ntp1sendtokensdata.h" #include "ntp1/ntp1tokenlistmodel.h" #include "ntp1se...
tahussle/bebbang
wallet/qt/ntp1/ntp1tokenlistfilterproxy.h
#ifndef NTP1TOKENLISTFILTERPROXY_H #define NTP1TOKENLISTFILTERPROXY_H #include <QSortFilterProxyModel> #include <QLineEdit> class NTP1TokenListFilterProxy : public QSortFilterProxyModel { QLineEdit* filterLineEdit; public: NTP1TokenListFilterProxy(QLineEdit *FilterLineEdit = NULL); // QSortFilterProxyMod...
tahussle/bebbang
wallet/ntp1/ntp1tokenminimalmetadata.h
<reponame>tahussle/bebbang<gh_stars>0 #ifndef NTP1TOKENMINIMALMETADATA_H #define NTP1TOKENMINIMALMETADATA_H #include "uint256.h" #include <string> #include <vector> class NTP1TokenMinimalMetaData { protected: std::string tokenId; uint256 issuanceTxId; uint64_t divisibility; bool lockStat...
tahussle/bebbang
wallet/qt/bitcoingui.h
#ifndef BITCOINGUI_H #define BITCOINGUI_H #include "ntp1summary.h" #include <QLinearGradient> #include <QMainWindow> #include <QPainter> #include <QProgressDialog> #include <QStatusBar> #include <QSystemTrayIcon> #include <QToolBar> #include "overviewpage.h" #include <stdint.h> #include "neblioupdatedialog.h" #inclu...
tahussle/bebbang
wallet/qt/ui_overviewpage.h
<filename>wallet/qt/ui_overviewpage.h /******************************************************************************** ** Form generated from reading UI file 'overviewpage.ui' ** ** Created by: Qt User Interface Compiler version 5.7.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ...
tahussle/bebbang
wallet/NetworkForks.h
<gh_stars>0 #ifndef NETWORKFORKS_H #define NETWORKFORKS_H #include "init.h" #include <map> enum NetworkFork : uint16_t { NETFORK__1_FIRST_ONE = 0, NETFORK__2_CONFS_CHANGE, NETFORK__3_TACHYON }; class NetworkForks { std::map<NetworkFork, int> forksToBlockMap; std::map<int, NetworkFork> blockToFork...
tahussle/bebbang
wallet/curltools.h
#ifndef CURLTOOLS_H #define CURLTOOLS_H #include "util.h" #include <atomic> #include <boost/filesystem/fstream.hpp> #include <curl/curl.h> class cURLTools { public: static size_t CurlWrite_CallbackFunc_StdString(void* contents, size_t size, size_t nmemb, std::de...
tahussle/bebbang
wallet/init.h
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_INIT_H #define BITCOIN_INIT_H #include "boost/atomic.hpp" #include "wallet.h...
tahussle/bebbang
wallet/ntp1/ntp1sendtokensdata.h
<gh_stars>0 #ifndef NTP1SENDTOKENSDATA_H #define NTP1SENDTOKENSDATA_H #include "ntp1/ntp1wallet.h" #include "ntp1sendtokensonerecipientdata.h" #include <deque> #include <string> /** * This class is used for a systematic construction of NTP1 transactions. Follow the steps: * 1. Add recipients * 2. Call calculateSou...
tahussle/bebbang
wallet/ThreadSafeMap.h
<filename>wallet/ThreadSafeMap.h #ifndef THREADSAFEMAP_H #define THREADSAFEMAP_H #include <boost/thread.hpp> #include <map> template <typename K, typename V> class ThreadSafeMap { std::map<K, V> theMap; mutable boost::shared_mutex mtx; public: using MapType = std::map<K, V>; ThreadSafeMap(); ...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.30.X/mcc_generated_files/i2c1_driver.h
/* (c) 2016 Microchip Technology Inc. and its subsidiaries. You may use this software and any derivatives exclusively with Microchip products. THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED WARRANTI...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/LoRaWAN/lorawan_eu.c
<filename>Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/LoRaWAN/lorawan_eu.c /******************************************************************** * Copyright (C) 2016 Microchip Technology Inc. and its subsidiaries * (Microchip). All rights reserved. * * You are permitted to use the software and its derivatives ...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.00.X/main.c
<filename>Software/RN2483_LoRAWAN_v1.00.X/main.c /** Generated Main Source File Company: Microchip Technology Inc. File Name: main.c Summary: This is the main file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs Description: This header file provides implementations for driver APIs for ...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/tmr5.h
/** TMR5 Generated Driver API Header File @Company Microchip Technology Inc. @File Name tmr5.h @Summary This is the generated header file for the TMR5 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs @Description This header file provides APIs for driver for TMR5. Generation Information...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/ext_int.h
<filename>Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/ext_int.h /** EXT_INT Generated Driver File @Company Microchip Technology Inc. @File Name ext_int.c @Summary This is the generated driver implementation file for the EXT_INT driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs ...
kamval/RN2483
Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/LoRaWAN/lorawan_eu.h
<filename>Software/RN2483_LoRAWAN_v1.10.X/mcc_generated_files/LoRaWAN/lorawan_eu.h /******************************************************************** * Copyright (C) 2016 Microchip Technology Inc. and its subsidiaries * (Microchip). All rights reserved. * * You are permitted to use the software and its derivat...
any1/wlvncc
src/vnc.c
<reponame>any1/wlvncc /* * Copyright (c) 2020 <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND T...