Skip to content

Commit b3e2d71

Browse files
committed
Update and reorganize repository content
1 parent 9450bce commit b3e2d71

File tree

394 files changed

+3202
-10700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+3202
-10700
lines changed

README.md

Lines changed: 116 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,62 @@
1-
# GitHub Copilot Hackathon
1+
[Version française disponible plus bas](#version-française)
22

3-
Demo project for running labs to evaluate Copilot viability
3+
# GitHub Copilot Hackathon
44

55
- [Goal](#goal)
66
- [Pre-requisites](#pre-requisites)
7-
- [Work with Github Codespaces](#work-with-github-codespaces)
87
- [Work locally](#work-locally)
9-
- [Instructions](#instructions)
8+
- [Basics Commands](#basics-commands)
9+
- [Challenges](#challenges)
1010

1111
## Goal
1212

13-
The goal of a GitHub Copilot Hackathon is to learn how to use it, using a set of [exercises (labs)](#labs-instructions) that consist of building a web server using Nodejs with different functionalities, a .NET Web API or a Java Rest API (either Spring Boot or Quarkus).
13+
The goal of a GitHub Copilot Hackathon is to learn how to use it through a set of [basics commands](#basics-commands) and [challenges](#challenges).
14+
15+
- Basics Commands
1416

15-
We have also set two exercises for data engineers and data scientists based on python.
17+
These are small exercises focused on using slash commands. They help you get familiar with GitHub Copilot's capabilities. For example, generating tests or adding comments to your code.
1618

17-
For those who are already familiar with GitHub Copilot, we have also defined a series of [challenges](#challenges-instructions) to test your skills. In this case, you will find an introduction and short guidance to help you solve the challenge, but you will have to do most of the work on your own (with the help of Copilot, of course).
19+
- Challenges
20+
21+
These are more advanced examples where you implement one or multiple features. They are designed to test your skills and help you understand how to leverage GitHub Copilot for complex tasks.
1822

1923
GitHub Copilot is an AI-powered code assistant that helps developers write better code faster. It uses machine learning models trained on billions of lines of code to suggest whole lines or entire functions based on the context of what you’re working on. By using Copilot, you can learn how to write better code and improve your productivity.
2024

2125
Remember:
2226

2327
- As you type GitHub Copilot will make suggestions, you can accept them by pressing Tab.
24-
- If nothing shows up after Copilot write some lines, press enter and wait a couple of seconds.
25-
- Press **Ctrl + Enter**, to see more suggestions.
28+
- If nothing shows up after Copilot writes some lines, press enter and wait a couple of seconds.
29+
- Press **Ctrl + Enter** to see more suggestions.
2630
- Use Copilot chat to support your learning and development.
2731
- Press **Ctrl + i** to start Copilot chat inline within your code.
2832

2933
## Pre-requisites
3034

3135
**GitHub Copilot access**
3236

33-
If you still do not have an active Copilot license, a 30 day trial can be requested here: <https://github.com/github-copilot/signup>.
34-
35-
### Work with GitHub Codespaces
36-
37-
Environment is already configured to work with Github Codespaces, you can find the configuration files in the .devcontainer folder.
38-
39-
To start programming just start a new codespace and you are ready to go, don't need to install anything.
37+
Having access to GitHub Copilot is mandatory for this workshop.
4038

4139
### Work locally
4240

43-
**VisualStudio Code**
41+
**Visual Studio Code**
4442

4543
<https://code.visualstudio.com/>
4644

47-
**Install Docker**
48-
49-
<https://docs.docker.com/engine/install/>
50-
5145
**For Nodejs**
5246

5347
- [Install Node and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
5448
- Install mocha:
5549

5650
Run:
5751

58-
``` bash
59-
npm install --global mocha
60-
npm install axios
52+
```bash
53+
npm install --global mocha
54+
npm install axios
6155
```
6256

6357
**For .NET**
6458

65-
[Install .Net](https://dotnet.microsoft.com/download)
59+
[Install .NET](https://dotnet.microsoft.com/download)
6660

6761
**For Java**
6862

@@ -73,13 +67,103 @@ Run:
7367

7468
- [Install Python](https://www.python.org/downloads/)
7569

76-
## Labs instructions
70+
## Basics Commands
71+
72+
- [.NET](dotnet/01-commands)
73+
- [JavaScript](/exercises/js/01-commands)
74+
- [Java](/exercises/java/01-commands)
75+
- [Python](python/01-commands)
76+
- [C++](cpp/01-commands)
77+
78+
## Challenges
79+
80+
- [.NET](dotnet/02-challenges)
81+
- [JavaScript](/exercises/js/02-challenges)
82+
- [Java](/exercises/java/02-challenges)
83+
- [Python](python/02-challenges)
84+
- [C++](cpp/02-challenges)
85+
86+
# Version française
87+
88+
# GitHub Copilot Hackathon
89+
90+
- [Objectif](#objectif)
91+
- [Prérequis](#prérequis)
92+
- [Travailler localement](#travailler-localement)
93+
- [Commandes de base](#commandes-de-base)
94+
- [Défis](#défis)
95+
96+
## Objectif
97+
98+
L'objectif d'un hackathon GitHub Copilot est d'apprendre à l'utiliser à travers un ensemble de [commandes de base](#commandes-de-base) et de [défis](#défis).
99+
100+
- Commandes de base
101+
102+
Ce sont de petits exercices axés sur l'utilisation des commandes slash. Ils vous aident à vous familiariser avec les capacités de GitHub Copilot. Par exemple, générer des tests ou ajouter des commentaires à votre code.
103+
104+
- Défis
105+
106+
Ce sont des exemples plus avancés où vous implémentez une ou plusieurs fonctionnalités. Ils sont conçus pour tester vos compétences et vous aider à comprendre comment tirer parti de GitHub Copilot pour des tâches complexes.
107+
108+
GitHub Copilot est un assistant de code alimenté par l'IA qui aide les développeurs à écrire du meilleur code plus rapidement. Il utilise des modèles d'apprentissage automatique entraînés sur des milliards de lignes de code pour suggérer des lignes entières ou des fonctions complètes en fonction du contexte de ce sur quoi vous travaillez. En utilisant Copilot, vous pouvez apprendre à écrire du meilleur code et améliorer votre productivité.
109+
110+
Rappelez-vous :
111+
112+
- Au fur et à mesure que vous tapez, GitHub Copilot fera des suggestions, vous pouvez les accepter en appuyant sur Tab.
113+
- Si rien n'apparaît après que Copilot ait écrit quelques lignes, appuyez sur Entrée et attendez quelques secondes.
114+
- Appuyez sur **Ctrl + Entrée** pour voir plus de suggestions.
115+
- Utilisez le chat Copilot pour soutenir votre apprentissage et votre développement.
116+
- Appuyez sur **Ctrl + i** pour démarrer le chat Copilot en ligne dans votre code.
117+
118+
## Prérequis
119+
120+
**Accès à GitHub Copilot**
121+
122+
Avoir accès à GitHub Copilot est obligatoire pour cet atelier.
123+
124+
### Travailler localement
125+
126+
**Visual Studio Code**
127+
128+
<https://code.visualstudio.com/>
129+
130+
**Pour Nodejs**
131+
132+
- [Installer Node et npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
133+
- Installer mocha :
134+
135+
Exécutez :
136+
137+
```bash
138+
npm install --global mocha
139+
npm install axios
140+
```
141+
142+
**Pour .NET**
143+
144+
[Installer .NET](https://dotnet.microsoft.com/download)
145+
146+
**Pour Java**
147+
148+
- [Installer Java](https://learn.microsoft.com/en-us/java/openjdk/install)
149+
- [Installer Maven](https://maven.apache.org/install.html)
150+
151+
**Pour Python**
152+
153+
- [Installer Python](https://www.python.org/downloads/)
154+
155+
## Commandes de base
77156

78-
- [.NET](./exercise/dotnet/README.md)
79-
- [Javascript](./exercise/js/README.md)
80-
- [Java](./exercise/java/README.md)
81-
- [Python](./exercise/python/README.md)
157+
- [.NET](dotnet/01-commands)
158+
- [JavaScript](/exercises/js/01-commands)
159+
- [Java](/exercises/java/01-commands)
160+
- [Python](python/01-commands)
161+
- [C++](cpp/01-commands)
82162

83-
## Challenges instructions
163+
## Défis
84164

85-
- [Develop a shop cart](./challenges/shop/README.md)
165+
- [.NET](dotnet/02-challenges)
166+
- [JavaScript](/exercises/js/02-challenges)
167+
- [Java](/exercises/java/02-challenges)
168+
- [Python](python/02-challenges)
169+
- [C++](cpp/02-challenges)

cpp/01-commands/doc/ChallengeInstruction.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)