jq is useful to slice, filter, map and transform structured json data.
brew install jq
package mn | |
import java.nio.ByteBuffer | |
import java.nio.channels.SocketChannel | |
import java.security.cert.Certificate | |
import java.security.cert.CertificateException | |
import java.security.cert.X509Certificate | |
import javax.net.ssl.SSLContext | |
import javax.net.ssl.SSLEngine |
Hercules is an open source software implementation of the mainframe System/370 and ESA/390 architectures, in addition to the new 64-bit z/Architecture.
Website: http://www.hercules-390.org/
My system info:
uname -a
Darwin ejlp-macbook 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
var conn = new Mongo(); | |
db = conn.getDB(<DB_NAME>); | |
var cursor = db.<COLLECTION>.find(); | |
var items = []; | |
items = cursor.toArray(); | |
var dbstruc = {}; | |
for (var i = 0; i < items.length; ++i) { | |
var target = items[i]; | |
getKP(target,dbstruc); | |
} |