{"id":458,"date":"2019-05-11T10:52:15","date_gmt":"2019-05-11T17:52:15","guid":{"rendered":"http:\/\/35.243.195.209\/?page_id=458"},"modified":"2020-03-22T10:37:15","modified_gmt":"2020-03-22T17:37:15","slug":"gitignore-templates","status":"publish","type":"page","link":"https:\/\/nanzhou.cc\/index.php\/snippets\/gitignore-templates\/","title":{"rendered":"Gitignore Templates"},"content":{"rendered":"\n<p>Try not to overkill your repository!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\"># Compiled class file\n*.class\n\n# Log file\n*.log\n\n# BlueJ files\n*.ctxt\n\n# Mobile Tools for Java (J2ME)\n.mtj.tmp\/\n\n# Package Files #\n*.jar\n*.war\n*.nar\n*.ear\n*.zip\n*.tar.gz\n*.rar\n\n# virtual machine crash logs, see http:\/\/www.java.com\/en\/download\/help\/error_hotspot.xml\nhs_err_pid*<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">C++<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\"># Prerequisites\n*.d\n\n# Compiled Object files\n*.slo\n*.lo\n*.o\n*.obj\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n*.dll\n\n# Fortran module files\n*.mod\n*.smod\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n*.lib\n\n# Executables\n*.exe\n*.out\n*.app<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Python<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\"># Byte-compiled \/ optimized \/ DLL files\n__pycache__\/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution \/ packaging\n.Python\nbuild\/\ndevelop-eggs\/\ndist\/\ndownloads\/\neggs\/\n.eggs\/\nlib\/\nlib64\/\nparts\/\nsdist\/\nvar\/\nwheels\/\npip-wheel-metadata\/\nshare\/python-wheels\/\n*.egg-info\/\n.installed.cfg\n*.egg\nMANIFEST\n\n# PyInstaller\n#  Usually these files are written by a python script from a template\n#  before PyInstaller builds the exe, so as to inject date\/other infos into it.\n*.manifest\n*.spec\n\n# Installer logs\npip-log.txt\npip-delete-this-directory.txt\n\n# Unit test \/ coverage reports\nhtmlcov\/\n.tox\/\n.nox\/\n.coverage\n.coverage.*\n.cache\nnosetests.xml\ncoverage.xml\n*.cover\n.hypothesis\/\n.pytest_cache\/\n\n# Translations\n*.mo\n*.pot\n\n# Django stuff:\n*.log\nlocal_settings.py\ndb.sqlite3\n\n# Flask stuff:\ninstance\/\n.webassets-cache\n\n# Scrapy stuff:\n.scrapy\n\n# Sphinx documentation\ndocs\/_build\/\n\n# PyBuilder\ntarget\/\n\n# Jupyter Notebook\n.ipynb_checkpoints\n\n# IPython\nprofile_default\/\nipython_config.py\n\n# pyenv\n.python-version\n\n# pipenv\n#   According to pypa\/pipenv#598, it is recommended to include Pipfile.lock in version control.\n#   However, in case of collaboration, if having platform-specific dependencies or dependencies\n#   having no cross-platform support, pipenv may install dependencies that don't work, or not\n#   install all needed dependencies.\n#Pipfile.lock\n\n# celery beat schedule file\ncelerybeat-schedule\n\n# SageMath parsed files\n*.sage.py\n\n# Environments\n.env\n.venv\nenv\/\nvenv\/\nENV\/\nenv.bak\/\nvenv.bak\/\n\n# Spyder project settings\n.spyderproject\n.spyproject\n\n# Rope project settings\n.ropeproject\n\n# mkdocs documentation\n\/site\n\n# mypy\n.mypy_cache\/\n.dmypy.json\ndmypy.json\n\n# Pyre type checker\n.pyre\/<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Try not to overkill your repository! Java C++ Python<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":452,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-458","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/pages\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":5,"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/pages\/458\/revisions"}],"predecessor-version":[{"id":828,"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/pages\/458\/revisions\/828"}],"up":[{"embeddable":true,"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/pages\/452"}],"wp:attachment":[{"href":"https:\/\/nanzhou.cc\/index.php\/wp-json\/wp\/v2\/media?parent=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}