I hereby claim:
- I am byteofprash on github.
- I am byteofprash (https://keybase.io/byteofprash) on keybase.
- I have a public key ASCZxPFm-vA33lpYYoV4fFCZAVPVQvtUaOhD5xo2VvpJJgo
To claim this, I am signing this object:
## Sparql Query to get the lat long of certain cities | |
SELECT DISTINCT ?countryLabel ?label ?lat ?long WHERE { | |
{?city rdf:type dbo:City} UNION {?city rdf:type dbo:PopulatedPlace} | |
?city rdfs:label ?label ; | |
geo:lat ?lat ; | |
geo:long ?long ; | |
dbo:country ?country ; | |
rdfs:label ?name . |
I hereby claim:
To claim this, I am signing this object:
# Warning: don't try to run this as a script. It probably won't work. | |
# remove all things python (optional) | |
sudo apt-get remove python-* | |
# remove previous installations of ROS | |
sudo apt-get remove ros-* | |
sudo apt-get remove ros-melodic-* | |
sudo apt-get autoremove |
import os | |
from flask import Flask, request, abort | |
from twilio.request_validator import RequestValidator | |
from urllib import parse | |
from collections import OrderedDict | |
from hashlib import sha1, sha256 | |
import hmac | |
import base64 | |
app = Flask(__name__) |
const axios = require('axios'); | |
// This is your new function. To start, set the name and path on the left. | |
exports.handler = async function(context, event, callback) { | |
// Here's an example of setting up some TWiML to respond to with this function | |
const twiml = ` | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Play>http://com.twilio.sounds.music.s3.amazonaws.com/ClockworkWaltz.mp3</Play> |