Skip to content

Instantly share code, notes, and snippets.

View mlcollard's full-sized avatar

Michael L. Collard mlcollard

View GitHub Profile
View MethodCount1.cpp
class MethodCount {
public:
int count();
private:
CPPParser parser;
};
int main() {
MethodCount counter;
View listtodo.sh
git grep -h "@TODO"| sed 's/^[ ]*//g' | sort | uniq -c | sort -r -n
View class.cpp
class Adaptee {
public:
void specificRequest();
};
class Target {
public:
virtual void request() = 0;
};
View https.sh
# 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
View CMakeLists.txt
# @file CMakeLists.txt
#
# CMake files for the srccomplexity program
cmake_minimum_required(VERSION 3.20)
# project info
project(srcComplexity)
find_package(LibXml2 REQUIRED)
View command.sh
git grep -h "@TODO" | sed -e 's/^[ ]*//' | sort | uniq --count | sort --reverse --sort=numeric
View overridedecl.hpp
void override() const override;
View rest-delete-request.xml
DELETE /todo/items/124 HTTP/2
Host: mlcollard.net