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
#!/usr/bin/python | |
import sys | |
import json | |
import requests | |
from datetime import datetime | |
from base64 import urlsafe_b64encode | |
import os | |
import calendar | |
from jose import jwt | |
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
import nexmo | |
#Add Your Nemxo Details and Mobile Number here | |
nexmo_key='XXX' | |
nexmo_secret='XXX' | |
to = 'XXX' | |
client = nexmo.Client(key=nexmo_key, secret=nexmo_secret) | |
#First test shows the result of not setting Unicode |
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
import os | |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.web | |
import json | |
import requests | |
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
[ | |
{ | |
"action":"talk", | |
"text":"Welcome to Sams's Conference, Powered By Nexmo Voice API" | |
}, | |
{ | |
"action":"conversation", | |
"name":"sams-conf", | |
"enterSound":"true" | |
} |
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
[ | |
{ | |
"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 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
[{ | |
"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 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
{ | |
"test": "test" | |
} |
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
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 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
# 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 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
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 |