Skip to content

Instantly share code, notes, and snippets.

Avatar

Lukáš Karas Karry

View GitHub Profile
@Karry
Karry / libnextcloudshareplugin.symbols
Created May 3, 2020
objdump -C --dynamic-syms /usr/lib/nemo-transferengine/plugins/libnextcloudshareplugin.so > libnextcloudshareplugin.symbols
View libnextcloudshareplugin.symbols
/usr/lib/nemo-transferengine/plugins/libnextcloudshareplugin.so: file format elf32-littlearm
DYNAMIC SYMBOL TABLE:
0000a378 l d .init 00000000 .init
00036640 l d .data 00000000 .data
00000000 DF *UND* 00000000 MediaTransferInterface::~MediaTransferInterface()
00000000 DF *UND* 00000000 Qt_5 QVariant::operator=(QVariant const&)
00000000 DF *UND* 00000000 MediaTransferInterface::setProgress(float)
00000000 DF *UND* 00000000 Accounts::Service::displayName() const
@Karry
Karry / osmscout-node-perf.txt
Created Jan 5, 2019
osmscout PerformanceTest results with multiple modification
View osmscout-node-perf.txt
./PerformanceTest-XXX \
--debug \
--draw-repeat 0 --load-repeat 1 \
--cache-nodes 100000 \
--cache-ways 40000 \
--cache-areas 5000 \
--start-zoom 0 --end-zoom 18 \
--tile-width 1200 --tile-height 1200 \
--driver Qt \
/media/sdcard/9016-4EF8/Maps/europe-france-20181228-061105 \
View osmscout-move-test.cpp
#include <osmscout/util/Geometry.h>
#include <osmscout/util/Projection.h>
#include <osmscout/system/Math.h>
#define CATCH_CONFIG_MAIN
#include <catch.hpp>
#include <chrono>
#include <iostream>
@Karry
Karry / LocationInfoExample.qml
Last active Aug 24, 2018
Example howto use LocationInfoModel from libosmscout
View LocationInfoExample.qml
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Window 2.0
import QtQml.Models 2.2
import net.sf.libosmscout.map 1.0
@Karry
Karry / nemo-transfer-engine.backtrace
Created Jun 2, 2018
nemo-transfer-engine.backtrace
View nemo-transfer-engine.backtrace
#0 0xb6fb7d98 in load (__m=std::memory_order_relaxed, this=0x3f) at /opt/cross/armv7hl-meego-linux-gnueabi/include/c++/4.8.3/bits/atomic_base.h:496
__b = std::memory_order_relaxed
#1 load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:96
No locals.
#2 load (this=0x3f) at /usr/include/qt5/QtCore/qbasicatomic.h:119
No locals.
#3 deref (this=0x3f) at /usr/include/qt5/QtCore/qrefcount.h:60
No locals.
#4 ~QHash (this=0xbefff538, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:247
No locals.
@Karry
Karry / harbour-slackfish-startup.log
Created Jan 19, 2018
harbour-slackfish-startup.log
View harbour-slackfish-startup.log
Jan 19 12:17:25 Sailfish lipstick[1096]: [W] unknown:151 - file:///usr/share/lipstick-jolla-home-qt5/statusarea/ConnectionStatusIndicator.qml:151:5: QML NetworkManager: Binding loop detected for property "technologiesEnabled"
Jan 19 12:17:25 Sailfish [812]: [D] unknown:0 - Setting last version 1.4
Jan 19 12:17:25 Sailfish dbus-daemon[1037]: Activating service name='org.freedesktop.Geoclue.Providers.Mlsdb'
Jan 19 12:17:25 Sailfish [1362]: [D] unknown:0 - cellId-based positioning has been enabled
Jan 19 12:17:25 Sailfish [1362]: [D] unknown:0 - Mozilla Location Services geoclue plugin active
Jan 19 12:17:25 Sailfish [1362]: [D] unknown:0 - cellular network registrations changed, updating position
Jan 19 12:17:25 Sailfish [1362]: [D] unknown:0 - have 0 neighbouring cells
Jan 19 12:17:26 Sailfish org.freedesktop.Geoclue.Providers.Mlsdb[1037]: SailfishKeyProvider_ini_read: reached end of file
Jan 19 12:17:26 Sailfish [812]: [D] hasUserInfo:22 - hasUserInfo false
Jan 19 12:17:26 Sailfish [812]: [D] unknown:0 - GET
@Karry
Karry / LocationLookup.log
Created Sep 17, 2017
Output from LocationLookup demo from osmscout project
View LocationLookup.log
Searching for pattern "Pod Lipami, Praha"
= Location (Pod Lipami) ~ PostalArea (13000) = Žižkov
* Žižkov/Praha/okres Hlavní město Praha/Hlavní město Praha/Praha/Česko
- Way 96115374 highway_residential
- Way 96117889 highway_residential
- Way 96118107 highway_residential
- Way 96118801 highway_residential
- Way 96118915 highway_residential
- Way 96123857 highway_residential
- Way 96124007 highway_service
@Karry
Karry / location_full.diff
Created Sep 10, 2017
diff of osmscout locations after fix
View location_full.diff
This file has been truncated, but you can view the full file.
--- location_full.1.txt 2017-09-09 19:02:05.531207638 +0200
+++ location_full.2.txt 2017-09-10 21:41:20.739130877 +0200
@@ -333,6 +333,7 @@
@ 669 Node 37231806
- Hranice
= Node 37085451
+ @ ev.237 Node 36906547
@ ev.31 Node 36906759
@ 437 Node 36906774
@Karry
Karry / glxinfo
Created Jun 20, 2017
glxinfo output
View glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
@Karry
Karry / sigsegv.log
Created Jun 19, 2017
osmscout gl sigsegv
View sigsegv.log
#0 0x00007ffff7bbdc54 in p2t::Triangle::EdgeIndex (this=0x0, p1=0x55555649b0a0, p2=0x555556493830) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/common/shapes.cc:171
#1 0x00007ffff7bbed54 in p2t::Sweep::IsEdgeSideOfTriangle (this=0x55555649b960, triangle=..., ep=..., eq=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:164
#2 0x00007ffff7bbea6f in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x0, point=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:109
#3 0x00007ffff7bbeb31 in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x0, point=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:122
#4 0x00007ffff7bbeb31 in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x55555649bb00, point=...) at /home/karry/data/cecko/OSM/libosm
You can’t perform that action at this time.