2021-02-0x04
Share¶
Writing Python inside your Rust code¶
https://blog.m-ou.se/writing-python-inside-rust-1/
https://blog.m-ou.se/writing-python-inside-rust-1a/
https://blog.m-ou.se/writing-python-inside-rust-2/
Docker Containers on the Desktop¶
https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
$ docker run -it \
--net host \ # may as well YOLO
--cpuset-cpus 0 \ # control the cpu
--memory 512mb \ # max memory it can use
-v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
-e DISPLAY=unix$DISPLAY \ # pass the display
-v $HOME/Downloads:/root/Downloads \ # optional, but nice
-v $HOME/.config/google-chrome/:/data \ # if you want to save state
--device /dev/snd \ # so we have sound
--name chrome \
jess/chrome
最后更新: 2021-03-02
创建日期: 2021-02-22
创建日期: 2021-02-22