Skip to content

Instantly share code, notes, and snippets.

View emil-perhinschi's full-sized avatar

Emil Perhinschi emil-perhinschi

  • ENP Research
  • Bucharest, Romania
  • 15:25 (UTC +02:00)
  • X @emilper
View GitHub Profile
@emil-perhinschi
emil-perhinschi / apache configuration
Created November 23, 2018 20:58
cgi script with plack
<VirtualHost *:80>
ServerName test-cgi
ServerAdmin webmaster@localhost
DocumentRoot /home/www/test_cgi/htdocs
ErrorLog /home/www/test_cgi/logs/error.log
CustomLog /home/www/test_cgi/logs/access.log combined
<IfModule mod_alias.c>
<IfModule mod_cgi.c>
Define ENABLE_USR_LIB_CGI_BIN
@emil-perhinschi
emil-perhinschi / native_call.p6
Created June 26, 2014 21:46
perl6 native call libgsl segmentation fault
emilper@main:~/bin/nqp$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-