Skip to content

Instantly share code, notes, and snippets.

View flavius's full-sized avatar

Flavius Aspra flavius

View GitHub Profile
"/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
^
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"
<?php
header('Content-Type: text/plain');
?>
<html>
<body>
<h1>hello</h1>
</body>
</html>
POST /test HTTP/1.0
Host: www.iana.org
HTTP/1.1 404 NOT FOUND
Date: Sun, 08 May 2011 17:01:30 GMT
Server: Apache/2.2.3 (CentOS)
Connection: close
Content-Type: text/html; charset=utf-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
RE2C_FLAGS=-g --no-generation-date --case-inverted -cbdF
$(srcdir)/php_scanner.c: $(srcdir)/php_scanner.re $(srcdir)/php_parser.h
$(RE2C) $(RE2C_FLAGS) -t php_scanner_defs.h -o php_scanner.c php_scanner.re
$(srcdir)/php_parser.c $(srcdir)/php_parser.h: $(srcdir)/lemon $(srcdir)/php_parser.y
@(cd $(srcdir); ./lemon php_parser.y)
$(srcdir)/lemon:
$(CC) lemon.c -o lemon
<?php
function push_stack($stack, $idx, $val) {
$val = array($idx => $val);//val is a zval*, the data its points to is already allocated on the heap, no duplication is needed
$stack[] = $val;
return $stack;
}
$stack = array();
$val = array('foo');
articles
========
id title category
1 hello php IT
2 hello linux IT
categories
==========
id
IT
%left INCLUDE INCLUDE_ONCE EVAL REQUIRE REQUIRE_ONCE.
%left COMMA.
%left LOGICAL_OR.
%left LOGICAL_XOR.
%left LOGICAL_AND.
%right PRINT.
%left EQUAL PLUS_EQUAL MINUS_EQUAL MUL_EQUAL DIV_EQUAL CONCAT_EQUAL MOD_EQUAL AND_EQUAL OR_EQUAL XOR_EQUAL SL_EQUAL SR_EQUAL.
%left QUESTION_MARK COLON.
%left BOOLEAN_OR.
%left BOOLEAN_AND.
@flavius
flavius / README
Created April 12, 2011 08:26
pastium.org importer and exporter tool
With this tool you can paste entire projects to pastium.org and even import entire directory structures from pastes created with it.
LICENSE
You must spend me a free drink of my choice when you meet me. Otherwise you are free to use it anyway you like.