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

107 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.1.0/github-markdown-dark.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter&family=JetBrains+Mono&display=swap"
rel="stylesheet"
/>
</head>
<style>
/* https://github.com/sindresorhus/github-markdown-css */
.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;
}
}
.markdown-body {
font-family: "Inter", sans-serif;
}
.markdown-body code,
.markdown-body pre {
font-family: "JetBrains Mono", monospace;
}
</style>
<body class="markdown-body">
<div>
<a href="index">Index</a>
</div>
<h1>
<a
id="user-content-gitignore"
class="anchor"
aria-hidden="true"
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" 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" 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"
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>. Source
code is available on
<a href="https://github.com/haunt98/posts-go">GitHub</a>
</div>
</body>
</html>