Files
hamulete/git-npm-jupyter.AppleScript

55 lines
1.5 KiB
AppleScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*# 后缀名随意的script。#*/
### git
'''git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/hoochanlon/private.git //
git push -u origin master
git checkout gh-pages //
git checkout -b gh-pages //
git push origin branch-name //push repo
git branch -r -d origin/branch-name //
git push origin :branch-name //
git rm -r --cached mydir //删除mydir文件夹-n 即为展示不删除
git fetch --all //指令是下载远程仓库最新内容,不做合并
git reset --hard origin/master //指令把HEAD指向master最新版本
git pull //
git fetch ///
git merge //
git remote set-url origin repo.git //
### npm
npm login
npm pulish
npm unpublish pkg --force
[npm增删改](https://segmentfault.com/a/1190000017479985)
### jupyter
* [jupyter安装及目录生成](https://www.cnblogs.com/jayafsmw/p/12286580.html)
* [线Jupyter](https://blog.csdn.net/hxpjava1/article/details/86763331)
pip国内镜像
* http://mirrors.aliyun.com/pypi/simple/
* https://pypi.mirrors.ustc.edu.cn/simple/
* http://pypi.douban.com/simple/
* https://pypi.tuna.tsinghua.edu.cn/simple/
* http://pypi.mirrors.ustc.edu.cn/simple/
example
`pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple`
`pip3 install jupyter -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com`'''