This file contains 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
#!/bin/bash | |
set -uxe | |
export LC_CTYPE=en_US.UTF-8 | |
cd ~ | |
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb | |
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb | |
sudo apt-get update |
This file contains 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
db = db.getSiblingDB('tuplesdb') | |
print("[") | |
db.getCollectionNames().forEach(function(collection) { | |
db.getCollection(collection).find({ "instance": "lvn" }).forEach(function(doc) { | |
printjson(doc); | |
print(",") | |
}); | |
}) | |
print("]") |