Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
One day, I woke up and decided I really wanted a program to read books to me while I lie down or do other things. I did some | |
research, installed Calibre and fired away and my ears bled because the default text to speech system on Fedora is espeak, | |
which doesn't have very pleasant voices to listen to. I tried Festival because I saw someone on the internet mention how it | |
had very good sound quality, and I had a blast picking out a voice I liked but when it came to putting it into use there was | |
just the small issue of festival being very slow to generate speech, which led to 5 second gaps between every sentence. The | |
next system I tried was Pico, which I've now settled on because it sounds great and works great, but I am putting pen to | |
paper today because Fedora does not actually have Pico in its repositories and I want to document the arduous journey it took | |
to set Pico as the system's default recognised text to speech engine. Mainly for myself in case I ever need to do this again | |
on a new machine, but also for |
set -eEu | |
set -o pipefail | |
trap 'echo "L$LINENO"; O70; exit -1' ERR | |
O54=4 | |
function O70() | |
{ | |
if [[ ! -z "${O57+x}" ]]; then | |
if [[ -f "${O57}" ]]; then | |
rm -f "${O57}" | |
fi |
In HTML5, aside
is only "related to the content around the aside element".
In HTML 5.1 (CR) the definition became more specific: aside
is "related to the content of the parenting sectioning content".
Following the newer definition, the aside element should be inside of the section element to which it is related.
body
header
{ | |
"window.zoomLevel": 0, | |
"editor.fontSize": 15, | |
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.lineHeight": 36, | |
"workbench.colorTheme": "Palenight Operator", | |
"dart.debugExternalLibraries": false, | |
"dart.debugSdkLibraries": false, |
@font-face { | |
font-family: 'JetBrains Mono'; | |
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'), | |
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff'); | |
font-weight: 700; | |
font-style: italic; | |
font-display: swap; | |
} | |
@font-face { |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// munged from https://github.com/simontime/Resead | |
namespace sead | |
{ | |
class Random | |
{ |
#### | |
# ZSH function to auto-switch to correct Node version | |
# https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5 | |
# | |
# - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does. | |
# | |
# - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING. | |
# | |
# - Works correctly if your .nvmrc file contains something relaxed/generic, | |
# like "4" or "v12.0" or "stable". |
// This worked on 2019-10-09 under Chrome in full screen mode. | |
// Did not work under mobile, they changed ... things? | |
// You put this in Chrome's Snippets (copy/paste) and then run it from there when you are at the watch later list | |
// (https://www.youtube.com/playlist?list=WL) | |
// It will move one video per invocation. I tried to make it do all of them but $$ disappeared. | |
// Heavily borrowed from many places | |
// function for triggering mouse events |
Bootstrap 4 Default breakpoints (and corresponding fixed-width container sizes): | |
* xs = 575px and below (100% container, with 15px default left and right paddings) | |
* sm = 576px – 767px (540px container, with default paddings) | |
* md = 768px – 991px (720px container, with default paddings) | |
* lg = 992px – 1199px (960px container, with default paddings) | |
* xl = 1200px and up (1140px container, with default paddings) | |
“Container” dimensions are for when non-fluid containers are used. | |
I personally prefer working with non-fluid containers, | |
as it leads to massively reduced probability of layout issues. |