This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
#In case script issues, run this before any attempt : find . -type f -print0 | xargs -0 dos2unix | |
# 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.network "private_network", type: "dhcp" |
This file contains hidden or 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
function format_result(results,datas,callback){ | |
json = syncCall(foo); | |
datas.push(json); | |
callback(); | |
return; | |
} | |
function async_push_data_to_x(datas){ | |
... |
This file contains hidden or 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
// CodeStyle : | |
// fu.. those stupid implicite call, please use semicolon, return and everything to avoid confusion | |
var parser = require('xml2json'); | |
var async = require('async'); | |
var fs = require('fs'); | |
var process = require('process'); | |
var moment = require('moment'); | |
var mysql_singleton = require('./mysql_singleton'); |
This file contains hidden or 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
{ | |
"_source": [ | |
"name", | |
"attribs" | |
], | |
"query": { | |
"nested": { | |
"path": "attribs", | |
"query": { | |
"bool": { |
NewerOlder