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
| //Use the JSON Parser to generate the database | |
| Json::Value root; | |
| Json::Reader reader; | |
| std::ifstream dataFile("location_data_large.json"); | |
| bool parsingSuccessful = reader.parse(dataFile,root,true); | |
| if ( !parsingSuccessful ) | |
| { | |
| // report to the user the failure and their locations in the document. | |
| std::cout << reader.getFormatedErrorMessages() << "\n"; | |
| } |
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
| cd /opt/graphite/bin | |
| PYTHONPATH=`pwd`/whisper ./carbon-cache.py --debug start |
NewerOlder