Style: Porter
This is a robust porter that should carry a full body and a nice creamy head. It has a smooth mouth feel and the taste of an oatmeal raisin cookie.
#include <iostream> | |
#include <variant> | |
#include <optional> | |
#include <functional> | |
template<class... As> struct visitor : As... { using As::operator()...; }; | |
template<class... As> visitor(As...) -> visitor<As...>; | |
template<class A> | |
struct Ok { |
let add_headers (path: string): Cohttp.Header.t = | |
Cohttp.Header.add_list (Cohttp.Header.init ()) [ | |
("Strict-Transport-Security", "max-age=31536000; includeSubdomains; preload"); | |
("Content-Type", (Magic_mime.lookup path)); | |
("X-XSS-Protection", "1; mode=block"); | |
("X-Frame-Options", "DENY"); | |
("X-Content-Type-Options", "nosniff") | |
] |
require "net/sftp" | |
Net::SFTP.start("127.0.0.1", "vagrant", :port => "22") do |sftp| | |
puts "hello" | |
end | |
java.lang.RuntimeException: java.lang.VerifyError: (class: jnr/netdb/NativeServicesDB$LinuxLibServices$jaffl$2, method: getservent_r signature: (Ljnr/netdb/NativeServicesDB$UnixServent;Lcom/kenai/jaffl/Pointer;Lcom/kenai/jaffl/NativeLong;Lcom/kenai/jaffl/Pointer Expecting to find long on stack | |
at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:265) | |
at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) | |
at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) | |
at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) |
#include <stdint.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
uint32_t ROL(uint32_t val, uint32_t shift) { | |
shift &= 0x1f; | |
val = (val >> (0x20 - shift)) | (val << shift); | |
return val; | |
} |
pkglibdir = $(prefix)/lib | |
pkglib_LTLIBRARIES = standalone.la | |
#include_HEADERS = re.h modsecurity.h msc_logging.h msc_multipart.h \ | |
# msc_parsers.h msc_pcre.h msc_util.h msc_xml.h \ | |
# persist_dbm.h apache2.h msc_geo.h acmp.h utf8tables.h \ | |
# msc_lua.h msc_release.h | |
standalone_la_SOURCES = ../apache2/mod_security2.c \ | |
../apache2/apache2_config.c ../apache2/apache2_io.c ../apache2/apache2_util.c \ | |
../apache2/re.c ../apache2/re_operators.c ../apache2/re_actions.c ../apache2/re_tfns.c \ |
objs/addon/modsecurity/ngx_http_modsecurity.o \ | |
objs/addon/modsecurity/apr_bucket_nginx.o \ | |
objs/ngx_modules.o \ | |
-L/usr/local/lib -lpthread -lcrypt ../../ModSecurity/nginx/modsecurity/../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lxml2 -lm -lpcre -lcrypto -lcrypto -lz -lGeoIP | |
../../ModSecurity/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-msc_lua.o): In function `l_setvar': | |
/home/abedra/src/opensource/knock-knock/ModSecurity/standalone/../apache2/msc_lua.c:363: undefined reference to `lua_gettop' | |
/home/abedra/src/opensource/knock-knock/ModSecurity/standalone/../apache2/msc_lua.c:366: undefined reference to `lua_getglobal' | |
/home/abedra/src/opensource/knock-knock/ModSecurity/standalone/../apache2/msc_lua.c:367: undefined reference to `lua_topointer' | |
/home/abedra/src/opensource/knock-knock/ModSecurity/standalone/../apache2/msc_lua.c:369: undefined reference to `lua_getglobal' | |
/home/abedra/src/opensource/knock-knock/ModSecurity/standalone/../apache2/msc_lua.c:370: undefined refere |
objs/addon/modsecurity/ngx_http_modsecurity.o \ | |
objs/ngx_modules.o \ | |
-L/usr/local/lib -lpthread -lcrypt /home/abedra/src/opensource/ModSecurity/nginx/modsecurity/../../standalone/.libs/standalone.a -lapr-1 -laprutil-1 -lxml2 -lm -lpcre -lcrypto -lcrypto -lz -lGeoIP | |
/home/abedra/src/opensource/ModSecurity/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-msc_lua.o): In function `l_setvar': | |
/home/abedra/src/opensource/ModSecurity/standalone/../apache2/msc_lua.c:355: undefined reference to `lua_gettop' | |
/home/abedra/src/opensource/ModSecurity/standalone/../apache2/msc_lua.c:358: undefined reference to `lua_getglobal' | |
/home/abedra/src/opensource/ModSecurity/standalone/../apache2/msc_lua.c:359: undefined reference to `lua_topointer' | |
/home/abedra/src/opensource/ModSecurity/standalone/../apache2/msc_lua.c:361: undefined reference to `lua_getglobal' | |
/home/abedra/src/opensource/ModSecurity/standalone/../apache2/msc_lua.c:362: undefined reference to `lua_topointer' | |
/home/abedra/src/opensource/ModSecuri |
lua -v | |
Lua 5.2.1 Copyright (C) 1994-2012 Lua.org, PUC-Rio | |
pacman -Q | grep lua | |
lua 5.2.1-3 |
gcc -v | |
Using built-in specs. | |
COLLECT_GCC=gcc | |
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper | |
Target: x86_64-unknown-linux-gnu | |
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release | |
Thread model: posix | |
gcc version 4.7.2 (GCC) | |
autom |