A basic use of web speech synthesis.
Support in Chrome Canary/Dev Channel and Safari
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: 'AWS::Serverless-2016-10-31' | |
| Description: An app that includes a DynamoDB table, Lambda function that writes to DynamoDB, and CloudWatch Event trigger | |
| Resources: | |
| LambdaWriteToDynamoDB: | |
| # A function that writes to a DynamoDB table on a schedule | |
| Type: 'AWS::Serverless::Function' | |
| Properties: | |
| FunctionName: LambdaWriteToDynamoDB |
| // HttpClient and how to use Headers, Content-Type and PostAsync | |
| // http://d-fens.ch/2014/04/12/httpclient-and-how-to-use-headers-content-type-and-postasync/ | |
| // Copyright 2014-2015 Ronald Rink, d-fens GmbH | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // Generate unique IDs for use as pseudo-private/protected names. | |
| // Similar in concept to | |
| // <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
| // | |
| // The goals of this function are twofold: | |
| // | |
| // * Provide a way to generate a string guaranteed to be unique when compared | |
| // to other strings generated by this function. | |
| // * Make the string complex enough that it is highly unlikely to be | |
| // accidentally duplicated by hand (this is key if you're using `ID` |
| //Look for other responsivevoice instances | |
| /*if (window.parent != null) { | |
| var iframes = window.parent.document.getElementsByTagName('iframe'); | |
| for (var i = 0; i < iframes.length; i++) { | |
| //iframes[i].style.width = "300px" | |
| } | |
| }*/ | |
| if (typeof responsiveVoice != 'undefined') { | |
| console.log('ResponsiveVoice already loaded'); |
| <template lang="pug"> | |
| v-text-field( | |
| ref='field', | |
| :prefix='prefix', | |
| v-model='model', | |
| @focus='onFocus', | |
| @keyup='onKeyUp', | |
| :error-messages='errorMessages', | |
| v-bind='$attrs', | |
| @change='onChange' |
| Visual Studio 2019 Enterprise | |
| BF8Y8-GN2QH-T84XB-QVY3B-RC4DF | |
| Visual Studio 2019 Professional | |
| NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y |
| Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
| ([一-龯]) | |
| Regex for matching Hirgana or Katakana | |
| ([ぁ-んァ-ン]) | |
| Regex for matching Non-Hirgana or Non-Katakana | |
| ([^ぁ-んァ-ン]) | |
| Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
| // REFERENCE UNICODE TABLES: | |
| // http://www.rikai.com/library/kanjitables/kanji_codes.unicode.shtml | |
| // http://www.tamasoft.co.jp/en/general-info/unicode.html | |
| // | |
| // TEST EDITOR: | |
| // http://www.gethifi.com/tools/regex | |
| // | |
| // UNICODE RANGE : DESCRIPTION | |
| // | |
| // 3000-303F : punctuation |
| <!-- Based on https://github.com/dangvanthanh/vue-ckeditor --> | |
| <template> | |
| <div class="ckeditor"> | |
| <textarea :id="id" :value="value"></textarea> | |
| </div> | |
| </template> | |
| <style scoped> | |
| .ckeditor { |