Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
wxnacy committed May 9, 2020
1 parent 59e1210 commit bc6b3f4
Show file tree
Hide file tree
Showing 21 changed files with 6,765 additions and 0 deletions.
128 changes: 128 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*/__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.vscode
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

#sublime config
.DS_Store
*/.DS_Store
.tags
.tags_sorted_by_file

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
# .env

# virtualenv
.venv/
venv/
ENV/


# add by wenxiaoning begin
.idea/
.npmignore
.serverless/
node_modules/
*/.serverless/
*/node_modules/
*/node_modules/*
*/.cache/
*/local_config.py
api/test/winn*
winn*
# add by wenxiaoning end


# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject
metrics.flask.log
crawler/common
*.retry
*.out
*.swp
*/*.swp
*.log.*

*.pem
golang/pkg/
golang/bin/
golang/src/github.com/
golang/src/gopkg.in/
18 changes: 18 additions & 0 deletions commands/git.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"title": "git config credential.helper store",
"subtitle": "储存当前仓库凭证"
},
{
"title": "git config --global credential.helper store",
"subtitle": "全局模式储存仓库凭证"
},
{
"title": "git config --global credential.helper cache",
"subtitle": "全局模式缓存凭证 15 分钟"
},
{
"title": "git fetch origin {branch_name}",
"subtitle": "把远程分支拉到本地"
}
]
6 changes: 6 additions & 0 deletions commands/vagrant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"title": "vagrant ssh",
"subtitle": "ssh 连接当前虚拟机"
}
]
7 changes: 7 additions & 0 deletions commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# 部署指定tag 的api程序
# __author__ = "wenxiaoning([email protected])"
# __copyright__ = "Copyright of GoChinaTV (2017)."

MSG=$@
git add . && git commit -m "${MSG}"
10 changes: 10 additions & 0 deletions get_branch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# 部署指定tag 的api程序
# __author__ = "wenxiaoning([email protected])"
# __copyright__ = "Copyright of GoChinaTV (2017)."


# echo '`git branch`'
# git branch | grep '*' | awk '{print $2}'
res=`git branch | grep '*' | awk '{print $2}'`
echo $res
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bc6b3f4

Please sign in to comment.