I hereby claim:
- I am amitdeshmukh on github.
- I am amitdeshmukh (https://keybase.io/amitdeshmukh) on keybase.
- I have a public key ASCx3FHYp-IKcDwYEeSm2079P_SeS_VLLZ3NJ6lur98eSQo
To claim this, I am signing this object:
$ brew install libmagic | |
$ brew link libmagic (if the link is already created is going to fail, don't worry about that) | |
$ env ARCHFLAGS="-arch x86_64" gem install ruby-filemagic -- --with-magic-include=/usr/local/include --with-magic-lib=/usr/local/lib/ |
I hereby claim:
To claim this, I am signing this object:
//-------------------------------------------------- | |
// This script creates 'review' edges in OrientDB | |
// | |
// Reviews are available from the Yelp dataset as a | |
// JSON formatted input file with one record per line | |
//-------------------------------------------------- | |
// declare some variables | |
var counter = 0; | |
var record = 0; |
// require dependencies | |
var Oriento = require('oriento'); | |
var async = require('async'); | |
// constructor for Class OrientDB | |
function OrientDB(){ | |
// configure orientdb client - ensure you change the username and password here | |
this.server = Oriento({ | |
host: 'localhost', | |
port: 2424, |
//------------------------------------------------ | |
// This script creates nodes in OrientDB | |
// | |
// Data is within a JSON formatted input file | |
// with one record per line | |
//------------------------------------------------ | |
// declare some variables | |
var counter = 0; var record = 0; | |
// require dependencies |