網路上的window.speechSynthesis教學主要都只有說切換指定語言
像是這樣就能切換成中文語音:
const synth = window.speechSynthesis;
const speak = (msg) => {| // ==UserScript== | |
| // @name Steam Queue Auto Discoverer | |
| // @description Discover the Steam queue three times to get the sale cards | |
| // @version 2.3.0 | |
| // @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7 | |
| // @icon https://store.steampowered.com/favicon.ico | |
| // @match https://store.steampowered.com/explore* | |
| // @grant none | |
| // ==/UserScript== |
| """Short and sweet LSTM implementation in Tensorflow. | |
| Motivation: | |
| When Tensorflow was released, adding RNNs was a bit of a hack - it required | |
| building separate graphs for every number of timesteps and was a bit obscure | |
| to use. Since then TF devs added things like `dynamic_rnn`, `scan` and `map_fn`. | |
| Currently the APIs are decent, but all the tutorials that I am aware of are not | |
| making the best use of the new APIs. | |
| Advantages of this implementation: |
| #!/bin/sh | |
| # For multi domain, add reqexts option when generate cer | |
| # --reqexts SAN -config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:example.com,DNS:www.example.com")) | |
| # For wildcard domain, using '*' at first | |
| # -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=root/CN=*.example.com/emailAddress=kevinadi@mongodb.com" | |
| # Generate self signed root CA cert | |
| openssl req -nodes -x509 -newkey rsa:2048 -keyout ca.key -out ca.crt -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=root/CN=`hostname -f`/emailAddress=kevinadi@mongodb.com" -days 365 |
(^ that's a short-link to this page, so you can open it in Linux)
Some users are discussing this guide in #hacking on the JoyConDroid Discord: https://discord.gg/SQNEx9v.
DO NOT ask for, or share links to, Amiibo bins in the comments! They will be removed. Thank you for understanding.
| function Show-Notification { | |
| [cmdletbinding()] | |
| Param ( | |
| [string] | |
| $ToastTitle, | |
| [string] | |
| [parameter(ValueFromPipeline)] | |
| $ToastText | |
| ) |