Skip to content

Instantly share code, notes, and snippets.

View lolay92's full-sized avatar
🕹️
playroom

C. Laleye lolay92

🕹️
playroom
View GitHub Profile
@lolay92
lolay92 / effective_modern_cmake.md
Created February 16, 2024 15:58 — forked from mbinna/effective_modern_cmake.md
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

@lolay92
lolay92 / asyncio-mock-example.py
Created July 3, 2023 10:35 — forked from holgi/asyncio-mock-example.py
Example for mocking async context managers
import pytest
import aiohttp
import asyncio
from asynctest import CoroutineMock, MagicMock, patch
# Example Code
async def fetch(session, url):
@lolay92
lolay92 / list.md
Created November 13, 2020 20:33 — forked from ih2502mk/list.md
Quantopian Lectures Saved