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
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Say language="ja-jp">こんにちは</Say> | |
</Response> |
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
<?php | |
$numbers = array("<number to call n>", "<number to call n>", "<number to call n>"); | |
$number_index = isset($_REQUEST['number_index']) ? $_REQUEST['number_index'] : "0"; | |
$DialCallStatus = isset($_POST['DialCallStatus']) ? $_POST['DialCallStatus'] : ""; | |
header("content-type: text/xml"); | |
if($DialCallStatus!="completed" && $number_index == 2){ | |
$number_index = 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
CREATE TABLE "TWEETS" | |
( | |
"TWEETID" VARCHAR(50), | |
"SENTIMENT" INT | |
); |
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
function main(params) { | |
return {payload: 'Hello, ' + params.name + ' from ' + params.place}; | |
} |
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
<?php | |
$to = $_POST['email']; | |
$from = "送信元メールアドレス"; | |
$subject = $_POST['subject']; | |
$body = $_POST['body']; | |
$url = 'https://api.sendgrid.com/'; | |
$user = 'SendGrid username'; | |
$pass = 'SendGrid Password'; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>PHP Starter Application</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<table> | |
<tr> |
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
<?php | |
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library | |
// Substitute the following values using the details from your Twilio Account | |
$accountSid = ACCOUNT_SID; | |
$apiKeySid = API_KEY_SID; | |
$apiKeySecret = API_KEY_SECRET; | |
$configurationProfileSid = CONFIGURATION_PROFILE_SID; | |
// Create an Access Token |
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
slc arc |
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
cf api https://api.ng.bluemix.net | |
cf login -u <user_name> -o <organization> -s <space> | |
cf push joohoun-loopback |
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
cf login -u [Bluemix Login Mail Add] -s [Bluemix Space] |
NewerOlder