Skip to content

Instantly share code, notes, and snippets.

koo5

Block or report user

Report or block koo5

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 rtrstr
This file has been truncated, but you can view the full file.
koom@koom-Standard-PC-i440FX-PIIX-1996 ~/w/webofneeds>
mvn install -P skip-frontend,skip-matcher-uberjar,skip-bot-uberjar,skip-matcher-rescal-uberjar,skip-node-webapp-war,skip-owner-webapp-war,skip-tests
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Web of Needs Main
[INFO] Core
View x.cpp
#include <iostream>
int a = 1;
int f(int i)
{
std::cout << "f" << i;
return i * 2;
}
int g(int x = f(a))
View 25
kook@idea ~/test> cat args.cpp
#include <iostream>
int main ( int argc, char** argv) {
for(int i=1;i<argc;i++){
std::cout << argv[i] << std::endl;}
}⏎
kook@idea ~/test> ./a.out a b a-b "fff" ~/Documents/Online\ Research\ Tools.pdf
a
b
View bob
<"--level 100 --nocolor --silence addrules --silence readcurly --silence quad::ctor "
level:100
<""
<""
silence:addrules
<""
silence:addrules readcurly
<""
silence:addrules quad::ctor readcurly
<"kb
View clang_crash_kcSjtR.ii
This file has been truncated, but you can view the full file.
# 1 "univar.cpp"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 343 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "univar.cpp" 2
# 1 "/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional" 1 3
# 47 "/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional" 3
View x
kook@idea ~/C/tauchain> cat n3test2.nq
:x a :y .
:x a :z .
fin.
:x a :y .
:x a :z .
fin.
kook@idea ~/C/tauchain> env LD_PRELOAD=libmarpa/dist/.libs/libmarpa.so ./tau --level 1 --shorten < n3test2.nq
kb input done.
query loaded.
@koo5
koo5 / x
Last active Aug 29, 2015
x
View x
Evidence:
#>...
"^^http://www.w3.org/2001/XMLSchema#string #file_contents "short.natural3" <=
=> #file_contents(#>...
"^^http://www.w3.org/2001/XMLSchema#string() ,"short.natural3"())
=> #parser(#integer() ,#language())
=> #parse(_:b5() ,.(#>...
"^^http://www.w3.org/2001/XMLSchema#string() ,.(#integer() ,.())))
=> #arg0(_:b5() ,_:b4())
View gist:9b216ddf5a58a91c83a3
// package com.github.jsonldjava.utils;
// import java.net.URI;
// import java.net.URISyntaxException;
// import java.util.ArrayList;
// import java.util.Arrays;
// import java.util.List;
// import java.util.regex.Matcher;
// import java.util.regex.Pattern;
View gist:9b9aa29505a98670b2be
kook@databox ~/o/n/t/classes>
kook@databox ~/o/n/t/classes> java -jar ~/jython2.7b4/jython.jar test.py
SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6, 1.7]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
[[u'=|>'], [u'=/>']]
[[u'$', <class '__main__.Word'>], [u'#', <__main__.optional object at 0x2>], [u'?', <__main__.optional object at 0x3>]]
[[u'$', <class '__main__.Word'>], [u'#'], [u'?', <__main__.optional object at 0x3>], [u'#', <class '__main__.Word'>]]
[[u'$', <class '__main__.Word'>], [u'#'], [u'?'], [u'#', <class '__main__.Word'>], [u'?', <class '__main__.Word'>]]
[[u'$', sym{u'type': <class '__main__.Number'>, u'name': 'priority'}, <__main__.optional object at 0x4>, u'$']]
[[u'$', sym{u'type': <class '__main__.Number'>, u'name': 'priority'}, u'$'], [u'$', sym{u'type': <class '__main__.Number'>, u'name': 'priority'}, u';', sym{u'type': <class '__main__.Number'>, u'name': 'durability'}, u'$']]
You can’t perform that action at this time.