posts-go/docs/2022-08-10-gitignore.html

108 lines
2.8 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css"
/>
<title>haunt98 posts</title>
</head>
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<body class="markdown-body">
<h2>
<a href="index.html"><code>~</code></a>
</h2>
<h1>
<a
id="user-content-gitignore"
class="anchor"
aria-hidden="true"
tabindex="-1"
href="#gitignore"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>gitignore
</h1>
<p>My quick check for <code>.gitignore</code>.</p>
<h2>
<a
id="user-content-base"
class="anchor"
aria-hidden="true"
tabindex="-1"
href="#base"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Base
</h2>
<div class="highlight highlight-text-adblock">
<pre><span class="pl-c"># macOS</span>
.DS_Store
<span class="pl-c"># Windows</span>
<span class="pl-k">*</span>.exe
<span class="pl-c"># IntelliJ</span>
.idea/
<span class="pl-c"># VSCode</span>
.vscode/</pre>
</div>
<h2>
<a
id="user-content-go"
class="anchor"
aria-hidden="true"
tabindex="-1"
href="#go"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Go
</h2>
<div class="highlight highlight-text-adblock">
<pre><span class="pl-c"># Go</span>
<span class="pl-c"># Test coverage</span>
coverage.out
<span class="pl-c"># Should ignore vendor</span>
vendor</pre>
</div>
<h2>
<a
id="user-content-python"
class="anchor"
aria-hidden="true"
tabindex="-1"
href="#python"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Python
</h2>
<div class="highlight highlight-text-adblock"><pre>venv</pre></div>
<div>
Feel free to ask me via
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>.
<br />Source code is available on
<a href="https://github.com/haunt98/posts-go">GitHub</a>
<a href="https://codeberg.org/yoshie/posts-go">Codeberg</a>
<a href="https://git.sr.ht/~youngyoshie/posts-go">sourcehut</a>
<a href="https://gitea.treehouse.systems/yoshie/posts-go">Treehouse</a>
<a href="https://gitlab.com/youngyoshie/posts-go">GitLab</a>
</div>
</body>
</html>