-
Decide on a team name.
-
One member of the team should create the GitHub project space by following this https://classroom.github.com/a/vT9MQ3m_ When prompted, create a new team with the team name. Ensure that the team name format follows this structure:
[Group Number(two digits)]-[Team Name]
. For example:05-demogods
. -
Once the repository is created, other members can join the team via the same link https://classroom.github.com/a/vT9MQ3m_
-
Everyone needs to clone the project to their computer.
-
Don't waste time trying to get the project up and running just yet; focus on the SCRUM assignment first!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() async { | |
var stream = countStream(10); | |
print(stream); | |
stream.listen((value) { | |
print(value); | |
}); | |
print("after stream"); | |
stream = countStream(10); | |
await for (final value in stream) { | |
print(value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
performTasks(); | |
performTasksAsync(); | |
} | |
void performTasks() { | |
String result = ''; | |
Future<String> f; | |
result = task1(); | |
print (result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#003543", | |
"foreground": "#fff", | |
"powerline_symbol": "\ue0b0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob | |
import os | |
import csv | |
from collections import defaultdict | |
# Usage on windows | |
# gh classroom clone student-repos | |
# add classroom_roster.csv | |
# rename root folder and match prefix | |
assignment_prefix = 'vuejs-evaluation-ne-' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template_id = 11 # lookup not working with env.ref('mail.template.Envoi dem. collocation, CV et CC (SRH)').id | |
compose_form_id = env.ref('mail.email_compose_message_wizard_form').id | |
attachment = { | |
'name': str(record.x_studio_cv_filename), | |
'datas': record.x_studio_cv, | |
'res_model': 'mail.compose.message', | |
'type': 'binary' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const W3CWebSocket = require("websocket").w3cwebsocket; // npm install websocket | |
const host = "127.0.0.1"; | |
const port = 8123; | |
const protocol = "ws"; // ws or wss if ssl | |
// long lived access token from profile > Create Token | |
const access_token =""; | |
const entityName = "Energy Consumption"; | |
const entityId = "energy_consumption_kwh"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********* | |
ESP8266 Server + HC-SR04 ultrasound | |
required libraries: | |
- https://github.com/me-no-dev/ESPAsyncTCP | |
- https://github.com/me-no-dev/ESPAsyncWebServer | |
Adapted from | |
Rui Santos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name cyberlearn fix | |
// @namespace ig.he-arc.ch | |
// @match https://cyberlearn.hes-so.ch/* | |
// @grant none | |
// @version 1.0 | |
// @author Boris Fritscher | |
// @description 8/16/2022, 10:49:56 AM | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require('../myfeeds/core.php'); | |
if (!isset($_GET['site']) or !isset($_GET['size'])) { | |
print("site: roundshot subdomain chaumont, neuchatel, lacdeneuchatel, jeunesrives, nyon-tourisme, morgesregion<br>morgesregion folder: ville<br>size: full, half, quarter, oneeighth, thumbnail"); | |
die(); | |
} | |
$site = $_GET['site']; | |
$size = $_GET['size']; | |
$folder = isset($_GET['folder']) ? $_GET['folder'] . '/' : ''; | |
$json = json_decode(file_get_contents("https://$site.roundshot.co/{$folder}structure.json")); |
NewerOlder