Skip to content

Instantly share code, notes, and snippets.

{
"query": "Overlord melody 4 two where is Gamble 5 one?",
"topScoringIntent": {
"intent": "BearingToFriendlyPlayer",
"score": 0.68498534
},
"entities": [
{
"entity": "melody",
"type": "learned_group",
_ = function(p) return p; end;
name = _('Jones');
Description = 'Jones Custom Display'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1920;
[
{
"LatLongAlt": {
"Long": 45.01909093846007,
"Lat": 41.637735936261556,
"Alt": 464.5004577636719
},
"Name": "Vaziani"
},
{
_ = function(p) return p; end;
name = _('Jones');
Description = 'Jones Custom Display'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1920;
LoadError: either sequel_pg not loaded, or an old version of sequel_pg loaded
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel_pg-1.8.1/lib/sequel/extensions/pg_streaming.rb:2:in `<top (required)>'
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel-5.5.0/lib/sequel/core.rb:145:in `require'
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel-5.5.0/lib/sequel/core.rb:145:in `block in extension'
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel-5.5.0/lib/sequel/core.rb:145:in `each'
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel-5.5.0/lib/sequel/core.rb:145:in `extension'
/home/jjones/.rvm/gems/ruby-2.4.3@ganges_product_service/gems/sequel-5.5.0/lib/sequel/database/misc.rb:204:in `extension'
/home/jjones/Programming/ganges/product_service/test/service/service_test.rb:11:in `mock'
/home/jjones/Programming/ganges/product_service/test/service/service_test.rb:40:in `block (2 levels) in <top
@rurounijones
rurounijones / gist:1b14e6c2e4d894ee7952
Last active August 29, 2015 14:01
Cassandra stuff
cassandra-cli
[default@unknown] CREATE KEYSPACE ankusa_test with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = {replication_factor:1};
9c65cd2b-93bf-3fe0-bb15-a5472c18159c
Waiting for schema agreement...
... schemas agree across the cluster
rake test_cassandra
/home/jjones/.rvm/rubies/ruby-2.1.2/bin/ruby -I"lib:lib:." -I"/home/jjones/.rvm/gems/ruby-2.1.2@ankusa/gems/rake-10.3.2/lib" "/home/jjones/.rvm/gems/ruby-2.1.2@ankusa/gems/rake-10.3.2/lib/rake/rake_test_loader.rb" "test/hasher_test.rb" "test/cassandra_classifier_test.rb"
Run options:
@rurounijones
rurounijones / ruby_2_1_2
Created May 20, 2014 18:10
Core dump Ruby 2.1.2
2.1.2 :001 > Marshal.dump(Queue.new)
(irb):1: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0076 e:000075 CFUNC :dump
c:0018 p:0020 s:0072 e:000071 EVAL (irb):1 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC :eval
c:0016 p:0024 s:0063 e:000062 METHOD /home/jjones/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/irb/workspace.rb:86
c:0015 p:0025 s:0056 e:000054 METHOD /home/jjones/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/irb/context.rb:380
@rurounijones
rurounijones / ruby_2_1_1
Created May 20, 2014 18:07
Core dump Ruby 2.1.1
(irb):1: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0076 e:000075 CFUNC :dump
c:0018 p:0020 s:0072 e:000071 EVAL (irb):1 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC :eval
c:0016 p:0024 s:0063 e:000062 METHOD /home/jjones/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/irb/workspace.rb:86
c:0015 p:0025 s:0056 e:000054 METHOD /home/jjones/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/irb/context.rb:380
c:0014 p:0022 s:0050 e:000049 BLOCK /home/jjones/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/irb.rb:492
@rurounijones
rurounijones / ruby_2_1_0
Created May 20, 2014 18:05
Core dump Ruby 2.1.0
2.1.0 :001 > Marshal.dump(Queue.new)
(irb):1: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0076 e:000075 CFUNC :dump
c:0018 p:0020 s:0072 e:000071 EVAL (irb):1 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC :eval
c:0016 p:0024 s:0063 e:000062 METHOD /home/jjones/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/irb/workspace.rb:86
c:0015 p:0025 s:0056 e:000054 METHOD /home/jjones/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/irb/context.rb:380
// This is a json file used by chef-solo with the -j option
{
"postgresql" : {
"pg_hba": [
{ "type":"host", "db":"all", "user":"master", "addr":"10.80.79.0/24", "method":"md5"}
]
}
}