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

124 lines
3.3 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.5.1/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;
font-family:
Shantell Sans Normal,
Rec Mono Casual,
SF Pro,
Inter,
sans-serif;
font-weight: 500;
}
.markdown-body pre {
font-family:
Berkeley Mono,
IBM Plex Mono,
SF Mono,
Jetbrains Mono,
monospace;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<body class="markdown-body">
<h2>
<a href="index.html"><code>~</code></a>
</h2>
<div class="markdown-heading">
<h1 class="heading-element">gitignore</h1>
<a
id="user-content-gitignore"
class="anchor"
aria-label="Permalink: gitignore"
href="#gitignore"
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<p>My quick check for <code>.gitignore</code>.</p>
<div class="markdown-heading">
<h2 class="heading-element">Base</h2>
<a
id="user-content-base"
class="anchor"
aria-label="Permalink: Base"
href="#base"
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<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>
<div class="markdown-heading">
<h2 class="heading-element">Go</h2>
<a
id="user-content-go"
class="anchor"
aria-label="Permalink: Go"
href="#go"
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<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>
<div class="markdown-heading">
<h2 class="heading-element">Python</h2>
<a
id="user-content-python"
class="anchor"
aria-label="Permalink: Python"
href="#python"
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<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>