A Date-Sorted ID (DSID) is a 48-bit number composed of two components:
- a 16-bit date.
- a 32-bit random number.
DSIDs can be safely used in IEEE-754 floating-point data types, such as Number in Javascript.
A Date-Sorted ID (DSID) is a 48-bit number composed of two components:
DSIDs can be safely used in IEEE-754 floating-point data types, such as Number in Javascript.
This document lists commands to setup speech-dispatcher with compiled eSpeak-NG on Ubuntu 24.04.
Uninstall eSpeak NG:
sudo apt remove espeak-ng espeak-ng-dataClone eSpeak NG from Github:
| #!/usr/bin/awk -f | |
| # | |
| # Parses DBus Notifications | |
| # | |
| # DBus Protocol: https://specifications.freedesktop.org/notification/1.3/protocol.html | |
| # | |
| # Notification Structure: | |
| # UINT32 org.freedesktop.Notifications.Notify ( | |
| # STRING app_name, |
| #!/usr/bin/awk -f | |
| #!/bin/bash | |
| # | |
| # List all MOBI-ASIN codes extracted from OPF files. | |
| # | |
| # Usage | |
| # | |
| # calibre-list-mobi-asin.sh LIBRARY | |
| # |
| # Smartlink - GENAI MP3 Player - USB Mass Storage | |
| # /etc/udev/rules.d/80-smartlink-mp3-player.rules | |
| # https://github.com/ilyakurdyukov/smartlink_flash | |
| # lsusb: Bus 001 Device 020: ID 301a:2801 SmartlinkTechnology USB2.0 Device | |
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="301a", ATTRS{idProduct}=="2800", MODE="0666", TAG+="uaccess" | |
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="301a", ATTRS{idProduct}=="2801", MODE="0666", TAG+="uaccess" |
| #!/bin/bash | |
| # | |
| # Convert a ebook into an audiobook. | |
| # | |
| # Input format: TXT | |
| # Output format: MP3 | |
| # | |
| # USAGE | |
| # |
| #!/bin/bash | |
| # | |
| # Este script baixa o RSS do site G1 da Globo. | |
| # | |
| # Produz dois arquivos: | |
| # | |
| # 1. Um arquivo XML o conteúdo inalterado; | |
| # 2. Um arquivo Record-Jar gerado a partir do XML. | |
| # |
| /** | |
| * Will normalize quotes in a given string. There are many variations of quotes | |
| * in the unicode character set, this function attempts to convert any variation | |
| * of quote to the standard Quotation Mark - U+0022 Standard Universal: " | |
| * | |
| * @param {string} str The string to normalize | |
| * @return {string} Normalized string. | |
| * @see https://unicode-table.com/en/sets/quotation-marks/ | |
| */ | |
| helpers.stdQuote = (str) => { |