Word of warning: you don't need to use the command line, but you need to know the basics. Please first know how to do things in their simplest form and only then move to magic GUIs.
- It all starts with a git init
import pdb | |
""" | |
The Bellman-Ford algorithm | |
Graph API: | |
iter(graph) gives all nodes | |
iter(graph[u]) gives neighbours of u | |
graph[u][v] gives weight of edge (u, v) | |
""" |
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.json", | |
"data": { | |
"url": "https://covid.ourworldindata.org/data/owid-covid-data.csv", | |
"format": {"parse": {"date": "date"}} | |
}, | |
"transform": [ | |
{ | |
"filter": { | |
"or": [ |
{ | |
"$schema":"https://vega.github.io/schema/vega-lite/v4.json", | |
"data":{ | |
"url":"https://covid.ourworldindata.org/data/owid-covid-data.csv", | |
"format":{ | |
"parse":{ | |
"date":"date" | |
} | |
} | |
}, |
Let's try the Onfido API. We have captured four criminals that we know have spoofed their IDs. Please use onfido to run checks on their ids.
Title | First Name | Last Name | Country | Address town | Date of Birth | |
---|---|---|---|---|---|---|
Miss | Patricia | Scarlett | patricia@onfido.com | PT | Barreiro | 08/08/1957 |
Professor | Tom | Plum | tom@onfido.com | GB | Liverpool | 09/11/1948 |
Mrs | Mafalda | Peacock | mafalda@onfido.com | PT | Lisboa | 28/07/1966 |
I hereby claim:
To claim this, I am signing this object:
require 'twilio-ruby' | |
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | |
auth_token = 'your_auth_token' | |
@client = Twilio::REST::Client.new account_sid, auth_token | |
# Get an object from its sid. If you do not have a sid, | |
# check out the list resource examples on this page | |
@account = @client.accounts.get("ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") | |
@account.update(:status => "suspended") |