Author: Friedjof Noweck
*write a comment if you have any questions or suggestions
After this guide you should be able to connect to the Rechnerhalle via SSH without a password or username like this:
ssh tum| """ | |
| EIST 2023 Grading | |
| Versions: | |
| - GOE 1: grade + (1.0 + (.25 * hw_points / 90.0)) | |
| Since: beginning of the first lecture | |
| - GOE 2: grade + (1.0 + (.25 * hw_points / 101.0)) | |
| Since: slack message from 2023-07-22 23:47:27 | |
| - GOE 3: grade + (1.0 + (.35 * hw_points / 101.0)) | |
| Since: since mail from 2023-08-02 14:48 |
| version: '3' | |
| services: | |
| shlink: | |
| container_name: shlink | |
| image: shlinkio/shlink:stable | |
| restart: unless-stopped | |
| environment: | |
| DEFAULT_DOMAIN: shlink.7fi.re | |
| IS_HTTPS_ENABLED: 'false' # Wird ja durch den Proxy Manager gemacht |
| #include <stdbool.h> | |
| #include <stddef.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define PROGRAM_SIZE 8192 | |
| #define LOOP_DEPTH 256 |
| from threading import * | |
| from time import sleep | |
| class States: | |
| loop: bool = False | |
| class Loop(Thread): | |
| def __init__(self, states: States, *args, **kwargs): |
| """ | |
| Cache Simulator - written by Friedjof Noweck | |
| This program simulates a cache with a given associativity, cache line size, and cache size. | |
| You can find an example of how to use this program in the main function at the bottom of this file. | |
| This Example simulates a cache with: | |
| - 2, 4 or 8-way associativity | |
| - cache line size of 8 Bytes | |
| - cache size of 128 Bytes | |
| """ |
| public boolean isEncrypted(byte[] message) { | |
| return message[0] == '&'; | |
| } | |
| public byte[] encrypt(byte[] data) { | |
| if (!isEncrypted(data)) { | |
| return data; | |
| } | |
| byte[] encryptedData = new byte[data.length]; |
| """ | |
| The script Bool Function: | |
| This is a smale python script to generate a truth table for a boolean function. | |
| The function can be defined by the user as a lambda function or by using the predefined functions. | |
| The predefined functions are: AND, OR, XOR, Implikation, Äquivalenz. | |
| The script can also be used to test the predefined functions with the run_tests() method. | |
| Example: | |
| >>> a = Variable() | |
| >>> b = Variable() |