Skip to content

Commit

Permalink
deploy: 46efbf3
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhattor committed Oct 13, 2023
1 parent 1e8d226 commit 0f9f24a
Show file tree
Hide file tree
Showing 69 changed files with 133 additions and 133 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang=en dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="GitHub Copilot Patterns & Exercises"><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:title" content><meta property="og:description" content="GitHub Copilot Patterns & Exercises"><meta property="og:type" content="article"><meta property="og:url" content="/CONTRIBUTING/"><meta property="article:section" content><meta property="article:modified_time" content="2023-10-13T11:24:09+09:00"><title>Contributing | GitHub Copilot Patterns & Exercises</title><link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=alternate hreflang=ja href=/ja/CONTRIBUTING/ title=Contributing><link rel=stylesheet href=/book.min.8405c9cb7e449878e091f493a635c7a0b8c54141b1c9c7fc7c4e5da78e983056.css><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js></script></head><body dir=ltr><input type=checkbox class="hidden toggle" id=menu-control>
<!doctype html><html lang=en dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="GitHub Copilot Patterns & Exercises"><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:title" content><meta property="og:description" content="GitHub Copilot Patterns & Exercises"><meta property="og:type" content="article"><meta property="og:url" content="/CONTRIBUTING/"><meta property="article:section" content><meta property="article:modified_time" content="2023-10-13T11:25:17+09:00"><title>Contributing | GitHub Copilot Patterns & Exercises</title><link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=alternate hreflang=ja href=/ja/CONTRIBUTING/ title=Contributing><link rel=stylesheet href=/book.min.8405c9cb7e449878e091f493a635c7a0b8c54141b1c9c7fc7c4e5da78e983056.css><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js></script></head><body dir=ltr><input type=checkbox class="hidden toggle" id=menu-control>
<input type=checkbox class="hidden toggle" id=toc-control><main class="container flex"><aside class=book-menu><div class=book-menu-content><nav><h2 class=book-brand><a class="flex align-center" href=/><span>GitHub Copilot Patterns & Exercises</span></a></h2><ul class=book-languages><li><input type=checkbox id=languages class=toggle>
<label for=languages class="flex justify-between"><a role=button class="flex align-center"><img src=/svg/translate.svg class=book-icon alt=Languages>
English</a></label><ul><li><a href=/ja/CONTRIBUTING/>Japanese</a></li></ul></li></ul><div style=margin-bottom:-30px;margin-top:-10px;display:flex><img src=https://i.creativecommons.org/l/by-sa/4.0/88x31.png height=20 style=display:flex;margin-right:6px>
Expand All @@ -17,5 +17,5 @@
<a class=anchor href=#how-to-contact>#</a></h2><p>Please don&rsquo;t hesitate to reach out for assistance in contributing to GitHub Copilot Patterns & Exercises or simply to chat. The most straightforward method to contact us is through Discord.</p><h2 id=licensing-contributions>Licensing Contributions
<a class=anchor href=#licensing-contributions>#</a></h2><p>This repository&rsquo;s content is licensed under CC-BY-SA-4.0. When contributing, you grant us, and everyone else, permission to use your contribution under this license.</p><h2 id=acknowledging-contributions>Acknowledging Contributions
<a class=anchor href=#acknowledging-contributions>#</a></h2><p>If you list yourself as the author of a pattern, we assume that you consent to be mentioned when referencing that pattern.</p><h2 id=code-of-conduct>Code of Conduct
<a class=anchor href=#code-of-conduct>#</a></h2><p>While we don&rsquo;t have a fully formalized code of conduct yet, we expect all contributors to show mutual respect and help maintain a community free of harassment and discrimination.</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/yuhattor/copilot-patterns/commit/d8043f7970c53be0231dea29a3c3c63005d20cc9 title='Last modified by Yuki Hattori | October 13, 2023' target=_blank rel=noopener><img src=/svg/calendar.svg class=book-icon alt=Calendar>
<a class=anchor href=#code-of-conduct>#</a></h2><p>While we don&rsquo;t have a fully formalized code of conduct yet, we expect all contributors to show mutual respect and help maintain a community free of harassment and discrimination.</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/yuhattor/copilot-patterns/commit/46efbf318f9c9c82eb14e0a09f53e24136292e14 title='Last modified by Yuki Hattori | October 13, 2023' target=_blank rel=noopener><img src=/svg/calendar.svg class=book-icon alt=Calendar>
<span>October 13, 2023</span></a></div></div><script>(function(){function e(e){const t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}document.querySelectorAll("pre code").forEach(t=>{t.addEventListener("click",function(){if(window.getSelection().toString())return;e(t.parentElement),navigator.clipboard&&navigator.clipboard.writeText(t.parentElement.textContent)})})})()</script></footer><label for=menu-control class="hidden book-menu-overlay"></label></div><aside class=book-toc><div class=book-toc-content><nav id=TableOfContents><ul><li><a href=#contributing-to-github-copilot-patterns--exercises>Contributing to GitHub Copilot Patterns & Exercises</a><ul><li><a href=#how-to-contribute>How to Contribute</a></li><li><a href=#how-to-contact>How to Contact</a></li><li><a href=#licensing-contributions>Licensing Contributions</a></li><li><a href=#acknowledging-contributions>Acknowledging Contributions</a></li><li><a href=#code-of-conduct>Code of Conduct</a></li></ul></li></ul></nav></div></aside></main></body></html>
4 changes: 2 additions & 2 deletions client-tips/copilot-snippet-handling/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang=en dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="GitHub Copilot uses LLM to generate code. And LLM has a token limitation. You need to know that GitHub Copilot doesn't see all of your code."><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:title" content="Copilot Snippet Handling"><meta property="og:description" content="GitHub Copilot uses LLM to generate code. And LLM has a token limitation. You need to know that GitHub Copilot doesn't see all of your code."><meta property="og:type" content="article"><meta property="og:url" content="/client-tips/copilot-snippet-handling/"><meta property="article:section" content="client-tips"><meta property="article:modified_time" content="2023-10-13T11:24:09+09:00"><title>Copilot Snippet Handling | GitHub Copilot Patterns & Exercises</title><link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=alternate hreflang=ja href=/ja/client-tips/copilot-snippet-handling/ title="Copilot スニペットハンドリング"><link rel=stylesheet href=/book.min.8405c9cb7e449878e091f493a635c7a0b8c54141b1c9c7fc7c4e5da78e983056.css><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js></script></head><body dir=ltr><input type=checkbox class="hidden toggle" id=menu-control>
<!doctype html><html lang=en dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="GitHub Copilot uses LLM to generate code. And LLM has a token limitation. You need to know that GitHub Copilot doesn't see all of your code."><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:title" content="Copilot Snippet Handling"><meta property="og:description" content="GitHub Copilot uses LLM to generate code. And LLM has a token limitation. You need to know that GitHub Copilot doesn't see all of your code."><meta property="og:type" content="article"><meta property="og:url" content="/client-tips/copilot-snippet-handling/"><meta property="article:section" content="client-tips"><meta property="article:modified_time" content="2023-10-13T11:25:17+09:00"><title>Copilot Snippet Handling | GitHub Copilot Patterns & Exercises</title><link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=alternate hreflang=ja href=/ja/client-tips/copilot-snippet-handling/ title="Copilot スニペットハンドリング"><link rel=stylesheet href=/book.min.8405c9cb7e449878e091f493a635c7a0b8c54141b1c9c7fc7c4e5da78e983056.css><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js></script></head><body dir=ltr><input type=checkbox class="hidden toggle" id=menu-control>
<input type=checkbox class="hidden toggle" id=toc-control><main class="container flex"><aside class=book-menu><div class=book-menu-content><nav><h2 class=book-brand><a class="flex align-center" href=/><span>GitHub Copilot Patterns & Exercises</span></a></h2><ul class=book-languages><li><input type=checkbox id=languages class=toggle>
<label for=languages class="flex justify-between"><a role=button class="flex align-center"><img src=/svg/translate.svg class=book-icon alt=Languages>
English</a></label><ul><li><a href=/ja/client-tips/copilot-snippet-handling/>Japanese</a></li></ul></li></ul><div style=margin-bottom:-30px;margin-top:-10px;display:flex><img src=https://i.creativecommons.org/l/by-sa/4.0/88x31.png height=20 style=display:flex;margin-right:6px>
Expand All @@ -18,5 +18,5 @@
</span></span><span style=display:flex><span>answer <span style=color:#f92672>=</span> substruct_numbers(<span style=color:#ae81ff>1</span>, <span style=color:#ae81ff>2</span>) <span style=color:#f92672>+</span> add_numbers( <span style=color:#75715e># &lt;GitHub Copilot will suggest the code by reading the tab 1 &gt;</span>
</span></span></code></pre></div><h3 id=exercise>Exercise
<a class=anchor href=#exercise>#</a></h3><ul><li><strong>Exercise 1</strong>: Experiment with reducing the code context sent to Copilot in a complex project. Observe how this affects the suggestions provided.</li><li><strong>Exercise 2</strong>: Discuss with your team the best practice for commenting based on language efficiency and understanding within the team.</li></ul><h3 id=checklist-for-further-learning>Checklist for Further Learning
<a class=anchor href=#checklist-for-further-learning>#</a></h3><ul><li>What strategies can be employed to provide the necessary context to Copilot without exceeding token limitations?</li><li>How does the choice of language in comments affect collaboration within a diverse team?</li></ul></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/yuhattor/copilot-patterns/commit/d8043f7970c53be0231dea29a3c3c63005d20cc9 title='Last modified by Yuki Hattori | October 13, 2023' target=_blank rel=noopener><img src=/svg/calendar.svg class=book-icon alt=Calendar>
<a class=anchor href=#checklist-for-further-learning>#</a></h3><ul><li>What strategies can be employed to provide the necessary context to Copilot without exceeding token limitations?</li><li>How does the choice of language in comments affect collaboration within a diverse team?</li></ul></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/yuhattor/copilot-patterns/commit/46efbf318f9c9c82eb14e0a09f53e24136292e14 title='Last modified by Yuki Hattori | October 13, 2023' target=_blank rel=noopener><img src=/svg/calendar.svg class=book-icon alt=Calendar>
<span>October 13, 2023</span></a></div></div><script>(function(){function e(e){const t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}document.querySelectorAll("pre code").forEach(t=>{t.addEventListener("click",function(){if(window.getSelection().toString())return;e(t.parentElement),navigator.clipboard&&navigator.clipboard.writeText(t.parentElement.textContent)})})})()</script></footer><label for=menu-control class="hidden book-menu-overlay"></label></div><aside class=book-toc><div class=book-toc-content><nav id=TableOfContents><ul><li><ul><li><a href=#copilot-snippet-handling>Copilot Snippet Handling</a><ul><li><a href=#description>Description</a></li><li><a href=#exercise>Exercise</a></li><li><a href=#checklist-for-further-learning>Checklist for Further Learning</a></li></ul></li></ul></li></ul></nav></div></aside></main></body></html>
Loading

0 comments on commit 0f9f24a

Please sign in to comment.