|
210 | 210 | <li class="toctree-l2"><a class="reference internal" href="exercises/010-eu-country-quiz.html">010 - EU Country Quiz</a></li> |
211 | 211 | </ul> |
212 | 212 | </details></li> |
| 213 | +<li class="toctree-l1 has-children"><a class="reference internal" href="intermediate_exercises.html">Intermediate Exercises</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 214 | +<li class="toctree-l2"><a class="reference internal" href="exercises/101-ballistic-motion.html">101 - Ballistic Motion</a></li> |
| 215 | +<li class="toctree-l2"><a class="reference internal" href="exercises/102-prime-numbers.html">102 - Prime Numbers</a></li> |
| 216 | +<li class="toctree-l2"><a class="reference internal" href="exercises/103-factorize-an-integer-number.html">103 - Factorize an Integer</a></li> |
| 217 | +<li class="toctree-l2"><a class="reference internal" href="exercises/104-clock-hands.html">104 - Clock Hands</a></li> |
| 218 | +<li class="toctree-l2"><a class="reference internal" href="exercises/105_hangman.html">105 - Hangman</a></li> |
| 219 | +<li class="toctree-l2"><a class="reference internal" href="exercises/106-madhava-leibniz-series.html">106 - Madhava-Leibniz series for <span class="math notranslate nohighlight">\(\pi\)</span></a></li> |
| 220 | +<li class="toctree-l2"><a class="reference internal" href="exercises/107-monte-carlo-calculate-pi.html">107 - Calculate <span class="math notranslate nohighlight">\(\pi\)</span> using Monte Carlo method</a></li> |
| 221 | +<li class="toctree-l2"><a class="reference internal" href="exercises/108-analyze-text.html">108 - Analyze Text</a></li> |
| 222 | +<li class="toctree-l2"><a class="reference internal" href="exercises/109-bouncy-numbers.html">109 - Bouncy Numbers</a></li> |
| 223 | +<li class="toctree-l2"><a class="reference internal" href="exercises/110-tic-tac-toe.html">110 - TIC TAC TOE</a></li> |
| 224 | +<li class="toctree-l2"><a class="reference internal" href="exercises/111-mandelbrot-set.html">111 - Mandelbrot Set</a></li> |
| 225 | +<li class="toctree-l2"><a class="reference internal" href="exercises/112-rockets.html">112 - Rockets</a></li> |
| 226 | +</ul> |
| 227 | +</details></li> |
| 228 | +<li class="toctree-l1 has-children"><a class="reference internal" href="hackathon.html">Hackathon Exercises</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 229 | +<li class="toctree-l2"><a class="reference internal" href="exercises/201-coin-sums.html">201 - Coin Sums</a></li> |
| 230 | +<li class="toctree-l2"><a class="reference internal" href="exercises/202-monte-carlo-death-star-borg.html">202 - Monte Carlo: Death Star and Borg Cube Accident</a></li> |
| 231 | +<li class="toctree-l2"><a class="reference internal" href="exercises/203-world-bank-data.html">203 - World Bank Data</a></li> |
| 232 | +<li class="toctree-l2"><a class="reference internal" href="exercises/204-basic-computer-games.html">204 - Basic Computer Games</a></li> |
| 233 | +<li class="toctree-l2"><a class="reference internal" href="exercises/205-cities-and-countries.html">205 - Simple Maps: World Cities and Countries</a></li> |
| 234 | +<li class="toctree-l2"><a class="reference internal" href="exercises/301-markov-chain-monte-carlo.html">301 Markov Chain Monte Carlo</a></li> |
| 235 | +</ul> |
| 236 | +</details></li> |
213 | 237 | <li class="toctree-l1 current active has-children"><a class="reference internal" href="practical-information.html">Practical Information</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul class="current"> |
214 | 238 | <li class="toctree-l2 current active"><a class="current reference internal" href="#">GitHub Setup</a></li> |
215 | 239 | <li class="toctree-l2"><a class="reference internal" href="991-github-use.html">Using Git and Github</a></li> |
@@ -411,6 +435,7 @@ <h2> Contents </h2> |
411 | 435 | <nav aria-label="Page"> |
412 | 436 | <ul class="visible nav section-nav flex-column"> |
413 | 437 | <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#creation-of-a-repository">Creation of a repository</a></li> |
| 438 | +<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#allowing-command-line-write-access">Allowing command line write access</a></li> |
414 | 439 | </ul> |
415 | 440 | </nav> |
416 | 441 | </div> |
@@ -449,38 +474,37 @@ <h2>Creation of a repository<a class="headerlink" href="#creation-of-a-repositor |
449 | 474 | <li><p>Add the github usernames as directed in the email you were sent. (You are sharing your repository with some of the course instructors.)</p></li> |
450 | 475 | </ul> |
451 | 476 | <p><img alt="GitHub 1" src="_images/github-4.png" /></p> |
452 | | -<!-- |
453 | | -## Allowing command line write access |
454 | | -
|
455 | | - * On your main GitHub page, click on your icon or photo in the upper right hand corner: |
456 | | -
|
457 | | - |
458 | | -
|
459 | | - * Select "Settings": |
460 | | -
|
461 | | - |
462 | | -
|
463 | | - * Select "Developer Seetings" at the very bottom: |
464 | | -
|
465 | | - |
466 | | -
|
467 | | - * Click on "Personal Access Tokens" and it should open additional options. Choose "Fine-grained tokens": |
468 | | -
|
469 | | - |
470 | | -
|
471 | | - * Click on "Generate new token": |
472 | | -
|
473 | | - |
474 | | -
|
475 | | - * On the following page, choose "Only select repositories" and select the repository you just created. At the bottom of the page, choose "Commit statuses" and "Contents" and change both to "Access: Read and Write". Hit "Generate Token" at the bottom. |
476 | | -
|
477 | | - |
478 | | -
|
479 | | - * On the following page you will see the generated token. Copy that somewhere on your laptop as you will need to use it later to clone your repo: |
480 | | -
|
481 | | - |
482 | | -
|
483 | | ---> |
| 477 | +</section> |
| 478 | +<section id="allowing-command-line-write-access"> |
| 479 | +<h2>Allowing command line write access<a class="headerlink" href="#allowing-command-line-write-access" title="Link to this heading">#</a></h2> |
| 480 | +<ul class="simple"> |
| 481 | +<li><p>On your main GitHub page, click on your icon or photo in the upper right hand corner:</p></li> |
| 482 | +</ul> |
| 483 | +<p><img alt="GitHub 1" src="_images/github-5.png" /></p> |
| 484 | +<ul class="simple"> |
| 485 | +<li><p>Select “Settings”:</p></li> |
| 486 | +</ul> |
| 487 | +<p><img alt="GitHub 1" src="_images/github-6.png" /></p> |
| 488 | +<ul class="simple"> |
| 489 | +<li><p>Select “Developer Seetings” at the very bottom:</p></li> |
| 490 | +</ul> |
| 491 | +<p><img alt="GitHub 1" src="_images/github-7.png" /></p> |
| 492 | +<ul class="simple"> |
| 493 | +<li><p>Click on “Personal Access Tokens” and it should open additional options. Choose “Fine-grained tokens”:</p></li> |
| 494 | +</ul> |
| 495 | +<p><img alt="GitHub 1" src="_images/github-8.png" /></p> |
| 496 | +<ul class="simple"> |
| 497 | +<li><p>Click on “Generate new token”:</p></li> |
| 498 | +</ul> |
| 499 | +<p><img alt="GitHub 1" src="_images/github-9.png" /></p> |
| 500 | +<ul class="simple"> |
| 501 | +<li><p>On the following page, choose “Only select repositories” and select the repository you just created. At the bottom of the page, choose “Commit statuses” and “Contents” and change both to “Access: Read and Write”. Hit “Generate Token” at the bottom.</p></li> |
| 502 | +</ul> |
| 503 | +<p><img alt="GitHub 1" src="_images/github-10.png" /></p> |
| 504 | +<ul class="simple"> |
| 505 | +<li><p>On the following page you will see the generated token. Copy that somewhere on your laptop as you will need to use it later to clone your repo:</p></li> |
| 506 | +</ul> |
| 507 | +<p><img alt="GitHub 1" src="_images/github-11.png" /></p> |
484 | 508 | </section> |
485 | 509 | </section> |
486 | 510 |
|
@@ -549,6 +573,7 @@ <h2>Creation of a repository<a class="headerlink" href="#creation-of-a-repositor |
549 | 573 | <nav class="bd-toc-nav page-toc"> |
550 | 574 | <ul class="visible nav section-nav flex-column"> |
551 | 575 | <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#creation-of-a-repository">Creation of a repository</a></li> |
| 576 | +<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#allowing-command-line-write-access">Allowing command line write access</a></li> |
552 | 577 | </ul> |
553 | 578 | </nav></div> |
554 | 579 |
|
|
0 commit comments