Skip to content

Instantly share code, notes, and snippets.

View jbajic's full-sized avatar
🎯
Focusing

Jure Bajic jbajic

🎯
Focusing
View GitHub Profile
@jbajic
jbajic / docker-compose.yml
Last active August 27, 2021 09:10
Apache Kafka & Memgraph
# Apache Kafka & Memgraph deployment script
# You can pur transformation scripts in ./memgraph/query_modules which will be bounded into memgraph container
version: "3"
services:
zookeeper:
image: bitnami/zookeeper:3.7
ports:
- "2181:2181"
volumes:
@jbajic
jbajic / CMakeLists.txt
Created January 29, 2023 15:50
Basic CMake for projects
# Define minimum CMake version
cmake_minimum_required(VERSION 3.22)
# If you wish to specifiy compiler do it before project, otherwise it won't work
# For that use this part of commented out code:
# find_program(CMAKE_C_COMPILER NAMES $ENV{CC} gcc PATHS ENV PATH NO_DEFAULT_PATH)
# find_program(CMAKE_CXX_COMPILER NAMES $ENV{CXX} g++ PATHS ENV PATH NO_DEFAULT_PATH)
# Better use env variables for that, or have specific toolchain sourced.
# CXX for C++ and CC for C