2026年1月12日星期一

2025年12月28日星期日

grub-reboot 为什么会失败呢?

 https://wiki.debian.org/GrubReboot

https://unix.stackexchange.com/questions/43196


aka@aka-linux:~$ sudo awk -F\'\|\" '/(submenu|menuentry) / { printf "%s\t%s\n", $1, $2}' /boot/grub/grub.cfg

menuentry       Kubuntu GNU/Linux

submenu         Advanced options for Kubuntu GNU/Linux

        menuentry       Kubuntu GNU/Linux, with Linux 6.17.0-8-generic

        menuentry       Kubuntu GNU/Linux, with Linux 6.17.0-8-generic (recovery mode)

        menuentry       Kubuntu GNU/Linux, with Linux 6.17.0-5-generic

        menuentry       Kubuntu GNU/Linux, with Linux 6.17.0-5-generic (recovery mode)

        menuentry       Memory test (memtest86+x64.efi)

        menuentry       Memory test (memtest86+x64.efi, serial console)

        menuentry       Memory test (memtest86+ia32.efi)

        menuentry       Memory test (memtest86+ia32.efi, serial console)

        menuentry       Memory test (memtest86+x64.bin)

        menuentry       Memory test (memtest86+x64.bin, serial console)

        menuentry       Memory test (memtest86+ia32.bin)

        menuentry       Memory test (memtest86+ia32.bin, serial console)

menuentry       Windows Boot Manager (on /dev/nvme1n1p1)

                menuentry       UEFI Firmware Settings

aka@aka-linux:~$ sudo grub-editenv - list

next_entry=

aka@aka-linux:~$ sudo grub-reboot 2

aka@aka-linux:~$ sudo grub-editenv - list

next_entry=2

aka@aka-linux:~$ sudo reboot

aka@aka-linux:~$ Connection to 192.168.31.59 closed by remote host.

Connection to 192.168.31.59 closed.

lyq@debian:~/bin$ ssh aka@192.168.31.59

ssh: connect to host 192.168.31.59 port 22: No route to host


2025年5月9日星期五

kaleido最简单的示例都跑不起来

 https://pypi.org/project/kaleido/

import plotly.express as px
fig = px.scatter(px.data.iris(), x="sepal_length", y="sepal_width", color="species")
fig.write_image("figure.png", engine="kaleido")

2025年4月8日星期二

mdf文件中,多边形名称前数字的含义

 代表多边形名称字符串的长度

2025年4月4日星期五

无法从 https://www.powershellgallery.com/ 安装软件

 https://www.powershellgallery.com/packages/PSFzf/2.6.7

如何安装 PowerShellGet 和 PSResourceGet

PS C:\aka\my_git\> Install-Module PowerShellGet -Force -AllowClobber

警告: Unable to resolve package source 'https://www.powershellgallery.com/api/v2'.

PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'PowerShellGet'. Try Get-PSRepository to see all ava

ilable registered module repositories.


2025年3月22日星期六

webdav的ssl配置

 1、webdav 服务器配置

       cert: ./tls_self/my-service.crt
       key: ./tls_self/my-service.key


2、joplin PC客户端同步设置:
       C:\Users\username\my-service.crt

3、小米15
       只需要安装 ca.crt 即可

4、ios 18

  1. 通过“文件”程序安装证书
  2. 在“设置-通用-VPN“中安装描述文件(可能需要重启,才能安装成功)
  3. 在”关于本机“中,启用受信任的证书
  4. 经测试,超过10年有效期的证书,能安装