Skip to content

Instantly share code, notes, and snippets.

IB_ENGINE_DUMP=t go test
--- FAIL: TestAdvisorAccountManager (0.00s)
engine_test.go:65: cannot connect engine: dial tcp 127.0.0.1:4002: getsockopt: connection refused
--- FAIL: TestChainManager (0.00s)
engine_test.go:65: cannot connect engine: dial tcp 127.0.0.1:4002: getsockopt: connection refused
--- FAIL: TestCurrentTimeManager (0.00s)
engine_test.go:65: cannot connect engine: dial tcp 127.0.0.1:4002: getsockopt: connection refused
--- FAIL: TestConnect (0.00s)
engine_test.go:102: cannot connect engine: dial tcp 127.0.0.1:4002: getsockopt: connection refused
--- FAIL: TestExecutionManager (0.00s)
./ibgwstart
./ibgwstart: line 3: fdemo: command not found
./ibgwstart: line 4: demouser: command not found
/home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver/tws/IBJts /home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver
root@ip-172-31-57-160:/home/ubuntu/ib/testserver# System Properties
------------------------------------------------------------
java.runtime.name = Java(TM) SE Runtime Environment
./ibgwstart: line 3: fdemo: command not found
./ibgwstart: line 4: demouser: command not found
/home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver/tws/IBJts /home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver/tws /home/ubuntu/ib/testserver
/home/ubuntu/ib/testserver
root@ip-172-31-57-160:/home/ubuntu/ib/testserver# System Properties
------------------------------------------------------------
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = /usr/lib/jvm/java-7-oracle/jre/lib/amd64
@bhanuc
bhanuc / byobuCommands
Created April 12, 2016 13:50 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@bhanuc
bhanuc / hello.glade
Last active January 10, 2023 10:19
Minimal gnome hello world using glade + gjs
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<template class="Gjs_AppWindow" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<property name="title" translatable="yes">gnome-hello</property>
<property name="window_position">center</property>
<property name="default_width">200</property>
<property name="default_height">100</property>
@bhanuc
bhanuc / npm.log
Created June 19, 2015 13:39
Npm error log- installing gm module
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/bin/npm', 'install', 'gm', '--save' ]
2 info using npm@2.11.3
3 info using node@v0.10.38
4 verbose node symlink /usr/bin/node
5 verbose install initial load of /home/bhanuc/web/regrob/package.json
6 warn package.json Regrob@1.0.0 No repository field.
7 warn package.json Regrob@1.0.0 No license field.
8 verbose installManyTop reading scoped package data from /home/bhanuc/web/regrob/node_modules/async/package.json
9 verbose installManyTop reading scoped package data from /home/bhanuc/web/regrob/node_modules/aws-sdk/package.json
@bhanuc
bhanuc / delete.js
Last active August 29, 2015 14:00
delete fn
//userdetails.cmaps has all the info of project to be deleted
module.exports.deletenode = function (userdetails) {
return function(done) {
Project.findOne({'_id': userdetails.cmaps.project_id}, function findmap(err, proj) {
if (err) {
done(null, "please login again");
} else {
var req_map = proj.maps[userdetails.cmaps.map_name];
var deleted = {};
var length = req_map.length;