This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git grep -h "@TODO" | sed -e 's/^[ ]*//' | sort | uniq --count | sort --reverse --sort=numeric |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MethodCount { | |
public: | |
int count(); | |
private: | |
CPPParser parser; | |
}; | |
int main() { | |
MethodCount counter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Adaptee { | |
public: | |
void specificRequest(); | |
}; | |
class Target { | |
public: | |
virtual void request() = 0; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git grep -h "@TODO"| sed 's/^[ ]*//g' | sort | uniq -c | sort -r -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// constructor | |
srcMLOut(TokenStream* ints, | |
xmlOutputBuffer * output_buffer, | |
const char* language); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @file CMakeLists.txt | |
# | |
# CMake files for the srccomplexity program | |
cmake_minimum_required(VERSION 3.20) | |
# project info | |
project(srcComplexity) | |
find_package(LibXml2 REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Read the classData array of dictionaries from a bundle plist */ | |
// url of resource file | |
// Note: Assumes you have added a classes.plist array of dictionaries to the project | |
guard let classURL = Bundle.main.url(forResource: "classes", withExtension:"plist") else { | |
print("Error: Unable to form path") | |
return | |
} | |
// data in resource file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE /todo/items/124 HTTP/2 | |
Host: mlcollard.net |
NewerOlder