Skip to content

Instantly share code, notes, and snippets.

View adventurist's full-sized avatar

Emmanuel Buckshi adventurist

View GitHub Profile
qmake -o Makefile ky_gui.pro -spec linux-g++ QMAKE_CXXFLAGS_DEBUG+=-std=gnu++1z CONFIG+=debug CONFIG+=qml_debug
make VERBOSE=1 -j8
g++ -c -pipe -g -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDesigner -isystem /usr/include/x86_64-linux-gnu/qt5/QtUiPlugin -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o client.o src/client.cpp
In file included from src/client.cpp:17:
./headers/kmessage_codec.hpp:14:8: error: use of enum 'FlatBuffersVTableOffset' without previous declaration
14 | enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
@adventurist
adventurist / concurrent_calls.cpp
Last active August 30, 2019 01:48
Get max concurrent calls from array of tuples
#include <algorithm>
#include <iostream>
#include <tuple>
#include <vector>
// Simplify tuple of doubles to `sipcall` type
typedef std::tuple<double, double> sipcall;
/**
* Returns the maximum number of concurrent calls from a vector of sipcall values
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm6aMLFx4O/i3+XzHFjO0dSwcgtPH8yIkGKcRiSQO0gKHZTmY7V9g0+0tgtCfxd6QCoZ07UfbjGz29cxrJXgZqDnlxT9Qbmym8ZpUkyF1DBoizqkyWK7gVuzVjBqnssygwNpGumH4HOVUc0G4eGUK4VCh5Q+RUZvnfuHYe+Rsj7amWBeUOSvrxFwqczfJhaCFiPD1udxIE2CdRLUtwUNBN73omHAwdAO0QfFf0UK/g8RU8R4Qtc3TyKfns/nayWoagqTy27IXlMnIUeVqZqKNd9XrLH9/3F7ICnAx+84ijqc90ujjJiW622BJALoJHyCB3OZuzJtfeRSt1+antvn1F Emmanuel@Developer2
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaNncWKl0DgrxvquFeMklwzOKWw/iaOed6CUOtAE5YsttNJrnuuWs85tnW1tc20XOv+mHKaTYryvOeJGICW8c3C70G8u9bNPVE+uzVRoWTTPVhBMSe+OKx8TJK+DXR8D9PR0ds5OxiaPinNNOhJLE497mKF8qE5U6abaC0ZcE/cxaZgRXZ0Bej0uXXfi+H9s+tiJhcY1qqFePlrnrb1rLnLMYAb9mqZdjl8NEmYcG54uCNxKoCky6eAVellVSSjXUs962FUzWz2aD6Scem7fJYag3rok9a83/O8+G8YEaWdKDEeUzcydPA0WwpR4nHa4/bCXqJUQd5mlwA9H54pTqX ubuntu@ubuntu
@adventurist
adventurist / History|-10055542|entries.json
Last active February 19, 2025 14:33
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///data/logicp/logicp_writings/collectivist_theology/Left-Right_paradigm.md","entries":[{"id":"MHL0.md","source":"textFileCreate.source","timestamp":1714096466144},{"id":"LOQl.md","timestamp":1714096529287},{"id":"JqZP.md","timestamp":1714096564371},{"id":"Tye6.md","timestamp":1714096663423},{"id":"GTmF.md","timestamp":1714352670855}]}