This file contains 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
import os | |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.web | |
import json | |
import requests | |
This file contains 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
[ | |
{ | |
"action":"talk", | |
"text":"Welcome to Sams's Conference, Powered By Nexmo Voice API" | |
}, | |
{ | |
"action":"conversation", | |
"name":"sams-conf", | |
"enterSound":"true" | |
} |
This file contains 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
[ | |
{ | |
"action": "talk", | |
"text": "You have now entered Tony's conference. The first participant starts the call" | |
}, | |
{ | |
"action": "conversation", | |
"name": "nexmo-tony-call", | |
"enterSound": "true", | |
} |
This file contains 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
[{ | |
"timestamp": "28/07/16 22:35", | |
"rating": -1 | |
}, { | |
"timestamp": "28/07/16 22:19", | |
"rating": 0 | |
}, { | |
"timestamp": "28/07/16 22:34", | |
"rating": 0 | |
}, { |
This file contains 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
{ | |
"test": "test" | |
} |
This file contains 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
curl "https://rest.nexmo.com/sms/json?api_key=XXXXXXXX&api_secret=XXXXXXX&to=447700900900&from=Demo&type=unicode&text=Nexmo+can+send+emoji🙌" |
This file contains 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
# 1900x1200 at 32bit depth, DMT mode | |
disable_overscan=1 | |
framebuffer_width=1900 | |
framebuffer_height=1200 | |
framebuffer_depth=32 | |
framebuffer_ignore_alpha=1 | |
hdmi_pixel_encoding=1 | |
hdmi_group=2 |
This file contains 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
wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser-l10n_48.0.2564.82-0ubuntu1.1222_all.deb | |
wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser_48.0.2564.82-0ubuntu1.1222_armhf.deb | |
wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_48.0.2564.82-0ubuntu1.1222_armhf.deb | |
sudo dpkg -i chromium-codecs-ffmpeg-extra_48.0.2564.82-0ubuntu1.1222_armhf.deb | |
sudo dpkg -i chromium-browser-l10n_48.0.2564.82-0ubuntu1.1222_all.deb chromium-browser_48.0.2564.82-0ubuntu1.1222_armhf.deb |
This file contains 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
GET /plus/v2whitelisted/people/lookup?includePeople=1&includeGal=1&type=phone&fields=kind,items(id,metadata(objectType,plusPageType,attributions),names,phoneNumbers(value,type,formattedType,canonicalizedForm),addresses(value,type,formattedType),images(url,metadata(container)),urls(value),placeDetails)&includePlaces=1&callType=outgoing&id=%2B441934834343 HTTP/1.1 | |
Authorization: Bearer xxxxxxxxxREDACTEDxxxxxxxxxxxxx | |
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; Nexus 6 Build/MMB29S) | |
Host: www.googleapis.com | |
Connection: Keep-Alive | |
Accept-Encoding: gzip | |
HTTP/1.1 200 OK | |
Expires: Fri, 29 Jan 2016 12:47:28 GMT |
This file contains 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
import dropbox | |
import tinys3 | |
import tempfile | |
from string import Template | |
import random | |
import string | |
S3_ACCESS_KEY = "" | |
S3_SECRET_KEY= "" |