-
Put your the mdx and mdd files to the same folder, pyglossary would pick up the mdd file automatically
-
covert
pyglossary --write-format=Kobo some.mdx dicthtml-dict-name.zip
$HOME/homebrew/settings/bash-shortcuts/bash-shortcuts.json
And from now on, you can backup Sekiro progress without switching to deskmode!
class BlurhashAnalyzer < ActiveStorage::Analyzer::ImageAnalyzer::Vips | |
def metadata | |
read_image do |image| | |
if rotated_image?(image) | |
{ width: image.height, height: image.width } | |
else | |
{ width: image.width, height: image.height } | |
end.merge blurhash(image) | |
end | |
end |
ssh_authorized_keys: | |
- < your public key here> | |
- name: Clone repositories | |
git: repo={{item.repo}} dest={{item.dest}} depth=1 | |
loop: | |
- {repo: "{{git_server}}/project1.git", dest: "some where" } | |
- {repo: "{{git_server}}/project2.git", dest: "some where else" } | |
register: clone_result | |
async: 600 | |
poll: 0 | |
# - debug: var=clone_result | |
- name: Check on an async task |
### Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
First make sure in /etc/minidlna.conf
inotify=true
check /var/log/minidlna.log
may found
[2021/08/22 04:14:10] monitor.c:216: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [30] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches
#!/usr/bin/env bash | |
## usage | |
# chmod +x ./backup.sh | |
# add it to your crontab | |
set -u | |
filepath=/tmp/${HOSTNAME}-$(date +%F)-backup.tar.gz | |
umask go= | |
/sbin/sysupgrade -b $filepath |
在这里下载adb tools, 并加入path
在 电视 关于 -> 网络信息找到电视ip地址, 我的是 192.168.31.122
在电脑上,
adb connect 192.168.31.122