WengQiang's Blog

where there is a will, there is a way!

设置docker加速器

  1. Docker版本为1.12或更高 创建或编辑/etc/docker/daemon.json, 修改成如下形式:
    1
    2
    3
    4
    5
    6
    7
    {
    "registry-mirrors": [
    "加速地址"
    ],
    "insecure-registries": []
    }

阅读全文 »

自定义user macro

  1. 添加property sheet 打开property manager 添加property sheet

  2. 打开上面创建的property sheet(.props结尾),然后自定义user macro 自定义user macro

阅读全文 »

上标和下标

  • 上标: O(n<sup>2</sup>)

    效果 O(n2)

  • 下标: O(h<sub>2</sub>o)

    效果 O(h2o)

插入图片

打开Class

  1. win: ctrl + n

a symbol [usage | list usage] in project

  1. win:alt + f7 / ctrl + alt + f7

  2. win: highlight the usage: ctrl + shift + f7 win: navigate the highlighted usage: f3/shift + f3 win: remove the highlight: esc

go to the definition

  1. win: go to just on definition or several definitions: ctrl + b | ctrl + alt + b
阅读全文 »
0%