Skip to content

Instantly share code, notes, and snippets.

View koo5's full-sized avatar
💭
github sucks

koo5

💭
github sucks
View GitHub Profile
@koo5
koo5 / out.txt
Created November 28, 2020 21:14
Test project /home/koom/repos/swipl-devel/build
Start 26: swipl:thread
Start 3: swipl:core
Start 7: swipl:library
Start 12: swipl:GC
Start 6: swipl:tabling
Start 13: swipl:save
Start 47: pengines:pengines
Start 58: semweb:subprop
Start 60: semweb:turtle
@koo5
koo5 / out.txt
Created November 28, 2020 21:13
Test project /home/koom/repos/swipl-devel/build
Start 26: swipl:thread
Start 3: swipl:core
Start 12: swipl:GC
Start 7: swipl:library
Start 6: swipl:tabling
Start 13: swipl:save
Start 47: pengines:pengines
Start 58: semweb:subprop
Start 60: semweb:turtle
+ ctest -j 8 --output-on-failure
Test project /home/koom/repos/swipl-devel3/build
Start 1: swipl:basic
Start 2: swipl:unprotected
Start 3: swipl:core
Start 4: swipl:attvar
Start 5: swipl:debug
Start 6: swipl:tabling
Start 7: swipl:library
Start 8: swipl:compile
7eb68185b3d71c9712b0ae51d16a2ee778e8aef0
..
> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
@koo5
koo5 / Dockerfile
Last active November 1, 2020 17:59
swipl-devel docker
FROM ubuntu:18.04
# install and set up locale stuff
env LOC en_AU.UTF-8
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y locales language-pack-en \
&& sed -i -e 's/# $LOC UTF-8/$LOC UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
&& update-locale LANG=$LOC
@koo5
koo5 / rtrstr
Created November 19, 2017 15:38
vxsvrstv
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
[INFO] Facet Modules
#include <iostream>
int a = 1;
int f(int i)
{
std::cout << "f" << i;
return i * 2;
}
int g(int x = f(a))
@koo5
koo5 / 25
Last active November 19, 2015 16:37
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
@koo5
koo5 / bob
Created October 20, 2015 15:15
bob
<"--level 100 --nocolor --silence addrules --silence readcurly --silence quad::ctor "
level:100
<""
<""
silence:addrules
<""
silence:addrules readcurly
<""
silence:addrules quad::ctor readcurly
<"kb
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