This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~ % echo $PATH | |
/usr/local/heroku/bin:/usr/local/opt/openssl/bin:/Users/dionyziz/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin | |
dionyziz@erdos ~ % cd workspace/twister/twister-core | |
dionyziz@erdos ~/workspace/twister/twister-core (master*) % export OPENSSL_INCLUDE_PATH=/usr/local/opt/openssl/include | |
export OPENSSL_LIB_PATH=/usr/local/opt/openssl/lib | |
export BDB_INCLUDE_PATH=/usr/local/opt/berkeley-db4/include | |
export BDB_LIB_PATH=/usr/local/opt/berkeley-db4/lib | |
export BOOST_INCLUDE_PATH=/usr/local/opt/boost/include | |
export BOOST_LIB_PATH=/usr/local/opt/boost/lib | |
export BOOST_LIB_SUFFIX=-mt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Sat Jan 4 18:09:07 on ttys000 | |
dionyziz@erdos ~ % echo $PATH | |
/usr/local/heroku/bin:/usr/local/opt/openssl/bin:/Users/dionyziz/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin | |
dionyziz@erdos ~ % cd workspace/twister/twister-core | |
dionyziz@erdos ~/workspace/twister/twister-core (master*) % export OPENSSL_INCLUDE_PATH=/usr/local/opt/openssl/include | |
export OPENSSL_LIB_PATH=/usr/local/opt/openssl/lib | |
export BDB_INCLUDE_PATH=/usr/local/opt/berkeley-db4/include | |
export BDB_LIB_PATH=/usr/local/opt/berkeley-db4/lib | |
export BOOST_INCLUDE_PATH=/usr/local/opt/boost/include | |
export BOOST_LIB_PATH=/usr/local/opt/boost/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~/workspace/twister/twister-core/src (master*) % make -f makefile.osx test | |
c++ -c -DTEST_DATA_DIR=/Users/dionyziz/workspace/twister/twister-core/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/Users/dionyziz/workspace/twister/twister-core/src -I/Users/dionyziz/workspace/twister/twister-core/src/obj -I/usr/local/opt/boost/include -I/usr/local/opt/berkeley-db4/include -I/usr/local/opt/openssl/include -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/dionyziz/workspace/twister/twister-core/src/leveldb/include -I/Users/dionyziz/workspace/twister/twister-core/src/leveldb/helpers -I/Users/dionyziz/workspace/twister/twister-core/src/../libtorrent/include -DTORRENT_DEBUG -DBOOST_ASIO_SEPARATE_COMPILATION -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/Checkpoints_tests.d -o obj-test/Checkpoints_tests.o test/Checkpoints_tests.cpp | |
c+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~/workspace/twister/twister-core/src (master*) % make -f makefile.osx test | |
c++ -c -DTEST_DATA_DIR=/Users/dionyziz/workspace/twister/twister-core/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/Users/dionyziz/workspace/twister/twister-core/src -I/Users/dionyziz/workspace/twister/twister-core/src/obj -I/usr/local/opt/boost/include -I/usr/local/opt/berkeley-db4/include -I/usr/local/opt/openssl/include -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/dionyziz/workspace/twister/twister-core/src/leveldb/include -I/Users/dionyziz/workspace/twister/twister-core/src/leveldb/helpers -I/Users/dionyziz/workspace/twister/twister-core/src/../libtorrent/include -DTORRENT_DEBUG -DBOOST_ASIO_SEPARATE_COMPILATION -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/Checkpoints_tests.d -o obj-test/Checkpoints_tests.o test/Checkpoints_tests.cpp | |
c+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~/workspace/twister/twister-core/libtorrent (master*) % make | |
Making all in include/libtorrent | |
make[1]: Nothing to be done for `all'. | |
Making all in src | |
CXX web_connection_base.lo | |
CXX alert.lo | |
alert.cpp:357:74: warning: format specifies type 'int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] | |
snprintf(msg, sizeof(msg), "reply to dht getData received %d entries", m_lst.size()); | |
~~ ^~~~~~~~~~~~ | |
%lu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~ % traceroute 94.71.28.92 | |
traceroute to 94.71.28.92 (94.71.28.92), 64 hops max, 52 byte packets | |
1 192.168.1.1 (192.168.1.1) 0.756 ms 0.817 ms 1.280 ms | |
2 50.148.140.1 (50.148.140.1) 21.332 ms 14.183 ms 13.221 ms | |
3 te-5-3-ur02.sfpine.ca.sfba.comcast.net (162.151.1.225) 15.647 ms 13.563 ms 13.095 ms | |
4 te-1-14-0-12-ar01.oakland.ca.sfba.comcast.net (68.85.154.74) 17.599 ms 16.762 ms 15.483 ms | |
5 be-100-ar01.sfsutro.ca.sfba.comcast.net (68.85.155.18) 16.017 ms 16.287 ms 19.970 ms | |
6 he-1-5-0-0-cr01.sanjose.ca.ibone.comcast.net (68.86.90.93) 19.985 ms 20.550 ms 18.667 ms | |
7 50.242.148.34 (50.242.148.34) 34.879 ms 40.313 ms 37.042 ms | |
8 vlan60.csw1.sanjose1.level3.net (4.69.152.62) 187.052 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static OSStatus | |
SSLVerifySignedServerKeyExchange(SSLContext *ctx, bool isRsa, SSLBuffer signedParams, | |
uint8_t *signature, UInt16 signatureLen) | |
{ | |
OSStatus err; | |
... | |
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0) | |
goto fail; | |
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] dionyziz@gunther /var/www/endofcodes.com/html/database/migration (master) % for i in `ls -l|tail -n+11|grep -v 'migrate.php'|awk '{print $NF}'`; do DB_USER='endofcodes_admin' DB_PASSWORD='secret' ENVIRONMENT=development php $i; done | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. | |
Migration successful. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dionyziz@erdos ~/endofcodes (travis*) % ./run testrun create name=models/user | |
1 unit test | |
================ | |
## Unit test: UserTest, with 15 test methods ## | |
testCreate: | |
PASS - 3 assertions | |
testAuthenticatesWithPassword: | |
PASS - 1 assertion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function testAddFieldNoFieldName() { | |
$this->createTable(); | |
$emptySuccess = false; | |
try { | |
Migration::addField( 'testTable' ); | |
} | |
catch ( MigrationException $e ) { | |
$emptySuccess = true; | |
} |