From Loius Brandy’s CppCon 2017 talk.
[Read More]
SFINAE for member detection
Here’s a C++98 compatible way to use SFINAE to check for a specific member variable on a type.
[Read More]
Reestablish ssh agent when reconnecting to remote tmux session
Drop this in to .bashrc or similar:
[Read More]
Faster checkouts with git-lfs
With older versions of git-lfs and git, checkouts can be very slow when new lfs assets need to be fetched. That’s because git checkout only runs the smudge filter sequentially. In comparison, git lfs pull is able to download multiple assets in parallel, which can be much faster.
[Read More]
Finding out the dependencies of a CMake project
I’m not at all proud of this. In fact I think it is horrific. But it will do a reasonable job of pulling out the first argument of all the find_package calls in your CMake code.
[Read More]