Skip to content

Instantly share code, notes, and snippets.

Marek Sebera smarek

Block or report user

Report or block smarek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View download.sh
#!/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"
@smarek
smarek / veles
Created Dec 27, 2016
Install Veles from source with GTest
View veles
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 / install.sh
Last active Oct 1, 2018
Yate, YateBTS and bladeRF install
View install.sh
#!/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`
View LTE-Cell-Scanner-Ubuntu-16.04.patch
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 / git_update_dir.sh
Created Jan 10, 2018
Update all git repositories in subfolders (worktree max 2-levels deep)
View git_update_dir.sh
#!/bin/bash
# run like git_update_dir.sh /my/long/folder/path/.git
GIT_PATH="$1"
WORK_TREE=$(echo "$GIT_PATH" | sed 's/\.git$//')
gitexec() {
git --git-dir="$GIT_PATH" --work-tree="$WORK_TREE" $1
}
View opengapps_ty103_v1
This file has been truncated, but you can view the full file.
--------- beginning of main
I/wmt_loader( 229): external combo chip power on failed
I/wmt_loader( 229): no external combo chip detected, get current soc chipid
I/wmt_loader( 229): soc chipid (0x335) detected
I/6620_launcher( 230): Can't open device node(/dev/stpwmt) error:-1
I/wmt_loader( 229): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed.
I/wmt_loader( 229): external combo chip power off succeed
E/6620_launcher( 230): open device node succeed.(Node:/dev/stpwmt, fd:7)
I/6620_launcher( 230): key:(persist.mtk.wcn.combo.chipid)-value:(0x0335),chipId:0x0335
View opengapps_ty103_v2
This file has been truncated, but you can view the full file.
--------- beginning of main
I/6620_launcher( 227): Can't open device node(/dev/stpwmt) error:-1
I/wmt_loader( 226): external combo chip power on failed
I/wmt_loader( 226): no external combo chip detected, get current soc chipid
I/wmt_loader( 226): soc chipid (0x335) detected
I/wmt_loader( 226): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed.
I/wmt_loader( 226): external combo chip power off succeed
I/installd( 240): installd firing up
E/cutils ( 240): Failed to read /data/.layout_version: No such file or directory
View opengapps_ty103_v3
This file has been truncated, but you can view the full file.
--------- beginning of main
I/wmt_loader( 231): external combo chip power on failed
I/wmt_loader( 231): no external combo chip detected, get current soc chipid
I/wmt_loader( 231): soc chipid (0x335) detected
I/6620_launcher( 232): Can't open device node(/dev/stpwmt) error:-1
I/wmt_loader( 231): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed.
I/wmt_loader( 231): external combo chip power off succeed
I/installd( 243): installd firing up
E/cutils ( 243): Failed to read /data/.layout_version: No such file or directory
View opengapps_ty103_v4
This file has been truncated, but you can view the full file.
--------- beginning of main
I/wmt_loader( 233): external combo chip power on failed
I/wmt_loader( 233): no external combo chip detected, get current soc chipid
I/wmt_loader( 233): soc chipid (0x335) detected
I/wmt_loader( 233): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed.
I/wmt_loader( 233): external combo chip power off succeed
W/ADB_SERVICES( 276): adb_main syc_size_enabled=0
D/ADB_SERVICES( 276): adb_main(): pre init_jdwp()
D/ADB_SERVICES( 276): adb_main(): post init_jdwp()
View ty103 dumpsys
This file has been truncated, but you can view the full file.
Currently running services:
DmAgent
DockObserver
GuiExtService
NvRAMAgent
PPLAgent
SurfaceFlinger
accessibility
account
You can’t perform that action at this time.