Various search databases and backends as alternatives to Elasticsearch.
|* Quill 1.* cannot next block elements inside <li> including nested <ul>,<ol>.|
|* To achieve nested lists it uses flat linear lists with CSS class `ql-indent-\d+` on <li>.|
|* Nesting <ul> inside <ol> or vice-versa cause topmost list to break in two adjacent lists.|
|* There is the only solution: fix bad HTML after getting it from Quill and break it back before|
|* passing to Quill again for editing.|
|const mkNode = (tagName = 'div') => document.createElement(tagName);|
How to use
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
|# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/|
|# Make sure you'll have enough entropy for pacman-key later.|
|apt-get install haveged|
|# Install the arch bootstrap image in a tmpfs.|
|mount -t tmpfs none /mnt|
|tar xvf ~/archlinux-bootstrap-*-x86_64.tar.gz --strip-components=1|
#How I built an audio book reader for my nearly blind grandfather
Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.
####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"