Advanced Search
Search Results
4 total results found
代码规范实用配置
vscode 注释模板 { // Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:...
C & C++ 编码规范
1. 前言 这份编码规范基于 Google C++ Style Guide,适用于 C。 C++ 作为一门非常强大的语言在各大厂被广泛使用, 然而一直以来都没有一套公认的编程规范, 不同人写出的代码风格迥异,导致代码在可读性、可维护性方面都有一些问题; 为了解决这些问题, 我们编写了编程规范, 并且会强制 C++ 程序员遵循本规范; 本文档风格约定部分可能跟你的喜好有冲突,请尽量用包容的心态来阅读。有任何问题或建议, 欢迎跟我们讨论: shjborage@gmail.com 2. 语法 本节主要规定和建议大家使用/...
myzsh 安装与配置
Check the env cat /etc/shells Install zsh sudo apt-get install zsh ## replace zsh as default shell manager sudo chsh -s $(which zsh) $USER Install oh-my-zsh sudo apt-get install wget sudo apt-get install git wget https://github.com/robbyrussell/oh-my-zsh/raw/...
SSH 免密登陆
原文链接:https://blog.csdn.net/weixin_43922901/article/details/106078558 该方法和什么终端无关,主要是根据ssh key方式登陆,无需远程主机登录密码,非常方便。 1 生成ssh秘钥和公钥文件 进入本地终端: ssh-keygen -t rsa 出现如下图所示,这时候请不要一直回车,输入相应的文件名称,因为不输入的话是默认生成id_rsa和id_rsa.pub两个文件。然而,由于很多人其实在本地配置了GitHub的钥匙,因此会存在这样的文件,所以在这里...