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
var UI = require('ui'); | |
var Voice = require('ui/voice'); | |
var ajax = require('ajax'); | |
var main = new UI.Window({ | |
fullscreen: true | |
}); | |
main.on('show', function(e) { | |
Voice.dictate('start', true, function(e) { |
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 | |
include "./config.inc"; | |
$result = mysql_query("SELECT * WHERE id=" . $_GET['id']); | |
if (!$result) { | |
die('Error: ' . mysql_error()); | |
} | |
... |
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
{ | |
"Version":"2012-10-17", | |
"Statement":[{ | |
"Sid":"PublicReadGetObject", | |
"Effect":"Allow", | |
"Principal": "*", | |
"Action":["s3:GetObject"], | |
"Resource":["arn:aws:s3:::YOUR-BUCKET-NAME/*" | |
] | |
} |