Daily Shaarli

All links of one day in a single page.

July 1, 2015

Profiler library

Self-contained C/C++ profiler library for Linux

C++’s Rule of Zero

The idea behind it is as follows: classes should not define any of the special functions (copy/move constructors/assignment, and the destructor) unless they are classes dedicated to resource management.

Two-Factor-Authentication with SSH

SSH can use a variety of authentication methods, such as passwords and key pairs. Less common, and not particularly user friendly, are methods like OPIE. The latter is available per default in FreeBSD (and a few other BSDs I believe), but I can't recall a single case where I've seen it being used in the wild. Other implementations, like Google Authenticator make MFA easy to integrate and use, without being too disruptive for the user.