Skip to content

Instantly share code, notes, and snippets.

@frumpel
frumpel / voices.md
Created January 13, 2026 02:50
Cycle through browser speechSynthesis voices

Running this in the browser console will cycle through all voices for language 'en*'.

(function() {
  play();

  async function play() {
    let all = "Do no blue next turn. \n \
               Do no blue next turn but add +2 if you score. \n Bye.";
@frumpel
frumpel / AWS-upload-ssh-key-pair.sh
Last active March 15, 2017 22:53
AWS upload ssh key pair
KEYNAME=${KEYNAME:=defaultKeyPair}
## Generate a server cert
ssh-keygen -t rsa -b 4096 -f ${KEYNAME}
# Upload the key
aws ec2 import-key-pair \
--key-name ${KEYNAME} \
--public-key-material file://${KEYNAME}.pub