Skip to content

Instantly share code, notes, and snippets.

View prince-chrismc's full-sized avatar

Chris Mc prince-chrismc

View GitHub Profile
@prince-chrismc
prince-chrismc / DrawableObject.hpp
Created October 24, 2017 22:07
OpenGL Object-Orient light wrapper - DrawableObject
/*
MIT License
Copyright (c) 2017 Chris McArthur, prince.chrismc(at)gmail(dot)com
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, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
/*
This code is untest but provided as an example
*/
#include "stackoverflow.com-questions-46921632.h"
void function()
{
vector3D a();
vector3D b(3.0f);
@prince-chrismc
prince-chrismc / Decorated-Observer.h
Last active December 15, 2017 22:53
Quick and easy observer+decorator design pattern example base around printing a clock
class ISubject;
class IObserver
{
protected:
ISubject* m_Subject;
public:
IObserver(ISubject* sub) : m_Subject(sub) {}
@prince-chrismc
prince-chrismc / ObjOwner.hpp
Created August 7, 2018 02:56
Object Owner Template
#pragma once
#include <memory>
#include <thread>
template< typename __OBJECT__>
class CObjectOwner
{
public:
template <typename ...Args>

How to manage deploying a web application on Windows

This small article is a draft which aims to describe the various steps for deploying an HTTPS application from a windows machine along with providing general knowledge regarding the overall concepts.

Limitation or Focus of Scope

As a small disclaimer the primary interest is medium scale local deployments across many systems. This was not intent to cover publicly accessable resources (ie the world-wide web).


Exporting package recipe
libcurl/7.69.1 exports: File 'conandata.yml' found. Exporting it...
libcurl/7.69.1 exports: Copied 1 '.yml' file: conandata.yml
libcurl/7.69.1 exports_sources: Copied 1 '.am' file: lib_Makefile_add.am
libcurl/7.69.1 exports_sources: Copied 1 '.txt' file: CMakeLists.txt
libcurl/7.69.1: The stored package has not changed
libcurl/7.69.1: Exported revision: ec7fe9f4bf0acffdca3c360410ecff59
Configuration:
[settings]
arch=x86_64
E:\Programming\conan-center-index\recipes\json-schema-validator\all>conan create . 2.0.0@
[HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
[HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
[HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
[HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
[HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 6.4345703125 KB
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
@prince-chrismc
prince-chrismc / compilers.yml
Last active February 1, 2024 07:19
GitHub Actions Workflow for C++ cross-platform with installing toolchains and many different runner's OS
name: C++ Test with Multiple Compilers
on: [pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
compiler: [g++-12, clang-15] # Specify compiler versions to test
From: edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 19 Feb 2016 22:13:29 +0000 (+0000)
Subject: 2016-02-19 Jakub Jelinek <jakub@redhat.com>
X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=ec1cc0263f156f70693a62cf17b254a0029f4852
2016-02-19 Jakub Jelinek <jakub@redhat.com>
Bernd Edlinger <bernd.edlinger@hotmail.de>
* Make-lang.in: Invoke gperf with -L C++.
* cfns.gperf: Remove prototypes for hash and libc_name_p