Skip to content

Instantly share code, notes, and snippets.

View smarek's full-sized avatar
💭
I may be slow to respond.

Marek Sebera smarek

💭
I may be slow to respond.
View GitHub Profile
diff --git a/cmake/Modules/FindBLADERF.cmake b/cmake/Modules/FindBLADERF.cmake
index 7490bb7..b66c499 100644
--- a/cmake/Modules/FindBLADERF.cmake
+++ b/cmake/Modules/FindBLADERF.cmake
@@ -11,6 +11,7 @@
FIND_PATH(BLADERF_INCLUDE_DIR libbladeRF.h
${LIBBLADERF_DIR}/include
+ /usr/include
/usr/local/include/libbladeRF
@smarek
smarek / install.sh
Last active March 3, 2024 00:03
Yate, YateBTS and bladeRF install
#!/bin/bash
#
# For debian-like systems, for others you might have to change package names
# libusb-dev at least 1.0
# build-essential => make, dpkg-dev, gcc, g++, libc-dev / libc6-dev
#
#
# Depending on your architecture and available cores, you might want to change -j4 argument (4 = number of compilation threads = cpu cores available)
#
# If you have GCC version greater than 6, go /usr/src/yatebts/ and patch using `patch -p1 < yatebts-5.0.0-gcc6.patch`
@smarek
smarek / veles
Created December 27, 2016 14:46
Install Veles from source with GTest
sudo bash
# Install GTest with shared lib
apt-get install libgtest-dev
cd /usr/src/gtest/build-aux
cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=Release ..
make -j
make install
# Compile and Install Veles
@smarek
smarek / download.sh
Last active December 23, 2016 12:04
#!/bin/bash
# http://cedropendata.mfcr.cz/c3lod/cedr/void
wget -c "http://cedropendata.mfcr.cz/c3lod/Adresa.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrCinnostTypev01.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrGrantoveSchemav01.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrOpatreniv01.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrOperacniProgramv01.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrPodOpatreniv01.n3.7z"
wget -c "http://cedropendata.mfcr.cz/c3lod/ciselnikCedrPodprogramv01.n3.7z"