Skip to content

Instantly share code, notes, and snippets.

View zdavatz's full-sized avatar
🎯
Focusing

Zeno R.R. Davatz zdavatz

🎯
Focusing
View GitHub Profile
<ARTICLE>
<GTIN>7680630020048</GTIN>
<NAME>Forielle 1050 U.I./1.75 mL (77 µg/1.75 mL), Injektionspräparat</NAME>
<PKG_SIZE>1</PKG_SIZE>
<SELLING_UNITS>1</SELLING_UNITS>
<MEASURE>Set</MEASURE>
<GALENIC_FORM>Injektionspräparat</GALENIC_FORM>
<GALENIC_GROUP>Injektion/Infusion</GALENIC_GROUP>
<COMPOSITIONS>
<COMPOSITION>
@zdavatz
zdavatz / make mod_ruby MinGW Windows Vista
Created February 1, 2011 13:14
output of "make" mod_ruby on MinGW, Windows Vista
C:\Users\zdavatz\software\mod_ruby>make
gcc -shared -o mod_ruby.so apache_cookie.o apache_multipart_buffer.o apache_request.o apachelib.o array_header.o bucket.o connection.o cookie.o error.o mod_ruby
.o multival.o paramtable.o request.o ruby_config.o ruby_shared_stub.o server.o table.o upload.o uri.o -L"C:\Apache2.2\lib" -L"C:\Ruby-1.8.6-oniguruma\lib" -llib
apr-1 -llibaprutil-1 -llibhttpd -lmsvcrt-ruby18
apache_request.o:apache_request.c:(.text+0x1815): undefined reference to `_imp__apr_month_snames'
apache_request.o:apache_request.c:(.text+0x1831): undefined reference to `_imp__apr_day_snames'
apachelib.o:apachelib.c:(.text+0x33a): undefined reference to `_imp__ap_server_root'
bucket.o:bucket.c:(.text+0x111): undefined reference to `_imp__apr_bucket_type_flush'
bucket.o:bucket.c:(.text+0x156): undefined reference to `_imp__apr_bucket_type_eos'
bucket.o:bucket.c:(.text+0x19b): undefined reference to `_imp__apr_bucket_type_file'
@zdavatz
zdavatz / DLL linkage against MinGW
Created February 3, 2011 09:47
Apache mod_ruby compile error with MinGW on Windows Vista
apache_request.o:apache_request.c:(.text+0x1a1b): undefined reference to `_imp__apr_month_snames'
apache_request.o:apache_request.c:(.text+0x1a3f): undefined reference to `_imp__apr_day_snames'
apachelib.o:apachelib.c:(.text+0x33a): undefined reference to `_imp__ap_server_root'
bucket.o:bucket.c:(.text+0x111): undefined reference to `_imp__apr_bucket_type_flush'
bucket.o:bucket.c:(.text+0x156): undefined reference to `_imp__apr_bucket_type_eos'
bucket.o:bucket.c:(.text+0x19b): undefined reference to `_imp__apr_bucket_type_file'
@zdavatz
zdavatz / Makefile mod_ruby with MinGW for Windows Vista
Created February 3, 2011 15:24
Makefile mod_ruby with MinGW for Windows Vista
APACHE_ROOT=C:\Apache2.2
RUBY_ROOT=C:\Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
@zdavatz
zdavatz / objdump -p libapr-1.a
Created February 4, 2011 08:12
objdump -p libapr-1.a
Time/Date Thu Jan 01 01:00:00 1970
Magic 0000
MajorLinkerVersion 0
MinorLinkerVersion 0
SizeOfCode 00000000
SizeOfInitializedData 00000000
SizeOfUninitializedData 00000000
AddressOfEntryPoint 00000000
BaseOfCode 00000000
BaseOfData 00000000
@zdavatz
zdavatz / Makefile mod_ruby Windows Vista MinGW
Created February 7, 2011 10:07
Makefile mod_ruby Windows Vista MinGW
APACHE_ROOT=C:/Apache2.2
RUBY_ROOT=C:/Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
@zdavatz
zdavatz / Makefile mod_ruby MinGW Apache for Windows
Created February 7, 2011 13:06
Makefile mod_ruby MinGW Apache for Windows
APACHE_ROOT=C:/Apache2.2
RUBY_ROOT=C:/Ruby-1.8.6-oniguruma
SRCS = \
apache_cookie.c \
apache_multipart_buffer.c \
apache_request.c \
apachelib.c \
array_header.c \
bucket.c \
connection.c \
@zdavatz
zdavatz / httpd -M on Apache for Windows with mod_ruby.so
Created February 8, 2011 09:53
httpd -M on Apache for Windows with mod_ruby.so
C:\Users\zdavatz\software\apr>httpd -M
Loaded Modules:
core_module (static)
win32_module (static)
mpm_winnt_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
asis_module (shared)
@zdavatz
zdavatz / "httpd -e debug" mod_ruby windows
Created February 8, 2011 14:28
httpd -e debug mod_ruby windows
C:\Apache2.2\conf\extra>httpd -e debug
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module actions_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module alias_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module asis_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module auth_basic_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authn_default_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_default_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Tue Feb 08 15:26:30 2011] [debug] mod_so.c(246): loaded module authz_host_module
@zdavatz
zdavatz / gist:818654
Created February 9, 2011 15:35
de.oddb.win.conf in C:\Apache2.2\conf\vhosts
NameVirtualHost *:80
<Directory C:\Users\zdavatz\de.oddb.org\doc>
Options ExecCGI
<Files "*">
SetHandler ruby-object
</Files>
AllowOverride None
Order allow,deny
Allow from all