Skip to content

Instantly share code, notes, and snippets.

View rkitover's full-sized avatar

Rafael Kitover rkitover

  • San Francisco, CA, United States
View GitHub Profile
t/749sqlanywhere.t .. 48/? dbih_clearcom (sth 0x9ec2b14, com 0xa268344, imp DBD::ODBC::st): FLAGS 0x18a095: COMSET Active Warn HandleError RaiseError PrintWarn ShowErrorStatement ERR 1 ERRSTR '[unixODBC][Sybase][ODBC Driver][SQL Anywhere]Cursor not open (SQL-34000)' PARENT DBI::db=HASH(0x9eb75ac) KIDS 0 (0 Active) LongReadLen 130048 NUM_OF_FIELDS 5 NUM_OF_PARAMS 1 dbih_clearcom (sth 0x9ec20b4, com 0xa26bb84, imp DBD::ODBC::st): FLAGS 0x18a095: COMSET Active Warn HandleError RaiseError PrintWarn ShowErrorStatement ERR 1 ERRSTR '[unixODBC][Sybase][ODBC Driver][SQL Anywhere]Cursor not open (SQL-34000)' PARENT DBI::db=HASH(0x9eb75ac) KIDS 0 (0 Active) LongReadLen 130048 NUM_OF_FIELDS 5 NUM_OF_PARAMS 1 t/749sqlanywhere.t .. ok
@rkitover
rkitover / gist:2794639
Created May 26, 2012 16:59
openssl doesn't compile with MinGW-w64
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -Ic:\\Users\\rkitover\\src\\zlib-1.2.7\\include -DZLIB -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o sha1-x86_64.o sha1-x86_64.s
sha1-x86_64.s: Assembler messages:
sha1-x86_64.s:1824: Warning: end of file not at end of a line; newline inserted
sha1-x86_64.s:2183: Error: number of operands mismatch for `rol'
make[2]: *** [sha1-x86_64.o] Error 1
make[2]: Leaving directory `/c/Users/rkitover/src/openssl-1.0.1c/crypto/sha'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/c/Users/rkitover/src/openssl-1.0.1c/crypto'
make: *** [build_crypto] Error 1
@rkitover
rkitover / gist:2795050
Created May 26, 2012 19:29
Net::SSH2 build failure with MinGW-w64
c:\MINGW_~1\bin\g++.exe -o blib\arch\auto\Net\SSH2\SSH2.dll -Wl,--base-file -Wl,
dll.base -mdll -L"C:\Perl64\lib\CORE" -static-libgcc -static-libstdc++ SSH2.o
C:\Perl64\lib\CORE\perl514.lib c:\users\rkitover\src\libssh2-1.4.2\src\.libs\lib
ssh2.a c:\users\rkitover\src\zlib-1.2.7\lib\libz.a c:\users\rkitover\src\openssl
-1.0.1c\lib\libssl.a c:\users\rkitover\src\openssl-1.0.1c\lib\libcrypto.a dll.ex
p
c:\users\rkitover\src\openssl-1.0.1c\lib\libcrypto.a(mem_clr.o):mem_clr.c:(.text
+0x0): multiple definition of `OPENSSL_cleanse'
c:\users\rkitover\src\openssl-1.0.1c\lib\libcrypto.a(x86_64cpuid.o):fake:(.text+
0x1a0): first defined here
rkitover@hlagh ~ % cat .vim/ftplugin/gitcommit.vim
setlocal tw=72
set nocindent
@rkitover
rkitover / gist:2838336
Created May 30, 2012 19:08
easy_install pywin32
C:\Users\rkitover\MinGW_w64_buildbot>easy_install pywin32
Searching for pywin32
Reading http://pypi.python.org/simple/pywin32/
Reading http://sf.net/projects/pywin32
Reading http://sourceforge.net/project/showfiles.php?group_id=78018
Reading https://sourceforge.net/projects/pywin32/files/pywin32/
No local packages or download links found for pywin32
Best match: None
Traceback (most recent call last):
File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module>
2012-05-28 13:48:22-0400 [-] Log opened.
2012-05-28 13:48:22-0400 [-] twistd 12.0.0 (C:\Python27\python.exe 2.7.3) starting up.
2012-05-28 13:48:22-0400 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2012-05-28 13:48:22-0400 [-] Starting BuildSlave -- version: 0.8.6p1
2012-05-28 13:48:22-0400 [-] recording hostname in twistd.hostname
2012-05-28 13:48:22-0400 [-] Starting factory <buildslave.bot.BotFactory instance at 0x0000000002F57308>
2012-05-28 13:48:22-0400 [-] Connecting to mingw-w64.it.cx:8010
2012-05-28 13:50:22-0400 [-] connection attempt timed out (is the port number correct?)
2012-05-28 13:50:22-0400 [Broker,client] Lost connection to mingw-w64.it.cx:8010
2012-05-28 13:50:22-0400 [Broker,client] <twisted.internet.tcp.Connector instance at 0x0000000002F57C08> will retry in 2 seconds
@rkitover
rkitover / gist:2864843
Created June 3, 2012 20:09
ls -la output
Arkady@Arkady-PC /c/buildbot/mingw-x86-x86_64/build
$ ls -la
ls: build: Permission denied
total 103632
drwxr-xr-x 3 Arkady Administrators 4096 Jun 3 16:03 .
drwxr-xr-x 3 Arkady Administrators 0 Jun 1 06:33 ..
-rwxr-xr-x 1 Arkady Administrators 5460 Jun 3 06:09 download-src.py
-rwxr-xr-x 1 Arkady Administrators 25006 Jun 3 06:09 mingw-makefile
-rw-r--r-- 1 Arkady Administrators 106082870 Jun 3 06:10 mingw-w64-src.tar.bz2
@rkitover
rkitover / gist:2943371
Created June 17, 2012 04:07
win32 dbic test results
Test Summary Report
-------------------
t/73oracle.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/73oracle_blob.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/73oracle_hq.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
sub _is_text_type {
my ($self, $data_type) = @_;
return $self->result_source->storage->_is_text_lob_type($data_type)
|| $data_type =~ /(?:long\s+)?(?:var)?char(?:acter)?(?:\(max\))?|(?:long\s+)?char(?:acter)?\s+varying|(?:tiny|medium|long|uni|n)?text|(?:long\s+)?n(?:var)?char(?:\(max\))?|lvarchar|string|national character(?:\s+varying)?|uni(?:var)?char|xml/i;
}
@rkitover
rkitover / gist:3160018
Created July 22, 2012 15:41
mac env vars for macports
export LIBPREFIX='/opt/local'
export CPATH="$HOME/include:$LIBPREFIX/include"
export CPPFLAGS="-I$HOME/include -I$LIBPREFIX/include -I$LIBPREFIX/include/libtommath"
export CFLAGS="$CPPFLAGS"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-L$HOME/lib -L$LIBPREFIX/lib"
export LIBTOOLIZE=glibtoolize
export LIBTOOL=glibtool