Skip to content

Instantly share code, notes, and snippets.

View MatthieuHernandez's full-sized avatar
😄

Matthieu HERNANDEZ MatthieuHernandez

😄
  • BrainChip
  • Toulouse
View GitHub Profile
@abel0b
abel0b / install-linux-perf-on-wsl2.sh
Last active May 27, 2024 13:44
Install perf on WSL 2
apt install flex bison
git clone https://github.com/microsoft/WSL2-Linux-Kernel --depth 1
cd WSL2-Linux-Kernel/tools/perf
make -j8
sudo cp perf /usr/local/bin
@mawenbao
mawenbao / Makefile
Created February 26, 2014 05:16
googletest simple example
# Makefile for gtest examples
GOOGLE_TEST_LIB = gtest
GOOGLE_TEST_INCLUDE = /usr/local/include
G++ = g++
G++_FLAGS = -c -Wall -I $(GOOGLE_TEST_INCLUDE)
LD_FLAGS = -L /usr/local/lib -l $(GOOGLE_TEST_LIB) -l pthread
OBJECTS = main.o string-compare.o