Skip to content

Instantly share code, notes, and snippets.

View rdbisme's full-sized avatar

Ruben Di Battista rdbisme

View GitHub Profile
@klingtnet
klingtnet / rclone-galcier-type-scaleway-backup-restore.md
Created August 14, 2021 10:59
A note on restoring glacier type backups with rclone and scaleway

Restoring backups with rclone that are stored as [C14/Glacier cold storage][glacier] on Scaleway will fail with Failed to copy: failed to open source object: AccessDenied: Access Denied..

# create backup
$ rclone --s3-storage-class=GLACIER sync backup/ scaleway-encrypted:
...
# try to restore
$ rclone --s3-storage-class=GLACIER sync scaleway-encrypted: backup/
Failed to copy: failed to open source object: AccessDenied: Access Denied.
...
@mbinna
mbinna / effective_modern_cmake.md
Last active June 20, 2024 17:15
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft