Skip to content

Instantly share code, notes, and snippets.

@nengine
nengine / stellar-node3.log.txt
Created November 7, 2017 12:53
stellar-node3.log
2017-11-07T12:45:37.897 GDVDU [SCP DEBUG] BallotProtocol::setAcceptCommit i: 1762 new c: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) new h: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ])
2017-11-07T12:45:37.897 GDVDU [SCP DEBUG] Slot::processEnvelope i: 1762 {ENV@self | i: 1762 | CONFIRM | D: 369ca2 | b: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | p.n: 1 | c.n: 1 | h.n: 1 }
2017-11-07T12:45:37.897 GDVDU [SCP DEBUG] BallotProtocol::advanceSlot 2 i: 1762 | FINISH | b: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | p: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | p': (<null_ballot>) | h: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | c: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | M: 3
2017-11-07T12:45:37.897 GDVDU [SCP DEBUG] BallotProtocol::advanceSlot 2 - exiting i: 1762 | FINISH | b: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | p: (1,[ txH: 1041a8, ct: 1510058737, upgrades: [ ] ]) | p': (<null_ballot>) | h: (1,[ txH: 1041a8, ct: 1510058737, up
@nengine
nengine / vue.js
Created September 29, 2017 11:16
vue
<template>
<div id="trades">
<p>{{ message }}</p>
<button @click='load'>Load data</button>
</div>
</template>
<script>
const Gdax = require('gdax');
@nengine
nengine / Mongoid FactoryGril
Created June 29, 2012 11:30
Mongoid FactoryGril
class Email
include Mongoid::Document
include Mongoid::Timestamps
embedded_in :mailable, polymorphic: true
field :email, type: String
field :category, type: String
end
class Person
@nengine
nengine / gist:1672511
Created January 24, 2012 20:51
has_many_through
DataMapper.setup(:default, {
:adapter => 'sqlserver',
:database => 'Employee',
:username => 'test',
:password => 'test',
:host => 'host12',
:port => 1433
})
require 'rubygems'
require 'data_mapper' # requires all the gems listed above
require 'dm-migrations'
DataMapper.setup(:default, "sqlite:///c:/users/nash/rails12/db/mdm.sqlite3")
klass = Class.new do
include DataMapper::Resource
storage_names[:default] = 'people'
require 'rubygems'
require 'data_mapper' # requires all the gems listed above
require 'dm-migrations'
DataMapper.setup(:default, "sqlite:///c:/users/nash/rails12/db/mdm.sqlite3")
klass = Class.new do
include DataMapper::Resource
storage_names[:default] = 'people'
@nengine
nengine / server.log
Created October 18, 2011 01:40
TorqueBox::Messaging::Backgroundable
01:32:43,606 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Stopping Coyote HTTP/1.1 on http-127.0.0.1-127.0.0.1-8080
01:32:43,614 INFO [org.jboss.as.osgi] (MSC service thread 1-8) JBAS011921: Stopping OSGi Framework
01:32:43,616 INFO [org.jboss.as.messaging.jms.AS7BindingRegistry] (MSC service thread 1-2) Unbound messaging object from jndi name java:/ConnectionFactory
01:32:43,616 INFO [org.jboss.as.messaging.jms.AS7BindingRegistry] (MSC service thread 1-2) Unbound messaging object from jndi name java:/RemoteConnectionFactory
21:04:03,814 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
21:04:03,896 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
21:04:03,991 INFO [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB Subsystem
21:04:04,261 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activati
@nengine
nengine / gist:1272399
Created October 8, 2011 15:06
Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.10'
gem 'torquebox'
gem 'jruby-openssl'
gem 'jquery-rails'
gem 'activeadmin'
gem 'delayed_job'
@nengine
nengine / gist:1272382
Created October 8, 2011 14:50
database.yml
# SQLite version 3.x
# gem 'activerecord-jdbcsqlite3-adapter'
#development:
# adapter: jdbcpostgresql
# username: gidm
# password: 123
# hostname: localhost
# database: gidm_dev
@nengine
nengine / gist:1272369
Created October 8, 2011 14:43
jboss server.log file after dropping mysql-connector-java-5.1.17-bin.jar in /jboss/standalone/
19:39:11,251 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
19:39:11,273 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
19:39:11,312 INFO [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB Subsystem
19:39:11,359 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
19:39:11,367 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
19:39:11,372 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
19:39:11,386 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
19:39:11,391 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2
19:39:11,416 INFO [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3
19:39:11,427 INFO [org.xnio.nio] (MSC service thread 1-2) X