Skip to content

Instantly share code, notes, and snippets.

View mlcollard's full-sized avatar

Michael L. Collard mlcollard

View GitHub Profile
class MethodCount {
public:
int count();
private:
CPPParser parser;
};
int main() {
MethodCount counter;
git grep -h "@TODO"| sed 's/^[ ]*//g' | sort | uniq -c | sort -r -n
class Adaptee {
public:
void specificRequest();
};
class Target {
public:
virtual void request() = 0;
};
# Install on macOS
brew install mkcert
# Generate and install a local CA (Certification Authority)
# - Do this once
# - Can do so in any directory
mkcert -install
# Create a new certificate in your GitHub Pages repo top directory
# - Change to your directory
@mlcollard
mlcollard / CMakeLists.txt
Created October 11, 2021 12:15
CMake file for srcComplexity
# @file CMakeLists.txt
#
# CMake files for the srccomplexity program
cmake_minimum_required(VERSION 3.20)
# project info
project(srcComplexity)
find_package(LibXml2 REQUIRED)
git grep -h "@TODO" | sed -e 's/^[ ]*//' | sort | uniq --count | sort --reverse --sort=numeric
make ScenarioA
void override() const override;
cmake /Source
make
make run
DELETE /todo/items/124 HTTP/2
Host: mlcollard.net