User:Mukund-pondkule-6a11@uni-paderborn.de
Revision as of 10:22, 21 September 2020 by Mukund-pondkule-6a11@uni-paderborn.de (talk | contribs)
Introduction text here.
Template
| {{{REAL-NAME}}}
|
|---|
THE EVENT FOR HIGH PERFORMANCE COMPUTING, MACHINE LEARNING AND DATA ANALYTICS
| Warning: | bla blub |
| Info: | bla blub |
Warning: no warning in this section
Exercises in Terminal: no exercises in this section
What is your role?
- REDIRECT Template:Note
Quizes
|
|
Select only one correct answer and no incorrect answers.
Example Code:
for(int i=0; i<4; i++){
dosomething();
}
STR="HELLO WORLD!"
echo ${STR,} #=> "hELLO WORLD!" (lowercase 1st letter)
echo ${STR,,} #=> "hello world!" (all lowercase)
STR="hello world!"
echo ${STR^} #=> "Hello world!" (uppercase 1st letter)
echo ${STR^^} #=> "HELLO WORLD!" (all uppercase)
Example Table
| Linux (Debian) | Windows (10) | ||
|---|---|---|---|
| Pros | Cons | Pros | Cons |
| Linux is better | No cons | Looks colourful | will cost money |
| Linux | No cons | windows | slow |
| Linux | No cons | windows down | slow to start with |
| complicated start-up | |||
A sample question to be used for quiz? A. option a B. option b C. option c
| Answer |
B
Explanation -
1. ......
2. ......
|
A sample question to be used for quiz? A. option a B. option b C. option c
Answer
B
Explanation -
1. ......
2. ......
| Description | table to use |
| Date |
<script> async function fetchAndDisplayCourses() { const url = 'https://api.veranstaltungen.hpc-in-deutschland.de/events'; try {
const response = await fetch(url);
if (!response.ok) {
throw new Error(`Failed to fetch courses: ${response.status}`);
}
const events = await response.json(); const today = new Date(); const twoMonthsLater = new Date(); twoMonthsLater.setMonth(today.getMonth() + 2); // Filter upcoming courses within next 2 months
let upcomingCourses = events.filter(event => {
const startDate = new Date(event.startDate || event.date);
return startDate >= today && startDate <= twoMonthsLater;
});
// Sort by start date ascending upcomingCourses.sort((a, b) => new Date(a.startDate || a.date) - new Date(b.startDate || b.date));let html = '
document.getElementById('course-list').innerHTML = html;
} catch (error) {
document.getElementById('course-list').innerText = 'Error loading courses: ' + error.message;
}
} fetchAndDisplayCourses(); </script> |
| File source | HPC.NRW |
| Author | HPC.NRW |
| license-information-permission |
no |
| Other Versions |
no |
Graphs What is your role?