repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
RamsayBoy/Minishell-C
include/ramsayboy.h
#ifndef RAMSAYBOY_H_INCLUDED #define RAMSAYBOY_H_INCLUDED void print_author_name(); #endif
RamsayBoy/Minishell-C
src/minishell.c
<reponame>RamsayBoy/Minishell-C<filename>src/minishell.c /* * OS * ---------------------------------------------------------------------------- * minishell.c is where the functions related to the operation of the shell * are placed * ---------------------------------------------------------------------------- ...
RamsayBoy/Minishell-C
include/minishell.h
<reponame>RamsayBoy/Minishell-C #ifndef MINISHELL_H_INCLUDED #define MINISHELL_H_INCLUDED #include "parser.h" int save_stds(int *saved_stdin, int *saved_stdout, int *saved_stderr); int restore_stds(int saved_stdin, int saved_stdout, int saved_stderr); void prompt(); int all_commands_exist(tline *line); int exec_comma...
RamsayBoy/Minishell-C
src/main.c
<gh_stars>0 /* * OS * ---------------------------------------------------------------------------- * main.c is where the main program is placed * ---------------------------------------------------------------------------- * Program: minishell * Author: Ramsay */ #include <stdio.h> #include <string.h> #include ...
RamsayBoy/Minishell-C
src/ramsayboy.c
<reponame>RamsayBoy/Minishell-C /* * OS * ---------------------------------------------------------------------------- * ramsayboy.c contains silly stuff * ---------------------------------------------------------------------------- * Program: minishell * Author: Ramsay */ #include <stdio.h> #include "../includ...
AlbertCayuela/NistalEngine
Nistal Engine/UIResources.h
<filename>Nistal Engine/UIResources.h #ifndef __UIRESOURCES_H__ #define __UIRESOURCES_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include <vector> class UIResources : public UIWindow { public: UIResources(); ~UIResources(); bool Start(); void Draw(); bool Cle...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleSceneIntro.h
#pragma once #include "Module.h" #include "Globals.h" #include "Primitive.h" struct PhysBody3D; struct PhysMotor3D; using namespace std; class GameObject; class ModuleSceneIntro : public Module { public: ModuleSceneIntro(Application* app, bool start_enabled = true); ~ModuleSceneIntro(); bool Start(); ...
AlbertCayuela/NistalEngine
Nistal Engine/GameObject.h
<filename>Nistal Engine/GameObject.h #ifndef __GAMEOBJECT_H__ #define __GAMEOBJECT_H__ #include <vector> #include <string> #include "Globals.h" #include "Parson/parson.h" #include "MathGeoLib/include/MathGeoLib.h" enum GOCOMPONENT_TYPE { NONE = 0, TRANSFORM, MESH, MATERIAL, CAMERA, AUDIO_SOURCE, AUDIO_LISTENER...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleLoadFBX.h
#pragma once #include "Module.h" #include "Globals.h" #include "GameObject.h" #include "Resource.h" #include "Glew/include/glew.h" #include <vector> #include "MathGeoLib/include/Math/float3.h" #include "Assimp/include/vector3.h" #include "MathGeoLib/include/Math/Quat.h" class GameObject; class Resource; class aiScene...
AlbertCayuela/NistalEngine
Nistal Engine/UITime.h
<gh_stars>0 #ifndef __UITIME_H__ #define __UITIME_H__ #include "Module.h" #include "Application.h" #include "UIWindow.h" #include "Timer.h" class UITime : public UIWindow { public: UITime(); ~UITime(); bool Start(); void Draw(); bool CleanUp(); void SetPos(); public: float frame_count; float time_scale = ...
AlbertCayuela/NistalEngine
Nistal Engine/GOAudioSource.h
<reponame>AlbertCayuela/NistalEngine #ifndef __GOAUDIOSOURCE_H__ #define __GOAUDIOSOURCE_H__ #include "GOComponent.h" #include "WwiseT.h" #include "Timer.h" using namespace WwiseT; class GOAudioSource : public GOComponent { public: GOAudioSource(GameObject* parent); ~GOAudioSource(); void Update(float dt); boo...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleUI.h
<gh_stars>0 #pragma once #include "Module.h" #include "Globals.h" #include "UIWindow.h" #include "ImGui/imgui.h" class UIWindow; class UIConfiguration; class UIAbout; class UIConsole; class UIInspector; class UIHierarchy; class UISave; class UILoad; class UITime; class UIAssets; class UIResources; class ModuleUI : pu...
AlbertCayuela/NistalEngine
Nistal Engine/UILoad.h
#ifndef __UILOAD_H__ #define __UILOAD_H__ #include "Module.h" #include "Application.h" #include "UIWindow.h" class UILoad : public UIWindow { public: UILoad(); ~UILoad(); bool Start(); void Draw(); bool CleanUp(); void SetPos(); public: bool files_checked = false; std::vector<std::string> files_list; s...
AlbertCayuela/NistalEngine
Nistal Engine/UIInspector.h
<reponame>AlbertCayuela/NistalEngine #pragma once #ifndef __UIINSPECTOR_H__ #define __UIINSPECTOR_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include "SDL/include/SDL.h" #include "imGUI\imgui.h" class UIInspector : public UIWindow { public: UIInspector(); ~UIInspec...
AlbertCayuela/NistalEngine
Nistal Engine/UIConfiguration.h
#ifndef __UICONFIGURATION_H__ #define __UICONFIGURATION_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include "SDL/include/SDL.h" #include "imGUI\imgui.h" #include <vector> class UIConfiguration : public UIWindow { public: UIConfiguration(); ~UIConfiguration(); ...
AlbertCayuela/NistalEngine
Nistal Engine/GOCamera.h
<filename>Nistal Engine/GOCamera.h<gh_stars>0 #ifndef __GOCAMERA_H__ #define __GOCAMERA_H__ #include "GOComponent.h" #include "Globals.h" #include "MathGeoLib/include/Geometry/Frustum.h" class GameObject; enum Intersection { INSIDE = 0, INTERSECT = 1, OUTSIDE = 2 }; class GOCamera : public GOComponent { public: ...
AlbertCayuela/NistalEngine
Nistal Engine/ResourceMesh.h
<filename>Nistal Engine/ResourceMesh.h #ifndef __RESOURCEMESH_H__ #define __RESOURCEMESH_H__ #include <string> #include "Resource.h" #include "ModuleLoadFBX.h" class ResourceMesh : public Resource { public: ResourceMesh(uint uuid, std::string meta_path, Resource* parent); ~ResourceMesh(); bool LoadToMemory(); ...
AlbertCayuela/NistalEngine
Nistal Engine/GOComponent.h
<reponame>AlbertCayuela/NistalEngine<filename>Nistal Engine/GOComponent.h #ifndef __GOCOMPONENT_H__ #define __GOCOMPONENT_H__ #include "GameObject.h" class GameObject; enum GOCOMPONENT_TYPE; class GOComponent { public: GOComponent(GameObject* game_object); ~GOComponent(); virtual void Update(float dt); virtu...
AlbertCayuela/NistalEngine
Nistal Engine/GOReverbZone.h
#ifndef __GOREVERBZONE_H__ #define __GOREVERBZONE_H__ #include "GOComponent.h" #include "GameObject.h" #include <DirectXMath.h> class GOReverbZone : public GOComponent { public: GOReverbZone(GameObject* game_object); ~GOReverbZone(); void Update(float dt); bool CheckIntersection(GOAudioSource* source); void Z...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleAudio.h
<gh_stars>0 #pragma once #include "Module.h" #include "Globals.h" #include "WwiseT.h" #include "GOAudioSource.h" using namespace WwiseT; class ModuleAudio : public Module { public: ModuleAudio(Application* app, bool start_enabled = true); ~ModuleAudio(); bool Start(); update_status Update(float dt); bool CleanU...
AlbertCayuela/NistalEngine
Nistal Engine/UIAbout.h
<reponame>AlbertCayuela/NistalEngine<filename>Nistal Engine/UIAbout.h #ifndef __UIABOUT_H__ #define __UIABOUT_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include "SDL/include/SDL.h" #include "imGUI\imgui.h" #include <vector> class UIAbout : public UIWindow { public...
AlbertCayuela/NistalEngine
Nistal Engine/sphereEngine.h
<gh_stars>0 #define _USE_MATH_DEFINES #include "Glew/include/glew.h" #include "SDL/include/SDL_opengl.h" #include <gl/GL.h> #include <gl/GLU.h> #include <vector> #include <cmath> using namespace std; class SphereRender { protected: vector<GLfloat> vertices; vector<GLfloat> normals; vector<GLfloat> texcoords; ve...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleImporter.h
#pragma once #include "Module.h" #include "Globals.h" class ModuleImporter : public Module { public: ModuleImporter(Application* app, bool start_enabled = true); ~ModuleImporter(); bool Start(); bool Update(); bool CleanUp(); //import function is our current LoadMeshes bool SaveOwnFormat(modelData model, s...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleResourceManager.h
#ifndef __MODULERESOURCEMANAGER_H__ #define __MODULERESOURCEMANAGER_H__ #include "Module.h" #include "Resource.h" #include "MathGeoLib/include/Algorithm/Random/LCG.h" class ModuleResourceManager : public Module { public: ModuleResourceManager(Application* app, bool start_enabled = true); ~ModuleResourceManager()...
AlbertCayuela/NistalEngine
Nistal Engine/Timer.h
<gh_stars>0 #ifndef __TIMER_H__ #define __TIMER_H__ #include "Globals.h" #include "SDL\include\SDL.h" class Timer { public: // Constructor Timer(); void Start(); void Stop(); void UpdateTimer(); Uint32 Read(); bool paused = false; float frame_count; float time_scale = 1.0f; float time; float dt; float...
AlbertCayuela/NistalEngine
Nistal Engine/UIAssets.h
#ifndef __UIASSETS_H__ #define __UIASSETS_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include <vector> class UIAssets : public UIWindow { public: UIAssets(); ~UIAssets(); bool Start(); void Draw(); bool CleanUp(); void SetPos(); private: uint counter = -1;...
AlbertCayuela/NistalEngine
Nistal Engine/UIHierarchy.h
#ifndef __UIHIERARHCY_H__ #define __UIHIERARCHY_H__ #include "Module.h" #include "Application.h" #include "Globals.h" #include "UIWindow.h" #include <vector> class UIHierarchy : public UIWindow { public: UIHierarchy(); ~UIHierarchy(); bool Start(); void Draw(); bool CleanUp(); void SetHierarchy(GameObject*...
AlbertCayuela/NistalEngine
Nistal Engine/GOAudioListener.h
#ifndef __GOAUDIOLISTENER_H__ #define __GOAUDIOLISTENER_H__ #include "GOComponent.h" #include "WwiseT.h" #include "MathGeoLib/include/Geometry/Polyhedron.h" using namespace WwiseT; class GOAudioListener : public GOComponent { public: GOAudioListener(GameObject* parent); ~GOAudioListener(); void Update(float dt)...
AlbertCayuela/NistalEngine
Nistal Engine/Resource.h
<gh_stars>0 #ifndef __RESOURCE_H__ #define __RESOURCE_H__ #include "Globals.h" enum RESOURCE_TYPE { RESOURCE_MESH, RESOURCE_MATERIAL, RESOURCE_UNKNOWN }; class ResourceMesh; class ResourceMaterial; class Resource { public: Resource(uint uuid, RESOURCE_TYPE type); virtual ~Resource(); RESOURCE_TYPE GetResou...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleSerialization.h
<gh_stars>0 #pragma once #include "Application.h" #include "Module.h" #include "Globals.h" class ModuleSerialization : public Module { public: ModuleSerialization(Application* app, bool start_enabled = true); ~ModuleSerialization(); update_status Update(float dt); bool SaveScene(const char* name_scene); bool Lo...
AlbertCayuela/NistalEngine
Nistal Engine/UISave.h
<gh_stars>0 #ifndef __UISAVE_H__ #define __UISAVE_H__ #include "Module.h" #include "Application.h" #include "UIWindow.h" class UISave : public UIWindow { public: UISave(); ~UISave(); bool Start(); void Draw(); bool CleanUp(); void SetPos(); }; #endif // !__UISAVE_H__
AlbertCayuela/NistalEngine
Nistal Engine/GOTransform.h
<filename>Nistal Engine/GOTransform.h #ifndef __GOTRANSFORM_H__ #define __GOTRANSFORM_H__ #include "GOComponent.h" #include "MathGeoLib/include/Math/float3.h" #include "MathGeoLib/include/Math/Quat.h" #include "MathGeoLib/include/Math/float4x4.h" class GOTransform : public GOComponent { public: GOTransform(GameO...
AlbertCayuela/NistalEngine
Nistal Engine/GOMesh.h
<gh_stars>0 #ifndef __GOMESH_H__ #define __GOMESH_H__ #include "GOComponent.h" #include "ModuleLoadFBX.h" #include "Resource.h" class GOMesh : public GOComponent { public: GOMesh(GameObject* game_object, const char* name); ~GOMesh(); void DrawMesh(uint texture_id = NULL); void SetMesh(const char* path); void S...
AlbertCayuela/NistalEngine
Nistal Engine/ResourceMaterial.h
#ifndef __RESOURCEMATERIAL_H__ #define __RESOURCEMATERIAL_H__ #include "Resource.h" #include <string> class ResourceMaterial : public Resource { public: ResourceMaterial(uint uuid, std::string meta_path, Resource* parent); ~ResourceMaterial(); bool LoadToMemory(); bool UnloadFromMemory(); Resource* parent;...
AlbertCayuela/NistalEngine
Nistal Engine/ModuleCamera3D.h
<gh_stars>0 #pragma once #include "Module.h" #include "Globals.h" #include "glmath.h" #include "MathGeoLib/include/Math/float3.h" #include <map> class GameObject; class GOCamera; class ModuleCamera3D : public Module { public: ModuleCamera3D(Application* app, bool start_enabled = true); ~ModuleCamera3D(); bool Sta...
AlbertCayuela/NistalEngine
Nistal Engine/GOMaterial.h
#ifndef __GOMATERIAL_H__ #define __GOMATERIAL_H__ #include "GOComponent.h" class GOMaterial : public GOComponent { public: GOMaterial(GameObject* game_object, const char* name); ~GOMaterial(); void LoadThisTex(const char* texture_path); void GetNewMaterial(std::string new_material_path); void SaveSceneMateria...
AlbertCayuela/NistalEngine
Nistal Engine/UIWindow.h
<reponame>AlbertCayuela/NistalEngine #ifndef __UIWINDOW_H__ #define __UIWINDOW_H__ #include "Application.h" #include "Globals.h" #include "SDL/include/SDL.h" class UIWindow { public: UIWindow(); virtual ~UIWindow(); virtual void Active(); virtual bool IsActive(); virtual void Draw() = 0; public: bool is_on = ...
AlbertCayuela/NistalEngine
Nistal Engine/cubeEngine.h
#pragma once #define _USE_MATH_DEFINES #include "Glew/include/glew.h" #include "SDL/include/SDL_opengl.h" #include <gl/GL.h> #include <gl/GLU.h> #include <vector> #include <cmath> using namespace std; class CubeRender { public: CubeRender(); void DrawCubeDirectMode(); void DrawCubeVertexArray(); voi...
AlbertCayuela/NistalEngine
Nistal Engine/Application.h
#pragma once #include "Globals.h" #include "Timer.h" #include "Module.h" #include "ModuleWindow.h" #include "ModuleInput.h" #include "ModuleSceneIntro.h" #include "ModuleRenderer3D.h" #include "ModuleCamera3D.h" #include "ModuleUI.h" #include "ModuleLoadFBX.h" #include "ModuleFS.h" #include "ModuleImporter.h" #include...
AlbertCayuela/NistalEngine
Nistal Engine/UIConsole.h
<filename>Nistal Engine/UIConsole.h #ifndef __UICONSOLE_H__ #define __UICONSOLE_H__ #include "Module.h" #include "Application.h" #include "UIWindow.h" class UIConsole : public UIWindow { public: UIConsole(); ~UIConsole(); bool Start(); void Draw(); bool CleanUp(); void SetPos(); }; #endif // !__UICONSOLE_H__...
dwfreed/pebble-caltrain
src/colours.h
#pragma once #include <pebble.h> #ifdef PBL_COLOR #define COLOUR_HEADER GColorRed #define COLOUR_HEADER_TEXT GColorWhite #define COLOUR_WINDOW GColorWhite #define COLOUR_MENU_BACKGROUND GColorWhite #define COLOUR_MENU_FOREGROUND GColorBlack #define COLOUR_MENU_HIGHLIGHT_BACKGROUND GColorFromHEX(0xE31837)...
venmo/mparticle-apple-integration-kochava
KochavaCore.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaCore.framework/Headers/KochavaCore.h
<filename>KochavaCore.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaCore.framework/Headers/KochavaCore.h // // KochavaCore.h // KochavaCore // // Created by <NAME> on 6/12/20. // Copyright © 2013 - 2021 Kochava, Inc. All rights reserved. // #ifndef KochavaCore_h #define KochavaCore_h #pragma mark - ...
venmo/mparticle-apple-integration-kochava
mParticle-Kochava/mParticle_Kochava.h
// // mParticle_Kochava.h // mParticle-Kochava // // Created by <NAME> on 2/8/21. // #import <Foundation/Foundation.h> //! Project version number for mParticle_Kochava. FOUNDATION_EXPORT double mParticle_KochavaVersionNumber; //! Project version string for mParticle_Kochava. FOUNDATION_EXPORT const unsigned char ...
venmo/mparticle-apple-integration-kochava
KochavaTracker.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaTracker.framework/Headers/KVAPushNotificationsToken.h
// // KVAPushNotificationsToken.h // KochavaTracker // // Created by <NAME> on 7/23/19. // Copyright © 2019 - 2021 Kochava, Inc. All rights reserved. // #ifndef KVAPushNotificationsToken_h #define KVAPushNotificationsToken_h #pragma mark - IMPORT #ifdef KOCHAVA_FRAMEWORK #import <KochavaCore/KochavaCore.h>...
venmo/mparticle-apple-integration-kochava
KochavaCore.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaCore.framework/Headers/KVAEventSender.h
<reponame>venmo/mparticle-apple-integration-kochava<filename>KochavaCore.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaCore.framework/Headers/KVAEventSender.h // // KVAEventSender.h // KochavaCore // // Created by <NAME> on 4/17/19. // Copyright © 2019 - 2021 Kochava, Inc. All rights reserved. // #ifnd...
venmo/mparticle-apple-integration-kochava
KochavaTracker.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaTracker.framework/Headers/KVATrackerProduct.h
<gh_stars>0 // // KVATrackerProduct.h // KochavaTracker // // Created by <NAME> on 11/9/17. // Copyright © 2017 - 2021 Kochava, Inc. All rights reserved. // #ifndef KVATrackerProduct_h #define KVATrackerProduct_h #pragma mark - IMPORT #ifdef KOCHAVA_FRAMEWORK #import <KochavaCore/KochavaCore.h> #else #imp...
venmo/mparticle-apple-integration-kochava
KochavaTracker.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaTracker.framework/Headers/KVAPrivacyProfile.h
// // KVAPrivacyProfile.h // KochavaTracker // // Created by <NAME> on 12/10/20. // Copyright © 2020 - 2021 Kochava, Inc. All rights reserved. // #ifndef KVAPrivacyProfile_h #define KVAPrivacyProfile_h #pragma mark - IMPORT #ifdef KOCHAVA_FRAMEWORK #import <KochavaCore/KochavaCore.h> #else #import "KVAAsFo...
venmo/mparticle-apple-integration-kochava
KochavaCore.xcframework/watchos-arm64_i386_x86_64-simulator/KochavaCore.framework/Headers/KVASystem.h
<reponame>venmo/mparticle-apple-integration-kochava // // KVASystem.h // KochavaCore // // Created by <NAME> on 12/28/17. // Copyright © 2017 - 2021 Kochava, Inc. All rights reserved. // #ifndef KVASystem_h #define KVASystem_h #pragma mark - INTERFACE /*! @class KVASystem @brief A class for working wi...
wakwak-koba/M5GFX
src/lgfx/Fonts/Ascii24x48.h
#ifndef ASCIIFONTLIB24X48_H_ #define ASCIIFONTLIB24X48_H_ /*************************************************************************************/ // // 字模文件 // 软件提供:哈迪斯2001(Hades2001) @2018/09/10 // Mail: <EMAIL> // 编码: ASCII // 字体: (ASC48)24x24 Ascii // 字模水平像素 : 24 // 字模垂直...
wakwak-koba/M5GFX
src/lgfx/utility/lgfx_pngle.h
/*- * MIT License * * Copyright (c) 2019 kikuchan * * 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...
wakwak-koba/M5GFX
src/lgfx/Fonts/Font8x8C64.h
/* * * original source : https://github.com/hugovangalen/C64_Font8x8 * * modify by lovyan03 * */ #ifndef FONT8x8_C64_H #define FONT8x8_C64_H /* C64 font */ const uint8_t font8x8_c64 [] PROGMEM = { /* */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* ! */ 0x00,0x00,0x00,0x00,0x4f,0x4f,0x00,0x00, /* " */ 0x00,0x00...
wakwak-koba/M5GFX
src/lgfx/Fonts/efont/lgfx_efont_tw.h
#include <stdint.h> #define U8G2_USE_LARGE_FONTS extern const uint8_t lgfx_efont_tw_10[]; extern const uint8_t lgfx_efont_tw_10_b[]; extern const uint8_t lgfx_efont_tw_10_bi[]; extern const uint8_t lgfx_efont_tw_10_i[]; extern const uint8_t lgfx_efont_tw_12[]; extern const uint8_t lgfx_efont_tw_12_b[]; extern const ui...
wakwak-koba/M5GFX
src/lgfx/utility/lgfx_qrcode.c
<gh_stars>0 /** * The MIT License (MIT) * * 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 * ...
wakwak-koba/M5GFX
src/lgfx/Fonts/efont/lgfx_efont_ja.h
#include <stdint.h> #define U8G2_USE_LARGE_FONTS extern const uint8_t lgfx_efont_ja_10[]; extern const uint8_t lgfx_efont_ja_10_b[]; extern const uint8_t lgfx_efont_ja_10_bi[]; extern const uint8_t lgfx_efont_ja_10_i[]; extern const uint8_t lgfx_efont_ja_12[]; extern const uint8_t lgfx_efont_ja_12_b[]; extern const ui...
wakwak-koba/M5GFX
src/lgfx/Fonts/Ascii8x16.h
#ifndef ASCIIFONTLIB8X16_H_ #define ASCIIFONTLIB8X16_H_ /*************************************************************************************/ // // 字模文件 // 软件提供:哈迪斯2001(Hades2001) @2018/09/10 // Mail: <EMAIL> // 编码: ASCII // 字体: (ASC16)8x16 Ascii // 字模水平像素 : 8 // 字模垂直像素 :...
wakwak-koba/M5GFX
src/lgfx/Fonts/IPA/lgfx_font_japan.h
#ifndef LGFX_FONT_JAPAN_H_ #define LGFX_FONT_JAPAN_H_ #include <stdint.h> extern const uint8_t lgfx_font_japan_mincho_8[]; extern const uint8_t lgfx_font_japan_mincho_12[]; extern const uint8_t lgfx_font_japan_mincho_16[]; extern const uint8_t lgfx_font_japan_mincho_20[]; extern const uint8_t lgfx_font_japan_mincho_2...
wakwak-koba/M5GFX
src/lgfx/Fonts/efont/lgfx_efont_kr.h
#include <stdint.h> #define U8G2_USE_LARGE_FONTS extern const uint8_t lgfx_efont_kr_10[]; extern const uint8_t lgfx_efont_kr_10_b[]; extern const uint8_t lgfx_efont_kr_10_bi[]; extern const uint8_t lgfx_efont_kr_10_i[]; extern const uint8_t lgfx_efont_kr_12[]; extern const uint8_t lgfx_efont_kr_12_b[]; extern const ui...
wakwak-koba/M5GFX
src/lgfx/Fonts/efont/lgfx_efont_cn.h
<reponame>wakwak-koba/M5GFX #include <stdint.h> #define U8G2_USE_LARGE_FONTS extern const uint8_t lgfx_efont_cn_10[]; extern const uint8_t lgfx_efont_cn_10_b[]; extern const uint8_t lgfx_efont_cn_10_bi[]; extern const uint8_t lgfx_efont_cn_10_i[]; extern const uint8_t lgfx_efont_cn_12[]; extern const uint8_t lgfx_efon...
wakwak-koba/M5GFX
src/lgfx/v1/gitTagVersion.h
<reponame>wakwak-koba/M5GFX #define LGFX_VERSION_MAJOR 1 #define LGFX_VERSION_MINOR 0 #define LGFX_VERSION_PATCH 0 #define LOVYANGFX_VERSION F( LGFX_VERSION_MAJOR "." LGFX_VERSION_MINOR "." LGFX_VERSION_PATCH )
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/MyPlgunProtocol.h
<gh_stars>1-10 // // MyPlgunProtocol.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import <Foundation/Foundation.h> #import <Cordova/CDV.h> @protocol MyPlgunProtocol <NSObject> //- (void)onHookedPluginResult:(CDVPluginResult*)result callbackId:(NSString*)callbackId; - (void)pluginUnload; @end
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/PluginCircle.h
// // PluginCircle.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import "CordovaGoogleMaps.h" #import "MyPlgunProtocol.h" @interface PluginCircle : CDVPlugin<MyPlgunProtocol> @property (nonatomic, strong) GoogleMapsViewController* mapCtrl; @property (nonatomic) BOOL initialized; - (void)create...
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/MyPluginLayerDebugView.h
// // MyPluginLayerDebugView.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import <UIKit/UIKit.h> #import "GoogleMapsViewController.h" @interface MyPluginLayerDebugView : UIView @property (nonatomic) UIView *webView; @property (nonatomic) BOOL debuggable; @property (nonatomic) NSMutableDictiona...
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/PluginGroundOverlay.h
<filename>plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/PluginGroundOverlay.h // // PluginGroundOverlay.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import "CordovaGoogleMaps.h" #import "MyPlgunProtocol.h" #import "PluginUtil.h" @interface PluginGroundOverlay : CDVPlugin<MyPlgunProtocol...
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/External.h
<filename>plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/External.h<gh_stars>1-10 // // External.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import "CordovaGoogleMaps.h" #import "MyPlgunProtocol.h" @interface External : CDVPlugin -(void)launchNavigation:(CDVInvokedUrlCommand *)command;...
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/MyPluginScrollView.h
// // MyPluginScrollView.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import <UIKit/UIKit.h> #import "MyPluginLayerDebugView.h" @interface MyPluginScrollView : UIScrollView @property (nonatomic) MyPluginLayerDebugView *debugView; - (void)attachView:(UIView *)view; @end
houdass/iad-ease-client
plugins/cordova-plugin-googlemaps/src/ios/GoogleMaps/CordovaGoogleMaps.h
// // CordovaGoogleMaps.h // cordova-googlemaps-plugin v2 // // Created by <NAME>. // // #import <Cordova/CDV.h> #import <GoogleMaps/GoogleMaps.h> #import "GoogleMapsViewController.h" #import "PluginUtil.h" #import "PluginMap.h" #import "MyPluginLayer.h" #import "MyPlgunProtocol.h" @interface CordovaGoogleMaps : C...
TheSlipper/rng-visualisation
middle_square_rng.h
<filename>middle_square_rng.h #include <stdio.h> #include <time.h> #include <math.h> #include <stdlib.h> #include "terminal_colors.h" unsigned char ms_rng_(unsigned char seed) { int buffer = (int)pow(seed, 2); int beggining = buffer/10000; int b[3]; b[0] = buffer - (beggining * 10000); // 4516 b[...
TheSlipper/rng-visualisation
linear_congruential_rng.h
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "terminal_colors.h" int lin_cngr(int a, int c, int m, int *seed) { *seed = (*seed * a + c) % m; return *seed; } void lin_con_to_ppm(const int dim_x, const int dim_y) { // Modulus 2^31 int a = 1103515245; // multiplier int c = 12345...
TheSlipper/rng-visualisation
main.c
<filename>main.c #include <stdio.h> #include <time.h> #include <string.h> #include "terminal_colors.h" #include "middle_square_rng.h" #include "linear_congruential_rng.h" #include "perlin_noise.h" void rand_to_ppm(const int dim_x, const int dim_y) { int i, j; printf("[Creating the file (rand_to_ppm)]\r\n"); ...
isra-fp/es-uart-comms-bt
SE_T1_FabelaPerez_UART.c
<gh_stars>0 /********************************************************** Student: <NAME> P: se_t1_FabelaPerez.c Device: Tiva C - TM4C1294NCPDT Subject: Embedded Systems *Semester: 2021-1 Topic: UART HM: "Development of wireless contr...
gordonIanJ/vagrant-oracle-cloud-insfrastructure
MySQL_Support_Exercise/working_directories/16_/thcr.c
<filename>MySQL_Support_Exercise/working_directories/16_/thcr.c /* thcr.c - random thread failure */ #include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <assert.h> /* 1 of 3 possible failure points */ void pf3() { void *m; m= malloc(8192); free(m); free(m); free(0); } /* 1 of 3 possible fa...
gordonIanJ/vagrant-oracle-cloud-insfrastructure
MySQL_Support_Exercise/working_directories/7_hostnames/hostnames.c
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { MYSQL *m; MYSQL_RES *r; MYSQL_ROW w; MYSQL_STMT *s; MYSQL_BIND par[2]; MYSQL_BIND res[2]; char sd[4][60]; unsigned long sdl[4]; my_bool nl[4]; char sql1[]= "SELECT user, host FROM mysql.user WHERE host LIKE '%localhost%'"; ch...
pywttb/libhv
examples/httpd/handler.h
<filename>examples/httpd/handler.h #ifndef HV_HTTPD_HANDLER_H #define HV_HTTPD_HANDLER_H #include "HttpService.h" class Handler { public: // preprocessor => api_handlers => postprocessor static int preprocessor(HttpRequest* req, HttpResponse* resp); static int postprocessor(HttpRequest* req, HttpResponse*...
pywttb/libhv
examples/tinyproxyd.c
<filename>examples/tinyproxyd.c /* * tinyproxyd tiny http proxy server * * @build make examples * * @http_server bin/tinyhttpd 8000 * @proxy_server bin/tinyproxyd 1080 * * @proxy_client bin/curl -v www.httpbin.org/get --http-proxy 127.0.0.1:1080 * bin/curl -v www.htt...
WullT/MultisensorLoRaNode
MultiSensorNode/NodeConfiguration.h
<reponame>WullT/MultisensorLoRaNode<gh_stars>0 // https://fhnw.mit-license.org/ #include <Arduino.h> #ifndef SERIAL_DEBUG #define SERIAL_DEBUG false #endif // !SERIAL_DEBUG enum { ID_AIR_TEMP_HUMI = 0x01, ID_SOIL_MOIST = 0x02, ID_SOIL_TEMP = 0x03, ID_UV = 0x04, ID_SOUND = 0x05, ID_TURBIDITY =...
WullT/MultisensorLoRaNode
MultiSensorNode/SensorHelper.h
// https://fhnw.mit-license.org/ #include <Arduino.h> #include <Multichannel_Gas_GMXXX.h> #include <Wire.h> #include <OneWire.h> #include <DallasTemperature.h> #include <Adafruit_SHT31.h> #define DISTANCE_READ_TIMEOUT_MS 3000 #define MAX_SENSORS 8 #ifndef SERIAL_DEBUG #define SERIAL_DEBUG false #endif // !SERIAL_DE...
madebr/cc65
libsrc/cx16/exec.c
<filename>libsrc/cx16/exec.c<gh_stars>1-10 /* ** Program-chaining function for Commodore platforms. ** ** 2019-12-25, <NAME> ** ** This function exploits the program-chaining feature in Commander X16 BASIC's ROM. ** ** CC65's CBM programs have a BASIC program stub. We start those programs by ** RUNning that stub; it S...
zhu410289616/RHCategoryKit
RHCategory/NSData+AES.h
<filename>RHCategory/NSData+AES.h<gh_stars>1-10 // // NSData+AES.h // RHToolkitsDemo // // Created by zhuruhong on 15/7/20. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSData (AES) - (NSData *)AES256EncryptWithKey:(NSString *)key; - (NSData *)AES256Decry...
zhu410289616/RHCategoryKit
RHCategory/NSDate+Ext.h
// // NSDate+Ext.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate (Ext) + (NSDate *)rh_dateWithString:(NSString *)tDateStr formatter:(NSString *)tFormatter; + (NSTimeInterval)rh_timeIntervalWithStr...
zhu410289616/RHCategoryKit
RHCategory/NSString+MD5.h
// // NSString+MD5.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (MD5) + (NSString *)rh_stringWithMD5Encode:(NSString *)src; - (NSString *)rh_stringWithMD5Encode; @end
zhu410289616/RHCategoryKit
RHCategory/NSFileManager+Ext.h
// // NSFileManager+Ext.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSFileManager (Ext) + (NSString *)rh_pathWithFilePath:(NSString *)filepath; + (NSString *)rh_directoryInUserDomain:(NSSearchPathDir...
zhu410289616/RHCategoryKit
RHCategory/NSObject+Log.h
<gh_stars>1-10 // // NSObject+Log.h // RHToolkit // // Created by zhuruhong on 15/6/27. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> #ifdef DEBUG #define RHLogDebug #endif #ifdef RHLogDebug #define RHLogLog(format, ...) NSLog(format, ## __VA_ARGS__) #else #define RH...
zhu410289616/RHCategoryKit
RHCategory/NSNull+Ext.h
// // NSNull+Ext.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> #define NSNullObjects @[@"", @0, @{}, @[]] @interface NSNull (Ext) @end
zhu410289616/RHCategoryKit
RHCategory/NSDictionary+Ext.h
// // NSDictionary+Ext.h // RHSocketKitDemo // // Created by zhuruhong on 16/2/16. // Copyright © 2016年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (Ext) /** * json的二进制数据NSData通过NSJSONSerialization转换为NSDictionary * * @param jsonData json的二进制数据NSData * * @r...
zhu410289616/RHCategoryKit
RHCategory/NSString+Ext.h
// // NSString+Ext.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (Ext) /** * 生成唯一字符串 * * @return sequence */ + (NSString *)rh_stingWithSequence; /** * 对nsdata坐解码,生成nsstring * * @pa...
zhu410289616/RHCategoryKit
RHCategory/UIImage+Ext.h
// // UIImage+Ext.h // RHHttpDemo // // Created by zhuruhong on 15/8/25. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Ext) + (UIImage *)rh_imageWithColor:(UIColor *)tColor size:(CGSize)tSize; + (UIImage *)rh_imageWithName:(NSString *)tName; + (UIImage *)r...
zhu410289616/RHCategoryKit
RHCategory/NSObject+Property.h
<reponame>zhu410289616/RHCategoryKit // // NSObject+Property.h // RHHttpDemo // // Created by zhuruhong on 16/1/28. // Copyright © 2016年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> #import <objc/runtime.h> //http://www.jianshu.com/p/6dcb18161fbb //https://github.com/lianchengjiang/LcCateg...
zhu410289616/RHCategoryKit
RHCategory/UIFont+App.h
// // UIFont+App.h // RHToolkit // // Created by zhuruhong on 15/6/27. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <UIKit/UIKit.h> @interface UIFont (App) + (void)showAllFont; + (UIFont *)fontForAppWithSize:(CGFloat)size; + (UIFont *)fontForAppBoldWithSize:(CGFloat)size; @end
zhu410289616/RHCategoryKit
RHCategory/NSData+RSA.h
// // NSData+RSA.h // RHToolkitsDemo // // Created by zhuruhong on 15/7/20. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> /** 构造公钥,私钥,证书 openssl genrsa -out private_key.pem 1024 openssl req -new -key private_key.pem -out rsaCertReq.csr openssl x509 -req -days 36...
zhu410289616/RHCategoryKit
RHCategory/UIDevice+App.h
<filename>RHCategory/UIDevice+App.h // // UIDevice+App.h // RHToolkit // // Created by zhuruhong on 15/6/29. // Copyright (c) 2015年 zhuruhong. All rights reserved. // #import <UIKit/UIKit.h> @interface UIDevice (App) + (CGFloat)screenScale; + (BOOL)isRetinaScreen; + (NSString *)systemVersion; + (BOOL)isVersionE...
zhu410289616/RHCategoryKit
RHCategory/UIImage+RHHook.h
<gh_stars>0 // // UIImage+RHHook.h // RHCategoryDemo // // Created by zhuruhong on 16/3/14. // Copyright © 2016年 zhuruhong. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (RHHook) @end
julienlopez/FactorioModRecipePlanner
3rd_party/json/json.h
/*! @file @copyright The code is licensed under the MIT License <http://opensource.org/licenses/MIT>, Copyright (c) 2013-2015 <NAME>. @author <NAME> <http://nlohmann.me> @see https://github.com/nlohmann/json */ #pragma once #include <initializer_list> // std::initializer_list #include <iostre...
Inndy/formatstring-exploit
sample/sample-fmt.c
<gh_stars>10-100 #include <stdio.h> long long z = 0xdeadbeef; int main() { char buff[256]; while(1) { gets(buff); printf(buff); printf("z = %.16llx..\n", z); } }
002and001/FHHSandBoxViewer
Demo-OC/Demo-OC/Demo_OC-Bridging-Header.h
// // Demo_OC-Bridging-Header.h // Demo-OC // // Created by hefanghui on 2018/4/28. // Copyright © 2018年 hefanghui. All rights reserved. // #ifndef Demo_OC_Bridging_Header_h #define Demo_OC_Bridging_Header_h #endif /* Demo_OC_Bridging_Header_h */
002and001/FHHSandBoxViewer
Demo-OC/Demo-OC/ViewController.h
<gh_stars>1-10 // // ViewController.h // Demo-OC // // Created by hefanghui on 2018/4/28. // Copyright © 2018年 hefanghui. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
GitMoDu/AVR-ADC-Wrapper
src/AvrAdc.h
<filename>src/AvrAdc.h // AvrAdc.h // Static wrapper for AVR ADC functionality. // Made possible by <NAME> (www.gammon.com.au/adc). #if !defined(_AVRADC_h) && defined(ARDUINO_ARCH_AVR) #define _AVRADC_h #include <avr/sleep.h> #include <Arduino.h> enum PrescalerEnum { P2, P4, P8, P16, P32, P64, P128 }; cons...
jrth/zephyr
soc/arm/st_stm32/stm32l1/dts_fixup.h
/* * Copyright (c) 2019 Linaro Ltd. * * SPDX-License-Identifier: Apache-2.0 */ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_GPIO_STM32_GPIOA_BASE_ADDRESS DT_ST_STM32_GPIO_40020000_BASE_ADDRESS #define DT_GPIO_STM32...
jrth/zephyr
soc/arm/st_stm32/stm32f2/dts_fixup.h
<gh_stars>0 /* SPDX-License-Identifier: Apache-2.0 */ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_GPIO_STM32_GPIOA_BASE_ADDRESS DT_ST_STM32_GPIO_40020000_BASE_ADDRESS #define DT_GPIO_STM32_GPIOA_CLOCK_BITS_0 DT_ST_STM32_GPIO_40020000_CL...
jrth/zephyr
arch/x86/core/offsets/offsets.c
/* * Copyright (c) 2019 Intel Corp. * SPDX-License-Identifier: Apache-2.0 */ #include <gen_offset.h> #include <kernel_structs.h> #include <arch/x86/multiboot.h> #ifdef CONFIG_X86_LONGMODE #include "intel64_offsets.c" #else #include "ia32_offsets.c" #endif /* size of struct x86_multiboot_info, used by crt0.S/locor...
jrth/zephyr
soc/arm/nxp_kinetis/k8x/soc.h
/* * Copyright (c) 2019 SEAL AG * * SPDX-License-Identifier: Apache-2.0 */ #ifndef _SOC__H_ #define _SOC__H_ #include <misc/util.h> #ifdef __cplusplus extern "C" { #endif #ifndef _ASMLANGUAGE #include <fsl_common.h> /* ARM CMSIS definitions must be included before kernel_includes.h. * Therefore, it is essent...