├── .gitignore ├── LICENSE ├── README.md └── _static ├── SQL-cheat-sheet.pdf ├── backend_developer.jpg └── sql-cheat-sheet-for-data-scientists.pdf /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | MANIFEST 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | .pytest_cache/ 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | local_settings.py 57 | db.sqlite3 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # Jupyter Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # SageMath parsed files 82 | *.sage.py 83 | 84 | # Environments 85 | .env 86 | .venv 87 | env/ 88 | venv/ 89 | ENV/ 90 | env.bak/ 91 | venv.bak/ 92 | 93 | # Spyder project settings 94 | .spyderproject 95 | .spyproject 96 | 97 | # Rope project settings 98 | .ropeproject 99 | 100 | # mkdocs documentation 101 | /site 102 | 103 | # mypy 104 | .mypy_cache/ 105 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 XiandongQI 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Python Developer 中文版 2 | 3 | ## 引言 4 | 5 | 职业目标:Python 后端开发工程师、数据科学工程师 6 | 7 | 本人从 2018 年 10 月毕业后开始工作,因为技术水平不足,而无法写出清晰凝练的个人博客。于是,希望在这里首先记录自己在工作学习中遇到的知识点,温故而知新。 8 | 9 | - [Python Developer 中文版](#python-developer-%E4%B8%AD%E6%96%87%E7%89%88) 10 | - [引言](#%E5%BC%95%E8%A8%80) 11 | - [Python](#python) 12 | - [Python 基础](#python-%E5%9F%BA%E7%A1%80) 13 | - [Python 进阶](#python-%E8%BF%9B%E9%98%B6) 14 | - [Python - gevent](#python---gevent) 15 | - [进程、线程、协程](#%E8%BF%9B%E7%A8%8B%E7%BA%BF%E7%A8%8B%E5%8D%8F%E7%A8%8B) 16 | - [Python 实战](#python-%E5%AE%9E%E6%88%98) 17 | - [Python 数据科学 基础](#python-%E6%95%B0%E6%8D%AE%E7%A7%91%E5%AD%A6-%E5%9F%BA%E7%A1%80) 18 | - [Python 数据科学 实战](#python-%E6%95%B0%E6%8D%AE%E7%A7%91%E5%AD%A6-%E5%AE%9E%E6%88%98) 19 | - [Python 面试](#python-%E9%9D%A2%E8%AF%95) 20 | - [Django web 框架](#django-web-%E6%A1%86%E6%9E%B6) 21 | - [Django 基础](#django-%E5%9F%BA%E7%A1%80) 22 | - [Django 进阶](#django-%E8%BF%9B%E9%98%B6) 23 | - [Django 实战](#django-%E5%AE%9E%E6%88%98) 24 | - [Django 面试](#django-%E9%9D%A2%E8%AF%95) 25 | - [数据库](#%E6%95%B0%E6%8D%AE%E5%BA%93) 26 | - [SQL/MySQL](#sqlmysql) 27 | - [Redis](#redis) 28 | - [InfluxDB](#influxdb) 29 | - [GraphQL - Get what the clients wants, no more, no less.](#graphql---get-what-the-clients-wants-no-more-no-less) 30 | - [Git 代码版本管理](#git-%E4%BB%A3%E7%A0%81%E7%89%88%E6%9C%AC%E7%AE%A1%E7%90%86) 31 | - [Linux 命令行 基础](#linux-%E5%91%BD%E4%BB%A4%E8%A1%8C-%E5%9F%BA%E7%A1%80) 32 | - [Docker 基础](#docker-%E5%9F%BA%E7%A1%80) 33 | - [后台/Backend](#%E5%90%8E%E5%8F%B0backend) 34 | - [Nginx](#nginx) 35 | - [ZooKeeper](#zookeeper) 36 | - [Jenkins](#jenkins) 37 | - [Sentry](#sentry) 38 | - [后台/Backend 面试](#%E5%90%8E%E5%8F%B0backend-%E9%9D%A2%E8%AF%95) 39 | - [其他](#%E5%85%B6%E4%BB%96) 40 | - [待分类](#%E5%BE%85%E5%88%86%E7%B1%BB) 41 | 42 | ## Python 43 | 44 | ### Python 基础 45 | 46 | - [Learn python3 in Y minutes](https://learnxinyminutes.com/docs/python3/) :star: 47 | - [Built-in Types](https://docs.python.org/3/library/stdtypes.html) 48 | - [变量/可变-不可变类型/局部-全局变量](https://www.cnblogs.com/guigujun/p/9926446.html) :star: 49 | - [python-sets-are-mutable](https://stackoverflow.com/questions/14193438/are-python-sets-mutable) 50 | - [Python os.getenv() Examples](https://www.programcreek.com/python/example/210/os.getenv) 51 | - [Python 基础:is 和==的区别](https://www.cnblogs.com/lilz/p/9410319.html) 52 | - [python 的星号(\*)和双星号(\*\*)用法](https://www.cnblogs.com/empty16/p/6229538.html) 53 | - [@classmethod and @staticmethod for beginner](https://stackoverflow.com/questions/12179271/meaning-of-classmethod-and-staticmethod-for-beginner) :star: 54 | - [Python's Instance, Class, and Static Methods](https://realpython.com/instance-class-and-static-methods-demystified/) 55 | 56 | ### Python 进阶 57 | 58 | - [Absolute vs Relative Imports in Python](https://realpython.com/absolute-vs-relative-python-imports/) 59 | - [itertools — Functions creating iterators for efficient looping](https://docs.python.org/3/library/itertools.html#module-itertools) :star: 60 | - [enum — Support for enumerations](https://docs.python.org/3/library/enum.html) :star: 61 | 62 | ```python 63 | from enum import Enum 64 | 65 | class Color(Enum): 66 | RED = 1 67 | GREEN = 2 68 | 69 | print(Color(2).name) 70 | print(Color(2).value) 71 | print(Color.GREEN.value) 72 | print(list(Color)) 73 | ``` 74 | 75 | - [python 语法之 装饰器 decorator](https://www.cnblogs.com/yutongzhu/p/5615764.html) :star: :star2: 76 | - [Python decorator](https://chase-seibert.github.io/blog/2013/12/17/python-decorator-optional-parameter.html#) :star: :star2: :heart: 77 | - [Python Decorators - \_\_call\_\_ in class](https://stackoverflow.com/questions/19497771/python-decorators-call-in-class) 78 | - [元类/metaclasses](https://stackoverflow.com/questions/100003/what-are-metaclasses-in-python) :star: :star2: 79 | - [为什么 Python 不支持函数重载](https://www.zhihu.com/question/20053359) 80 | - [Intro to Threads and Processes in Python](https://medium.com/@bfortuner/python-multithreading-vs-multiprocessing-73072ce5600b) 81 | - [improve-your-python-performance](https://www.monitis.com/blog/7-ways-to-improve-your-python-performance/) 82 | - [Awesome Python Repo in Github](https://github.com/vinta/awesome-python) 83 | - [ansii、unicode、utf8 区别和关系](https://www.cnblogs.com/a-xu/p/4448032.html) 84 | - [PyCodeObject 初探](https://blog.csdn.net/jasonblog/article/details/7338840) 85 | - [.pyc 和 PyCodeObject 是什么](https://blog.csdn.net/huanhuanq1209/article/details/79724632) 86 | - [pip commands](https://pip.pypa.io/en/stable/user_guide/) 87 | - [PyPI 使用国内源](https://www.cnblogs.com/sunnydou/p/5801760.html) 88 | - [python-closures 闭包](https://www.geeksforgeeks.org/python-closures/) 89 | - [python 数据结构之哈希表](https://www.cnblogs.com/kumata/p/9157738.html) 90 | - [python 数据结构与算法 29-1 哈希查找](https://www.cnblogs.com/cxchanpin/p/7389133.html) 91 | - [Python 中的垃圾回收机制](http://python.jobbole.com/87843/) 92 | 93 | #### Python - gevent 94 | 95 | - [python 的异步 gevent、async、await](https://www.jianshu.com/p/0a91a446dda8) :star: 96 | - [关于 gevent 的几点思考](https://www.jianshu.com/p/861f29ac68e8) 97 | 98 | #### 进程、线程、协程 99 | 100 | - [进程、线程、协程及 IO 模型](https://www.cnblogs.com/xuyaping/p/6825115.html) :star: 101 | - [python 并发编程之多进程、多线程、异步和协程](https://www.cnblogs.com/tyomcat/p/5486827.html) 102 | 103 | ### Python 实战 104 | 105 | - [solve dictionary changed size during iteration](https://stackoverflow.com/questions/13519644/how-to-solve-dictionary-changed-size-during-iteration-in-python) 106 | - [What does metavar and action mean in argparse in Python?](https://stackoverflow.com/questions/19124304/what-does-metavar-and-action-mean-in-argparse-in-python) 107 | - [Python requests.post 方法中 data 与 json 参数区别](https://www.cnblogs.com/yanlin-10/p/9820694.html) 108 | - [Python requests.post 方法中 data 与 json 参数区别 2](https://www.jianshu.com/p/fae6bd1b2d76) 109 | - [Difference between using requests.get() and requests.session().get()? 110 | ](https://stackoverflow.com/questions/32986228/difference-between-using-requests-get-and-requests-session-get) 111 | - [发布 Python 为可执行文件](https://www.cnblogs.com/mywolrd/p/4756005.html) 112 | - [Python 3.6 Typing Syntax / Type hint](https://medium.com/@ageitgey/learn-how-to-use-static-type-checking-in-python-3-6-in-10-minutes-12c86d72677b) 113 | - [Python 3.6 Typing Syntax / Type hint2](https://stackoverflow.com/questions/38727520/adding-default-parameter-value-with-type-hint-in-python) 114 | - [create-union-of-all-values-contained-in-multiple-lists](https://stackoverflow.com/questions/2151517/pythonic-way-to-create-union-of-all-values-contained-in-multiple-lists) 115 | - [一些改善 Python 程序的建议](https://mp.weixin.qq.com/s/ndfQUAjgLZYX1IUuF3K2QA) 116 | - [Intermediate Python(Book)](http://book.pythontips.com/en/latest/index.html) 117 | - [set a number to NaN or infinity](https://stackoverflow.com/questions/5438745/is-it-possible-to-set-a-number-to-nan-or-infinity) 118 | - [get an environment variable in Python using os.environ](https://www.systutorials.com/241675/how-to-get-an-environment-variable-in-python/) 119 | 120 | ### Python 数据科学 基础 121 | 122 | - [Top 20 Python libraries for data science in 2018](https://medium.com/activewizards-machine-learning-company/top-20-python-libraries-for-data-science-in-2018-2ae7d1db8049) 123 | - [Creating Pandas DataFrames from Lists and Dictionaries](https://pbpython.com/pandas-list-dict.html) :star: 124 | - [Applying Operations Over pandas Dataframes](https://chrisalbon.com/python/data_wrangling/pandas_apply_operations_to_dataframes/) 125 | - [用 matplotlib 绘制柱状图和饼图](http://ningning.today/2015/04/17/python/%E7%94%A8matplotlib%E7%BB%98%E5%88%B6%E6%9F%B1%E7%8A%B6%E5%9B%BE%E5%92%8C%E9%A5%BC%E5%9B%BE/) 126 | - [Seaborn 热图绘制](https://blog.csdn.net/sunchengquan/article/details/78573244) 127 | - [10 个提高工作效率的 Pandas 小技巧](https://mp.weixin.qq.com/s/cH7glwk_YrBJ-48tY-hnFQ) 128 | 129 | ### Python 数据科学 实战 130 | 131 | - [pandas.pivot_table](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.pivot_table.html) 132 | - [Pandas date_range to generate monthly data](https://stackoverflow.com/questions/34915828/pandas-date-range-to-generate-monthly-data-at-beginning-of-the-month) 133 | - [numpy.insert](https://www.tutorialspoint.com/numpy/numpy_insert.htm) 134 | - [Remove rows with duplicate indices](https://stackoverflow.com/questions/13035764/remove-rows-with-duplicate-indices-pandas-dataframe-and-timeseries/34297689#34297689) 135 | 136 | ## Python 面试 137 | 138 | - [Python 面试 from Github](https://github.com/taizilongxu/interview_python) :star: :star2: 139 | - [coding-interview-tips](https://realpython.com/python-coding-interview-tips/) :star: 140 | - [python_interview_question](https://github.com/kenwoodjw/python_interview_question) 141 | - [2018 最常见的 Python 面试题](https://blog.51cto.com/13719825/2172133) 142 | 143 | ## Django web 框架 144 | 145 | ### Django 基础 146 | 147 | - [Object-Relational Mapping (ORM)](https://stackoverflow.com/questions/1279613/what-is-an-orm-and-where-can-i-learn-more-about-it) 148 | - [Django models.py, what's the difference between default, null, and blank?](https://stackoverflow.com/questions/4384098/in-django-models-py-whats-the-difference-between-default-null-and-blank) 149 | - [Django Making queries](https://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects) :star: 150 | - [Django queries - Aggregation](https://docs.djangoproject.com/en/2.2/topics/db/aggregation/) :star: 151 | - [Django Admin 管理工具](http://www.runoob.com/django/django-admin-manage-tool.html) 152 | - [Django 框架全面讲解](https://www.cnblogs.com/LiCheng-/p/6920900.html) :star: :star2: 153 | - [Django 的中间件原理&执行](https://blog.csdn.net/weixin_42181824/article/details/81125406) 154 | - [uWSGI+django+nginx 的工作原理流程与部署历程](https://blog.csdn.net/c465869935/article/details/53242126) :star: 155 | - [Setting up Django and your web server with uWSGI and nginx 官方](https://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html) 156 | - [每个 Model 自动添加上必备 3 字段, create_time/update_time](https://segmentfault.com/q/1010000010700842) :star: 157 | - [Django 的时间字段 DateTimeField](https://www.cnblogs.com/wuxunyan/p/9266888.html) 158 | - [Django--自定义 Command 命令](https://www.cnblogs.com/polly-ling/p/9830060.html) :star: 159 | - [Django Model 规范](https://steelkiwi.com/blog/best-practices-working-django-models-python/) :yellow_heart: :star: 160 | - [Django HttpResponse 与 JsonResponse](https://www.jianshu.com/p/94785f71fdd8) 161 | - [Django URL 常用模式匹配大全](https://www.jianshu.com/p/257fafc217df) 162 | 163 | ### Django 进阶 164 | 165 | - [Custom Django Management Commands](https://simpleisbetterthancomplex.com/tutorial/2018/08/27/how-to-create-custom-django-management-commands.html) :star: :star2: 166 | - [Django 的缓存机制](https://www.cnblogs.com/liuwei0824/p/8520375.html) 167 | - [`related_name` used for in Django?](https://stackoverflow.com/questions/2642613/what-is-related-name-used-for-in-django) 168 | - [XSS 与 CSRF](https://segmentfault.com/a/1190000007059639) 169 | - [Django 之 CSRF](https://segmentfault.com/a/1190000007059639) 170 | - [CSRF 攻击原理&Django 的应用方法](https://blog.csdn.net/u012556900/article/details/57412707) 171 | - [OAuth Authentication in Django with social-auth](https://medium.com/trabe/oauth-authentication-in-django-with-social-auth-c67a002479c1) 172 | - [A Django content management system](https://wagtail.io) 173 | 174 | ### Django 实战 175 | 176 | - [combine 2 or more querysets in a Django view](https://stackoverflow.com/questions/431628/how-to-combine-2-or-more-querysets-in-a-django-view) 177 | - [django 项目之 api 验证部分](https://www.cnblogs.com/ArmoredTitan/p/7639387.html) :star: 178 | - [django 之基于 requests API 验证](https://blog.csdn.net/bbwangj/article/details/86526228) 179 | - [drf-yasg - Yet another Swagger generator](https://github.com/axnsan12/drf-yasg) :star: 180 | - [Django queryset values_list return a list](https://stackoverflow.com/questions/37140426/does-django-queryset-values-list-return-a-list-object) :star: 181 | - [objects.all().aggregate(Max('rating'))](https://stackoverflow.com/questions/844591/how-to-do-select-max-in-django) 182 | - [Django advanced LIKE filtering](https://stackoverflow.com/questions/53087065/django-advanced-like-filtering) 183 | - [Django JSON response error status](https://stackoverflow.com/questions/35059916/django-json-response-error-status) 184 | - [RESTful Error Messages with Django by JsonResponse](https://medium.com/@mwhitt.w/restful-error-messages-with-django-537047892dff) 185 | - [Excluding Basic Authentication In A Single View - Django Rest Framework](https://stackoverflow.com/questions/33539606/excluding-basic-authentication-in-a-single-view-django-rest-framework) 186 | - [Linux + Nginx + Uwsgi + Django 搭建单服务实现多域名访问](https://mp.weixin.qq.com/s/baYuDLhlFsFrBXqGq9pBDA) 187 | - [使用 django-crontab 实现定时任务](https://www.jianshu.com/p/e4a8f173b4b0) 188 | - [Where to store secret keys DJANGO](https://stackoverflow.com/questions/15209978/where-to-store-secret-keys-django#) 189 | 190 | ### Django 面试 191 | 192 | - [Django 的笔试题 2015](http://python.jobbole.com/81871/) 193 | - [Django 的认识,面试题](https://www.cnblogs.com/chongdongxiaoyu/p/9403399.html) 194 | - [Tornado - a Python web framework](http://www.tornadoweb.org/en/stable/) 195 | - [python web 框架比较:Django VS Tornado](http://www.maiziedu.com/article/9990/) 196 | 197 | ## 数据库 198 | 199 | ### SQL/MySQL 200 | 201 | - [SQL 速查表](https://github.com/enochtangg/quick-SQL-cheatsheet/blob/master/README_zh-hans.md) :star: :yellow_heart: 202 | - [Learn SQL in Y minutes](https://learnxinyminutes.com/docs/sql/) 203 | ```sql 204 | SELECT dept_name FROM departments WHERE dept_name LIKE '%en%'; 205 | SELECT * FROM departments WHERE dept_name LIKE 'S____'; 206 | -- with an 'S' and has exactly 4 characters after it. 207 | INSERT INTO tablename1 VALUES('Richard','Mutt'); 208 | SELECT MAX(released) FROM albums; -- COUNT(), SUM(), AVG(), MIN() / MAX() 209 | UPDATE tablename1 SET fname='John' WHERE lname='Mutt'; 210 | ``` 211 | - [sql-cheat-sheet-for-data-scientists](https://data36.com/wp-content/uploads/2018/12/sql-cheat-sheet-for-data-scientists-by-tomi-mester.pdf) 212 | - [MySQL 索引入门简述](https://www.awaimai.com/531.html) :star: 213 | - [MySQL 索引背后的数据结构及算法原理](http://blog.jobbole.com/24006/) 214 | - [SQL--contains 用法](https://blog.csdn.net/gz775/article/details/6822214) 215 | - [Mysql 导出(多张表)表结构及表数据 mysqldump 用法](https://blog.csdn.net/kkk0526/article/details/78281694) 216 | - [OLAP、OLTP 的介绍和比较](https://blog.csdn.net/zhangzheng0413/article/details/8271322/) 217 | 218 | ### Redis 219 | 220 | - [redis 基础.md - 特点/优势/数据类型](https://github.com/ScrappyZhang/python_web_Crawler_DA_ML_DL/blob/master/%E6%95%B0%E6%8D%AE%E5%BA%93%E6%93%8D%E4%BD%9C/redis/redis%E5%9F%BA%E7%A1%80.md) :star: 221 | - [CS-Notes/notes/Redis.md - 一文看懂 Redis](https://github.com/CyC2018/CS-Notes/blob/master/notes/Redis.md) 222 | 223 | ### InfluxDB 224 | 225 | - [influxdb 使用说明](https://www.cnblogs.com/jackyroc/p/7677508.html) 226 | - [时序数据库 InfluxDB 使用详解](https://www.jianshu.com/p/a1344ca86e9b) 227 | - [基于 InfluxDB+Grafana 打造大数据监控利器](https://mp.weixin.qq.com/s/3HW9hOnsZtcdVT15lBmOfQ) 228 | 229 | ### GraphQL - Get what the clients wants, no more, no less. 230 | 231 | - [Django 使用 GraphQL 详解](https://blog.csdn.net/ns2250225/article/details/79348914) 232 | - [Building a GraphQL API with Django](https://stackabuse.com/building-a-graphql-api-with-django/) 233 | 234 | ## Git 代码版本管理 235 | 236 | - [git 常用命令列表](https://www.awaimai.com/179.html) 237 | 238 | ``` 239 | $ git remote add origin git@github.com:yeszao/dofiler.git # 配置远程git版本库 240 | $ git pull origin master # 下载代码及快速合并 241 | $ git push origin master # 上传代码及快速合并 242 | $ git fetch origin # 从远程库获取代码 243 | 244 | $ git add . # 跟踪所有改动过的文件 245 | $ git add # 跟踪指定的文件 246 | 247 | $ git branch # 显示所有分支 248 | $ git checkout master # 切换到 master 分支 249 | $ git checkout -b dev # 创建并切换到dev分支 250 | $ git commit -m "first version" # 提交 251 | 252 | $ git status # 查看状态 253 | $ git log # 查看提交历史 254 | ``` 255 | 256 | - [Git: Delete a branch (local or remote)](https://makandracards.com/makandra/621-git-delete-a-branch-local-or-remote) 257 | 258 | ## Linux 命令行 基础 259 | 260 | - [Linux 常用命令 - 基础](https://note.youdao.com/ynoteshare1/index.html?id=7d073d849ae46be7f44fe31c7eed3fdc&type=note) 261 | - [linux 查找日志技巧](https://www.cnblogs.com/chjbbs/p/5761741.html) 262 | - [Linux:PS 命令详解与使用](https://www.cnblogs.com/wxgblogs/p/6591980.html) 263 | 264 | ```bash 265 | tail -f -n 20 filename # 动态展示 file 最后20行 266 | cat filename | head -n 3000 | tail -n +1000 # 显示 1000 行到 3000 行 267 | cat filename | tail -n +3000 | head -n 1000 # 从第 3000 行开始,显示 1000(即显示 3000~3999 行) 268 | grep Aug /var/log/messages # 在文件 '/var/log/messages'中查找关键词"Aug" 269 | grep ^Aug /var/log/messages # 在文件 '/var/log/messages'中查找以"Aug"开始的词汇 270 | ps aux # 查看系统所有的进程数据 271 | ps ax # 查看不与 terminal 有关的所有进程 272 | ps -aux | grep test # 查找进程名为 test 的进程 273 | kill -9 pid #(-9 表示强制关闭) 274 | pkill 程序的名字 # 杀死进程 275 | ``` 276 | 277 | ## Docker 基础 278 | 279 | - [Stop and remove all docker containers and images](http://blog.baudson.de/blog/stop-and-remove-all-docker-containers-and-images) 280 | 281 | ## 后台/Backend 282 | 283 | ### Nginx 284 | 285 | - [Nginx 相关介绍(Nginx 是什么?能干嘛?)](https://www.cnblogs.com/wcwnina/p/8728391.html) :star: 286 | - [Nginx 安装与部署配置以及 Nginx 和 uWSGI 开机自启](https://www.cnblogs.com/wcwnina/p/8728430.html) 287 | 288 | ### ZooKeeper 289 | 290 | - [ZooKeeper 典型应用场景](https://www.cnblogs.com/linjiqin/p/6063758.html) :star: 291 | - [zookeeper 干啥的](https://blog.csdn.net/u012540337/article/details/51916821) 292 | - [同是 ZooKeeper - 进阶](https://my.oschina.net/u/3981166/blog/2249082) 293 | - [zookeeper 的可视化 web 界面](https://www.cnblogs.com/lenmom/p/9167823.html) 294 | - [kazoo 使用教程 - Python 使用 zookeeper](http://www.likuli.com/archives/746/) 295 | 296 | ### Jenkins 297 | 298 | - [Jenkins 之定时构建](https://blog.csdn.net/zzy1078689276/article/details/77520441) :star: 299 | - [Jenkins 构建触发器(定时构建项目](https://blog.csdn.net/e295166319/article/details/52920036) 300 | 301 | ### Sentry 302 | 303 | - [业务监控工具 Sentry 的搭建与使用](http://www.cnblogs.com/scharfsinnig/p/7467958.html) :yellow_heart: :star2: 304 | - [Sentry - 处理异常日志的正确姿势 也可 email+钉钉通知](https://segmentfault.com/a/1190000014847638) :star2: 305 | 306 | ### 后台/Backend 面试 307 | 308 | - [TCP 和 UDP 的优缺点及区别](https://www.cnblogs.com/xiaomayizoe/p/5258754.html) :star: 309 | - [对分布式事务及两阶段提交、三阶段提交的理解](https://www.cnblogs.com/AndyAo/p/8228099.html) 310 | 311 | ## 其他 312 | 313 | - [PyCharm 常用快捷键和设置方法](https://www.jb51.net/article/131005.htm?utm_medium=referral) 314 | - [后端工程师成长路线图](./_static/backend_developer.jpg) :star: 315 | - [Markdown 简体中文与西文混排要点 - 李笑来](https://github.com/selfteaching/markdown-writing-with-mixed-cn-en) :star: 316 | - [My Favorite Django Packages in 2019](https://vsupalov.com/favorite-django-packages-2019/) 317 | 318 | ## 待分类 319 | 320 | - [基于 OSS 的文件系统设计](https://blog.csdn.net/ifwinds/article/details/66478204) 321 | - [HTTP Session、Cookie 机制详解](https://www.cnblogs.com/lyy-5518/p/5460994.html) 322 | - [跨域的问题](https://segmentfault.com/a/1190000015597029) 323 | -------------------------------------------------------------------------------- /_static/SQL-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiandong79/Python_Developer/fd1628475031d2c94e5bc36acc4d802d4a8e1474/_static/SQL-cheat-sheet.pdf -------------------------------------------------------------------------------- /_static/backend_developer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiandong79/Python_Developer/fd1628475031d2c94e5bc36acc4d802d4a8e1474/_static/backend_developer.jpg -------------------------------------------------------------------------------- /_static/sql-cheat-sheet-for-data-scientists.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiandong79/Python_Developer/fd1628475031d2c94e5bc36acc4d802d4a8e1474/_static/sql-cheat-sheet-for-data-scientists.pdf --------------------------------------------------------------------------------