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
{ | |
"error": "(DataError) time zone \"None\" not recognized\n 'SELECT count(DISTINCT trip_us.driver_id) AS user_count, sum(trip_us.drive_time) AS drive_time, sum(trip_us.distance) AS distance \\nFROM trip_us, (SELECT driver.driver_id AS driver_id \\nFROM driver \\nWHERE driver.application_id = %(application_id_1)s) AS driver_query \\nWHERE trip_us.driver_id = driver_query.driver_id AND local_time(trip_us.timestamp, trip_us.timezone) >= %(local_time_1)s AND local_time(trip_us.timestamp, trip_us.timezone) <= %(local_time_2)s' {'local_time_2': '2014-09-07', 'application_id_1': 'umano_app', 'local_time_1': '2014-09-01'}" | |
} | |
http://api.zendrive.com/v1/score?apikey=2RifMKrPczDex1jlfEFOwfnNkOtfIJs5&start_date=2014-9-01&end_date=2014-9-07 |
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
Mainactivity.java | |
static final String ClientID = "OXLAh5px6k1X1iryA6OzrdhAABYz1625"; | |
static final String Tenant = "linez"; | |
static final String Callback = "http://YOUR_APP/callback"; | |
static final String Connection = "google-oauth2"; //change to "paypal", "linkedin", etc or leave empty to show the widget | |
All functionality is encapsulated in the AuthenticationActivity class. Calling it requires just a couple lines of code: | |
Intent authActivity = new Intent(MainActivity.this, |
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
HttpClient httpclient = new DefaultHttpClient(); | |
HttpPost httppost = new HttpPost("http://104.131.4.231:1337/scoreboard/find"); | |
try { | |
String data = "{\n" + | |
"\n" + | |
"\"where\": {\n" + | |
"\"age\":{\n" + | |
"\"<\" : 30\n" + | |
"} \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 simple-app | |
../sbt/sbt package | |
../spark/bin/spark-submit --class "SimpleApp" --master local[*] target/scala-2.10/simple-project_2.10-1.0.jar | |
python bin/rateMovies | |
cd machine-learning/python | |
usb/spark/bin/spark-submit MovieLensALS.py usb/data/movielens/medium/ ../personalRatings.txt |
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
http://104.131.4.231:1337/learn/find?base_exercise=Warmup | |
http://104.131.4.231:1337/learn/find?base_exercise=Pushup | |
http://104.131.4.231:1337/learn/find?base_exercise=Crunch | |
http://104.131.4.231:1337/learn/find?base_exercise=Squat | |
http://104.131.4.231:1337/learn/find?base_exercise=Cooldown | |
http://104.131.4.231:1337/learn/find?base_exercise=Science%20of%20DB |
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
^Croot@DesiBody:~/desibody# sails lift | |
info: Starting app... | |
error: A hook (`orm`) failed to load! | |
error: SyntaxError: Unexpected token x | |
at Object.parse (native) | |
at Database.read (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:200:18) | |
at Array.async.auto.checkData [as 0] (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:59:12) | |
at /usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:459:38 |
OlderNewer