Skip to content

Instantly share code, notes, and snippets.

@pomelo
pomelo / locateunicode.tex
Last active Apr 7, 2020
How to locate an invisible Unicode character in a Latex file.
View locateunicode.tex
\DeclareUnicodeCharacter{200A}{!!!FIX ME!!!}
@pomelo
pomelo / gist:4bfe224a606b08f4e7ebc12c31fd85fd
Created Mar 10, 2020
Howto: Move a distro of WSL2 to another disk, and default user
View gist:4bfe224a606b08f4e7ebc12c31fd85fd
# https://github.com/MicrosoftDocs/WSL/issues/412#issuecomment-501913246
# start CMD or POWERSHELL
# export current image
wsl --export Ubuntu-18.04 ./ubuntu.tar
# make destination path
mkdir E:\UbuntuVHDX
# import image
wsl --import Ubuntu18.04 E:\UbuntuVHDX ./ubuntu.tar
# start new WSL2 image by specify user
You can’t perform that action at this time.