Convert SVG with xlink image to PNG

Only with ImageMagick.

1 identify -list policy

If you see output below:

Modify Path above, comment those like

2 If you have svg somewhere other than your own disk, download it first.

3 Convert

if that doesn’t work, try

Convert SVG with xlink image to PNG by My Site:

kexec 更新Linux内核


更新CentOS 7的时候发现现有内核版本太老了,wireguard出了点错,手工dkms:


没有找到靠谱的hot upgrade,所以试了试 kexec,参考 Kernel patching with kexec: updating a CentOS 7 kernel without a full reboot


kexec 更新Linux内核 by My Site:

VMware Fusion: Cannot connect to a valid peer process

I ran VMware Fusion 10 on macOS, and got this error when starting a VM.
Cannot connect to a valid peer process

I googled, most guys says to trust developer from, but I’ve already trusted.

I checked process list, only:

I tried this on another working mac:

Those processes are started by /Applications/VMware\

In this file, find

Uncomment those two lines, and re-run, check “/tmp/debug”:

Verbose output

Compare signatures

I Googled again and found saying unload some kernel extensions might work.

I remember VMware Fusion turned not working days after I installed VirtualBox and rebooted, so I remove and unload all useless extensions:

No error now.

VMware Fusion: Cannot connect to a valid peer process by My Site:

Convert PDF to Image

using GraphicsMagick

Convert full page to %d.png

Convert first page

Convert PDF to Image by My Site:

lldb 断点自动执行命令


之前是每次到断点,一个地址一个地址地 p 或者 memory read,后来看到 breakpoint command 命令,于是有了:





lldb 断点自动执行命令 by My Site: