1)点击“文件”→“首选项”→“设置” 继续阅读
vscode 中文显示乱码
回复
version: "3"
services:
anki-container:
image: ankicommunity/anki-sync-server-rs
container_name: anki-container
environment:
- ANKISYNCD_USERNAME=test
- ANKISYNCD_PASSWORD=123456
restart: always
ports:
- "27701:27701"
volumes:
- /www/wwwroot/docker/anki:/app/data
参考readme,简单步骤如下
导入速度比较慢……
git clone https://gitlab.com/annyong/joplin-api
cd joplin-api
pip install -e .
asyncio.run
为trio.run
Running asyncio.get_event_loop().run_until_complete(...) instead of asyncio.run(...)
宝塔面板ssl启用后网站无法访问
https://www.54rj.com/index.php/2021/09/10/宝塔面板开启ssl后-https无法访问解决办法/
查看本机防火墙状态命令 firewall-cmd –state,显示running
查看已经打开的端口命令:firewall-cmd –list-all ,ports中并没有443
打开443端口:firewall-cmd –add-port=443/tcp –permanent ,
提示Warning: ALREADY_ENABLED: 443:tcp,success
然后reload一下:firewall-cmd –reload
再次查看已经打开的端口:firewall-cmd –list-all ,ports中已经有443端口了
https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm
长度7位
秒分时日月星期年
# 每月的最后1天 @Scheduled(cron = "0 0 18 28–31 * ?") public void doAtLastDayOfMonth() { final Calendar calendar = Calendar.getInstance(); if (c.get(Calendar.DATE) == c.getActualMaximum(Calendar.DATE)) { // do something here... } }
说明:
Java(Spring)
* * * * * * * - - - - - - - | | | | | | | | | | | | | + year [optional] | | | | | +----- day of week (0 - 7) (Sunday=0 or 7) | | | | +---------- month (1 - 12) | | | +--------------- day of month (1 - 31) | | +-------------------- hour (0 - 23) | +------------------------- min (0 - 59) +------------------------------ second (0 - 59)
长度6位,去掉最后的年