I hereby claim:
- I am eloycoto on github.
- I am eloycoto (https://keybase.io/eloycoto) on keybase.
- I have a public key whose fingerprint is 8629 1D2A C285 D07E 20A1 459C 842C 983D 4005 3DF4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
String.prototype.format = function () { | |
var i = 0, args = arguments; | |
return this.replace(/{}/g, function () { | |
return typeof args[i] != 'undefined' ? args[i++] : ''; | |
}); | |
}; | |
'Key: {} value: {}'.format('test',true); |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "coreos" | |
config.vm.provider "virtualbox" do |v| |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "private_network", ip: "192.168.33.10" |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#Tenant | Account | Direction | ActionPlanTag | ActionTriggersTag | |
---|---|---|---|---|---|
acalustra | eloy | *out | PACKAGE_10 | STANDARD_TRIGGERS |
digraph models_diagram { | |
graph[overlap=false, splines=true, mindist=3.0, nodesep=1, /*landscape=true*/] | |
"AccountActions.csv" [shape=record, label="{AccountActions.csv|\ | |
<0> Tenant :string\l|\ | |
<1> Account :string\l|\ | |
<2> Direction :string\l|\ | |
<3> ActionPlanTag :string\l|\ | |
<4> ActionTriggersTag :string\l|\ | |
}"] |
^[[Bpanic: runtime error: assignment to entry in nil map | |
goroutine 58 [running]: | |
runtime.panic(0x9e6940, 0xd840b3) | |
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5 | |
github.com/cgrates/cgrates/engine.(*Account).GetDefaultMoneyBalance(0xc2082bcb90, 0xc208409ff8, 0x4, 0xc208253c30) | |
/tmp/cgrates/src/github.com/cgrates/cgrates/engine/account.go:299 +0x347 | |
github.com/cgrates/cgrates/engine.(*Account).debitCreditBalance(0xc2082bcb90, 0xc20884e000, 0x1, 0x0, 0x0) | |
/tmp/cgrates/src/github.com/cgrates/cgrates/engine/account.go:252 +0xd0a |
{ | |
"error": null, | |
"id": 4, | |
"result": { | |
"CdrStats": [ | |
{ | |
"Accounts": "test", | |
"ActionTriggers": "FRAUD_55", | |
"Categories": "", | |
"CdrHosts": "", |
[Unit] | |
Description=consul agent | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
EnvironmentFile=-/etc/sysconfig/consul | |
Environment=GOMAXPROCS=2 | |
Restart=on-failure | |
ExecStart=/usr/local/sbin/consul agent $OPTIONS -config-dir=/etc/consul.d |