VS Code 快捷键 (未完)
Keyboard shortcuts for Windows General 基本 Ctrl+Shift+P, F1 Show Command Palette 弹出命令窗口 Ctrl+P Quick Open 快速打开文件 Ctrl+Shift+N New window/instance 新建窗口 Ctrl+Shift+W * Close window/instance 关闭窗口 Basic editing Ctrl+X Cut line (empty selection) 剪贴选中,如无选中则剪贴当前行 Ctrl+C * Copy line (empty selection) 复制选中,…
Ubuntu Server 16.04 LTS Samba
Install Samba 切换到Root $sudo -s 安装Samba #apt-get install -y samba samba-common python-glade2 system-config-samba 备份并新建一份Samba空配置 #cp -pf /etc/samba/smb.conf /etc/samba/smb.conf.bak #cat /dev/null > /etc/samba/smb.conf Samba Configure Anonymous 创建匿名共享配置 #vim /etc/samba/smb.conf # /etc/samba/smb.conf [global] workgroup = WORKGROUP server…
Emacs for Windows use Magit
下载Plink安装包: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 下载Git for Windows安装包: https://git-scm.com/download/win 将Plink安装路径添加到系统环境变量,在CMD中测试: C:\Users\user>plink --version plink: Release 0.69 Build platform: 64-bit Windows Compiler: Visual Studio 2015 / MSVC++ 14.0 (_MSC_VER=1900) Source commit: b1829b81b5c0d12dcc91f6b50b0b4d83c3df6a8e 使用puttygen.exe创建RSA密钥,…
Spacemacs使用Mu4e收发邮件
Spacemacs使用Mu4e收发邮件 安装 安装MBSync与Mu $sudo apt install isync mu4e 安装Spacemacs Layer dotspacemacs-configuration-layers '( mu4e (mu4e :variables mu4e-installation-path "/usr/share/emacs/site-lisp" mu4e-enable-notifications t) ) 配置 ~/.mbsyncrc IMAPAccount GmailOne Host imap.gmail.com Port 993 User gmailone@gmail.com # 使用明文密码 Pass password # 使用GPG PassCmd "gpg -d ~/.mbpasswd.gpg" UseIMAPS yes RequireSSL yes CertificateFile…
Ubuntu NTP自动更新时间
对时 https://time.is 手动更新时间 $sudo apt install ntpdate $sudo ntpdate cn.pool.ntp.org 自动更新 $sudo apt install ntp $sudo service ntp start…