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
Private Sub btnOK_Click() | |
Dim msg As String | |
msg = Me.txtMessage.Value | |
Dim db As DAO.Database | |
Dim rs As DAO.Recordset | |
Dim strSQL As String | |
Set db = CurrentDb |
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
roster![ContactNumber] |
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
CallUrl = BASEURL & “/2010-04-01/Accounts/” & ACCOUNTSID & “/Calls” |
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
return {['Content-Type']='application/xml'}, | |
[[<?xml version="1.0"?> | |
<Response> | |
<Sms>Hello, Mobile Monkey</Sms> | |
</Response>]] |
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
people = {}; | |
people["+14158675309"] = "Curious George"; | |
people["+14158675310"] = "Boots"; | |
people["+14158675311"] = "Virgil"; |
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
local from = (request.form or request.query).From; | |
local name; | |
if type(people[from]) then | |
name=people[from] | |
else | |
name = "Monkey"; | |
end |
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
return {['Content-Type']='application/xml'}, string.Format( | |
[[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n | |
<Response> | |
<Sms>%s, thanks for the message!</Sms> | |
</Response>]], name) |
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
local twilio = require 'twilio' | |
local AUTHTOKEN = '[auth_token]' | |
if twilio.verify(request, AUTHTOKEN) then | |
return {['Content-Type']='application/xml'}, | |
[[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n | |
<Response> | |
<Say>Hello, Monkey</Say> | |
</Response>]] |
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
local twilio = require('twilio') | |
local ACCOUNTSID = '[account_sid]' | |
local AUTHTOKEN = '[auth_token]' | |
local PHONENUMBER = '+14259678361' | |
local response = twilio.sms(ACCOUNTSID, AUTHTOKEN, | |
PHONENUMBER, | |
'+15555555555', | |
'The Monkey Party is at 6PM. Bring Bananas!') |
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
local twilio = require 'twilio' | |
local ACCOUNTSID = '[account_sid]' | |
local AUTHTOKEN = '[auth_token]' | |
local PHONENUMBER = '+14259678361' | |
twilio.call(ACCOUNTSID, AUTHTOKEN, | |
PHONENUMBER, | |
"+15555555555", | |
'http://twilio-demo.webscript.io/hello-monkey') |