0

相关实践太少,不知道有没有坑。

0

Visual Studio Code 很好用, 文本编辑器首选。

0
tony
6 years ago 回复了 int main()

main() 应该返回 EXIT_SUCCESS 或者 EXIT_FAILURE. stdlib.h 里面有定义。表明程序是否执行成功。

0
tony
6 years ago 回复了 git 改变远程仓库地址

设置远程地址

git remote set-url origin git://new.url.here

remote 其他选项

git remote -v
# 查看远程仓库地址
# origin  https://github.com/user/repo.git (fetch)
# origin  https://github.com/user/repo.git (push)

git remote add origin ssh://[email protected]/user/repo.git
# 添加远程仓库地址
0

用正则

String.prototype.replaceAll = function(search, replacement) {
    var target = this;
    return target.replace(new RegExp(search, 'g'), replacement);
};

Broadcast


JoyK
Better personal homepage
reddit style
GitHub Flavored Markdown syntax
Adaptive layout