Skip to content

Instantly share code, notes, and snippets.

@nizur
nizur / gist:5a0b8fb6f24836094c75996bea626fa6
Last active March 18, 2023 08:22
Custom Logseq theme built on the dracula theme. Nothing fancy, but I made it and like it
@import url('https://raw.githack.com/dracula/logseq/master/custom.css');
/*
==================================================
GLOBAL VARIABLES
==================================================
*/
:root {
--ls-border-radius-tiny: 2px;
@nizur
nizur / speechSynthesis
Created June 4, 2014 21:31
Run this as a snippet in your browser to hear it speak
speechSynthesis.getVoices().forEach(function(voice) {
var name = voice.name,
speech = new SpeechSynthesisUtterance("Hello, my name is " + name);
speech.voice = voice;
speechSynthesis.speak(speech);
});