设想这样一个应用情景,需要下载一批文件,不想写循环或者文件名分散或随机的情况,拿到了枚举list,可以下了吧。当然,我们还需要wget 以及重命名等任务。也就是说,我们需要在每一行前面或者后面加上关键词,比如wget空格,或者其他什么的
vim可以很好解决这个问题,两个语句:
行首加入 :%s/^/Hello, this is your word/
行尾加入 :%s/$/Bye, this is your word/
CTRL+V 可以很好解决局部问题
或者
2-50行加入 :2,50 s/^/#/g
“The current dot.com experience is pretty sterile. 此处有“枯燥无味的”意思
venture capical 风险投资(VC)
When I pushed all ncl file in project to github, I got this error:
[yangsong3@localhost project]$ git push -u origin master Password: To https://Novarizark@github.com/Novarizark/project.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://Novarizark@github.com/Novarizark/pro ject.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details.
Google it, found the solution on Stackoverflow
You need to add the origin remote: Delete the current one git remote rm origin Add the git remote link ex: (https://user@bitbucket.org/test.git or https://github.com/user/test.git) git remote add origin link git pull origin master (or other branch)
It is the Username@github made the bad result. So there should be other ways to solve the 403 or ssh error.