Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
feat: add ulimit
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoz committed Jan 14, 2020
1 parent ac3144c commit 1d9599c
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 29 deletions.
14 changes: 9 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"restructuredtext.confPath": "${workspaceFolder}\\docs",
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.lintOnSave": false,
"python.autoComplete.addBrackets": true,
"python.linting.pylintEnabled": false,
"python.linting.pylintArgs": [
Expand All @@ -10,8 +11,11 @@
"--disable=E1101"
],
"python.linting.flake8Enabled": true,
"python.formatting.autopep8Args": ["--ignore=E402", "--max-line-length=200"],
"python.linting.enabled": true,
"python.pythonPath": "D:\\Programs\\Python\\Python37-32\\python.exe",
"python.linting.lintOnSave": false
"python.formatting.autopep8Args": [
"--ignore=E402",
"--ignore=E501",
"--max-line-length=200"
],
"python.pythonPath": "D:\\Programs\\Anaconda3\\envs\\python36\\python.exe",
"editor.fontSize": 22
}
Binary file modified docs/_build/doctrees/authors.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/contributing.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/docker.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/git.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/license.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/linux.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/mysql.doctree
Binary file not shown.
6 changes: 6 additions & 0 deletions docs/_build/html/_sources/linux.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,12 @@ Docker 安装
docker.rst


ulimit
==================

`/etc/security/limits.d/90-nproc.conf`


查看版本
=========

Expand Down
4 changes: 4 additions & 0 deletions docs/_build/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,10 @@ div.code-block-caption + div > div.highlight > pre {
margin-top: 0;
}

div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none;
}

div.code-block-caption span.caption-number {
padding: 0.1em 0.3em;
font-style: italic;
Expand Down
1 change: 1 addition & 0 deletions docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var DOCUMENTATION_OPTIONS = {
VERSION: '1.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ var Search = {
if (results.length) {
var item = results.pop();
var listItem = $('<li style="display:none"></li>');
if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') {
if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') {
// dirhtml builder
var dirname = item[0] + '/';
if (dirname.match(/\/index\/$/)) {
Expand Down Expand Up @@ -424,15 +424,15 @@ var Search = {
for (j = 0; j < _files.length; j++) {
file = _files[j];
if (!(file in scoreMap))
scoreMap[file] = {}
scoreMap[file] = {};
scoreMap[file][word] = o.score;
}
});

// create the mapping
for (j = 0; j < files.length; j++) {
file = files[j];
if (file in fileMap)
if (file in fileMap && fileMap[file].indexOf(word) === -1)
fileMap[file].push(word);
else
fileMap[file] = [word];
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/docker.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
12 changes: 6 additions & 6 deletions docs/_build/html/git.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="License" href="license.html" />
<link rel="next" title="Linux(以CentOS7.2为主)" href="linux.html" />
<link rel="prev" title="作者" href="authors.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
Expand All @@ -26,7 +26,7 @@ <h3>Navigation</h3>
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="license.html" title="License"
<a href="linux.html" title="Linux(以CentOS7.2为主)"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="authors.html" title="作者"
Expand Down Expand Up @@ -179,8 +179,8 @@ <h4>Previous topic</h4>
<p class="topless"><a href="authors.html"
title="previous chapter">作者</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="license.html"
title="next chapter">License</a></p>
<p class="topless"><a href="linux.html"
title="next chapter">Linux(以CentOS7.2为主)</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
Expand Down Expand Up @@ -209,7 +209,7 @@ <h3>Navigation</h3>
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="license.html" title="License"
<a href="linux.html" title="Linux(以CentOS7.2为主)"
>next</a> |</li>
<li class="right" >
<a href="authors.html" title="作者"
Expand All @@ -219,7 +219,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
3 changes: 2 additions & 1 deletion docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ <h1>工作中的技能经验总结<a class="headerlink" href="#id1" title="Perma
<li class="toctree-l2"><a class="reference internal" href="linux.html#hostname">hostname修改</a></li>
<li class="toctree-l2"><a class="reference internal" href="linux.html#python2-7-python3-6">python2.7 与 python3.6 兼容</a></li>
<li class="toctree-l2"><a class="reference internal" href="linux.html#docker">Docker 安装</a></li>
<li class="toctree-l2"><a class="reference internal" href="linux.html#ulimit">ulimit</a></li>
<li class="toctree-l2"><a class="reference internal" href="linux.html#id9">查看版本</a></li>
</ul>
</li>
Expand Down Expand Up @@ -138,7 +139,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
12 changes: 6 additions & 6 deletions docs/_build/html/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Git" href="git.html" />
<link rel="prev" title="Docker" href="docker.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
Expand All @@ -25,7 +25,7 @@ <h3>Navigation</h3>
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="git.html" title="Git"
<a href="docker.html" title="Docker"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">工作中的技能经验总结 1.0 documentation</a> &#187;</li>
</ul>
Expand All @@ -48,8 +48,8 @@ <h1>License<a class="headerlink" href="#license" title="Permalink to this headli
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="git.html"
title="previous chapter">Git</a></p>
<p class="topless"><a href="docker.html"
title="previous chapter">Docker</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
Expand Down Expand Up @@ -78,14 +78,14 @@ <h3>Navigation</h3>
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="git.html" title="Git"
<a href="docker.html" title="Docker"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">工作中的技能经验总结 1.0 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
7 changes: 6 additions & 1 deletion docs/_build/html/linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ <h2>Docker 安装<a class="headerlink" href="#docker" title="Permalink to this h
</ul>
</div>
</div>
<div class="section" id="ulimit">
<h2>ulimit<a class="headerlink" href="#ulimit" title="Permalink to this headline"></a></h2>
<p><cite>/etc/security/limits.d/90-nproc.conf</cite></p>
</div>
<div class="section" id="id9">
<h2>查看版本<a class="headerlink" href="#id9" title="Permalink to this headline"></a></h2>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>uname -a
Expand Down Expand Up @@ -428,6 +432,7 @@ <h3><a href="index.html">Table of Contents</a></h3>
<li><a class="reference internal" href="#hostname">hostname修改</a></li>
<li><a class="reference internal" href="#python2-7-python3-6">python2.7 与 python3.6 兼容</a></li>
<li><a class="reference internal" href="#docker">Docker 安装</a></li>
<li><a class="reference internal" href="#ulimit">ulimit</a></li>
<li><a class="reference internal" href="#id9">查看版本</a></li>
</ul>
</li>
Expand Down Expand Up @@ -477,7 +482,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/mysql.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2019, powered by ekoz.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.2.1.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
</div>
</body>
</html>

0 comments on commit 1d9599c

Please sign in to comment.