15 Matching Annotations
  1. Jul 2022
    1. the := operator is a shortcut for declaring and initializing a variable in one line (Go uses the value on the right to determine the variable's type). Taking the long way, you might have written this as: var message string message = fmt.Sprintf("Hi, %v. Welcome!", name)

      declare and initialize a vairable in one line. 声明和初始化一个变量

  2. Feb 2022
        • Visual Studio Code 快捷键
      • 调出快捷键设置: Ctl + k Ctrl + s (这是代表联合一起的)

      • 当前行快速换行 : Ctrl + Enter
      • 快速删除某一行:Shift + Delete / Ctrl + Shift + K
      • 查找: Ctrl + F
      • 文件中查找: Ctrl + Shift + F
      • 替换:Ctrl + H
      • 文件中内容替换: Ctrl + Shift + H
  3. Jan 2022
    1. Avec une touche compose : Compose + ^ + . ou Compose + . + -.

      point median inclusif

  4. Oct 2021
  5. Sep 2021
    1. I find Alt + right-click + drag to be the most convenient way to do this.

      On PopOS, the default seems to be Super + right click drag

      Took me some research to try to figure it out though (because on the Ubuntu system I came from, it was Super + middle click drag). I wish it were a bit more discoverable.

    1. gsettings set org.gnome.desktop.wm.keybindings move-to-center "['<Control><Super>c']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-e "['<Control><Super>Right']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-n "['<Control><Super>Up']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-s "['<Control><Super>Down']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-w "['<Control><Super>Left']"
  6. Jul 2021
  7. Mar 2021
  8. Jan 2019
  9. Feb 2014