Skip to content

Instantly share code, notes, and snippets.

View flavius's full-sized avatar

Flavius Aspra flavius

View GitHub Profile
QDeclarativeImportDatabase::addImportPath: "/usr/lib/qt/imports"
QDeclarativeImportDatabase::addImportPath: "/home/flav/projects/joc-build/deployment"
plugins: (".")
//this last one is dumped out by main(), the following are done because of QML_IMPORT_TRACE=1 ./gamingplatform
"/home/flav/projects/joc-build/deployment/games/battlejet/Game.qml"
QDeclarativeImportDatabase::addImportPath: "/usr/lib/qt/imports"
QDeclarativeImportDatabase::addImportPath: "/home/flav/projects/joc-build/deployment"
"/home/flav/projects/joc-build/deployment/games/battlejet/Game.qml"
file:///home/flav/projects/joc-build/deployment/games/battlejet/Game.qml:2:1: plugin cannot be loaded for module "JOC": Cannot load library /home/flav/projects/joc-build/deployment/JOC/libJOC.so: (/home/flav/projects/joc-build/deployment/JOC/libJOC.so: undefined symbol: _ZNK4Game10metaObjectEv)
import JOC 0.1
^
  • QDeclarativeComponent represents the source code of a .qml file, to create it, you need a QDeclarativeEngine. You can also create a component within a QDeclarativeContext
  • QDeclarativeEngine manages the different QDeclarativeContext and their relationships
  • QDeclarativeContext can have as parent a QDeclarativeEngine or another QDeclarativeContext
source ~/.vimrc.local
set guifont=Bitstream\ Vera\ Sans\ Mono\ 8
assert(
apx->type==SH_RESOLVED ||
apx->type==RD_RESOLVED ||
apx->type==SSCONFLICT ||
apx->type==SRCONFLICT ||
apx->type==RRCONFLICT ||
apy->type==SH_RESOLVED ||
apy->type==RD_RESOLVED ||
apy->type==SSCONFLICT ||
apy->type==SRCONFLICT ||
static function_entry php_meta_functions[] = {
PHP_FE(meta_test, NULL)
PHP_FE(meta_scanner_init, NULL)
PHP_FE(meta_scanner_get, NULL)
PHP_FE(meta_scanner_token_name, NULL)
{NULL, NULL, NULL}
};
fun SetupVAM()
set runtimepath+=/home/flav/.vim/addons/vim-addon-manager
call vam#ActivateAddons(["github:OriginalCopy"],{'auto_install' : 0})
endf
call SetupVAM()
/home/flav/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/home/lav/.vim/after,/home/flav/.vim/addons/vim-addon-manage
@flavius
flavius / zerologger.py
Created July 10, 2011 18:53 — forked from gwik/zerologger.py
Python logger ZeroMQ, Gevent, CouchDB
# encoding: utf-8
"""
A python logging Handler that use ZeroMQ (ØMQ).
+------+ +------+ +-------+
| app1 | | app2 | | app X |
+------+ +------+ +-------+
| PUSH | PUSH | PUSH
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x400d33]
runtime.panic+0xac /build/src/release-build/src/pkg/runtime/proc.c:1060
runtime.panic(0x468020, 0xf8400103e0)
runtime.panicstring+0xa3 /build/src/release-build/src/pkg/runtime/runtime.c:116
runtime.panicstring(0x4c89c6, 0x20)
runtime.sigpanic+0x144 /build/src/release-build/src/pkg/runtime/linux/thread.c:292
runtime.sigpanic()