A Date-Sorted ID (DSID) is a 53-bit number made of three components:
- a 16-bit date.
- a 5-bit extension.
- a 32-bit random number.
DSIDs can be safely used in IEEE-754 floating-point data types, such as Number in Javascript.
| #!/bin/bash | |
| # | |
| # Convert a ebook into an audiobook. | |
| # | |
| # Input format: TXT | |
| # Output format: MP3 | |
| # | |
| # USAGE | |
| # |
A Date-Sorted ID (DSID) is a 53-bit number made of three 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. | |
| # |