Skip to content

Instantly share code, notes, and snippets.

View lrobidou's full-sized avatar

Lucas Robidou lrobidou

View GitHub Profile
@lrobidou
lrobidou / complex.cpp
Created June 19, 2025 11:03
Course material : simple implementation of complex numbers in C++
#include "complex.hpp"
Complex::Complex(int32_t r, int32_t i) : _r(r), _i(i) {}
int32_t Complex::r() const { return this->_r; }
int32_t Complex::i() const { return this->_i; }
void Complex::r(int32_t r) { this->_r = r; }
void Complex::i(int32_t i) { this->_i = i; }
@lrobidou
lrobidou / google-search-cheatsheet.md
Created November 23, 2021 11:27 — forked from Dainerx/google-search-cheatsheet.md
google engine advanced search cheat sheet

My personal Google search cheat sheet with examples.

Operators

- : execludes a term.

Search for Elon Musk but exclude the terms tesla or SpaceX elon musk -tesla -SpaceX


| : search for x or y.

Search for apples or oranges (see images) fruits(apple | orange)