Automate Evernote using AppleScript
This is just a sample of how to create pages in Evernote using AppleScript. Portions of AppleScript code...
Unit Tests and CMake
Here’s an example CMakeLists.txt, where I set up a unit test target, using the GTest framework: The above...
clang static analyzer
I used Xcode and loved the static analyzer. Then I switched to Visual Studio Code to do my...
C++ std::erase and rbegin/rend
Once. Only once have I done this. I had to traverse a std::vector in reverse, and at some...
Mandelbrot Set
I’m quite fascinated with the image that the Mandelbrot Set produces, but admittedly, I didn’t understand how to...
C++ std::next
Another way to increment an iterator, and preferred if you’re using std::move in your code, is to use...
C++20 std::source_location
This is a compile time utility, which replaces macros like FILE and LINE. I’m partial to using functions...
Canonicalizing a URL path using std::filesystem::canonical
More specially, a file path where we are trying to remove .. and . So, if you have...