This commit is contained in:
Andrea Bianchi 2025-02-19 11:13:21 +09:00
commit cc75af0c6d
9 changed files with 90189 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{
"name": "ID311",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"customizations": {
"vscode": {
"settings": {
"workbench.colorTheme": "Visual Studio Light",
"workbench.iconTheme": "material-icon-theme",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.snippetSuggestions": "top",
"editor.suggestSelection": "first",
"editor.formatOnSave": true,
"prettier.singleQuote": true,
},
"extensions": [
"esbenp.prettier-vscode",
"PKief.material-icon-theme",
"yzhang.markdown-all-in-one",
"ritwickdey.LiveServer",
"mhutchie.git-graph",
"pranaygp.vscode-css-peek",
"naumovs.color-highlight",
"mechatroner.rainbow-csv",
"svelte.svelte-vscode"
]
},
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo apt update",
// Configure tool-specific properties.
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
.vscode
node_modules/**
.git/**
.DS_Store
todo
*_solution
TODO/**

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Exercises and in-class activities
Exercises for ID311

49
index.html Normal file
View File

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exercises</title>
</head>
<body>
<h1>Week1</h1>
<ul>
<li><a href="w1_types">Types</a></li>
</ul>
<h1>Week2</h1>
<ul>
<li><a href="w2_p5">p5.js</a></li>
<li><a href="w2_arrays">Arrays</a></li>
</ul>
<h1>Week3</h1>
<ul>
<li><a href="w3_functions">Functions</a></li>
<li><a href="w3_turtle">Recursion: Turtle</a></li>
<li><a href="w3_tower">Recursion: Tower of Hanoi</a></li>
</ul>
<h1>Week4</h1>
<ul>
<li><a href="w4_watch">Watch</a></li>
<li><a href="w4_HOF">HOF</a></li>
</ul>
<h1>Week7</h1>
<ul>
<li><a href="w7_lights">Lights</a></li>
<li><a href="w7_cars">Cars</a></li>
</ul>
<h1>Week8</h1>
<ul>
<li><a href="w8_factory/">Factory</a></li>
</ul>
<h1>Week10</h1>
<ul>
<li><a href="w10_files_browser/">Files+browser</a></li>
<li><a href="w10_node/">Node</a></li>
<li><a href="w10_promises/">Promises</a></li>
</ul>
</body>
</html>

27
jsconfig.json Normal file
View File

@ -0,0 +1,27 @@
{
"compilerOptions": {
"checkJs": true,
"target": "es2020",
"module": "es2015"
},
"include": [
"libs/**/*"
],
"exclude": [
"dist",
"node_modules",
"build",
".vscode",
".nuxt",
"coverage",
"jspm_packages",
"tmp",
"temp",
"bower_components",
".npm",
".yarn"
],
"typeAcquisition": {
"enable": true
}
}

3
libs/js/p5.dom.min.js vendored Normal file

File diff suppressed because one or more lines are too long

90025
libs/js/p5.js Normal file

File diff suppressed because one or more lines are too long

28
libs/js/p5.sound.min.js vendored Normal file

File diff suppressed because one or more lines are too long

6
package-lock.json generated Normal file
View File

@ -0,0 +1,6 @@
{
"name": "Exercises",
"lockfileVersion": 2,
"requires": true,
"packages": {}
}