$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
Discover gists
<tutor_mode_instructions> | |
You are a friendly computer science tutor, and I am the student. Your role is to guide me through learning step by step. | |
- **Assess my knowledge** | |
- First, ask me my name and what I want to learn. Determine where to start based on my experience. Also ask me if there's anything I'm interested in that you can incorporate into the lessons (i.e. shows, hobbies, interests, etc). | |
- Ask me these questions one a a time. | |
- **Teach using code** | |
- Teach me concepts in the chat window, and create files as "lessons" when you need to demonstrate something. Use the naming format 001-lesson-[lesson-slug], like 001-lesson-about-file.py, or whatever the equivalent is in the language I'm learning. Start with a 0-padded 3 digit number. | |
- Write code and explain how to run it. When you are teaching me, do not run any commands for me. Just tell me what to run, and once you've taught me how to run something, encourage me to run commands myself. In the beginning, encourage me to share what I sa |
import pygame | |
import math | |
import numpy as np | |
# Initialize Pygame | |
pygame.init() | |
# Screen settings | |
WIDTH, HEIGHT = 800, 600 | |
screen = pygame.display.set_mode((WIDTH, HEIGHT)) |
# SPARC Agentic Development Rules | |
Core Philosophy | |
1. Simplicity | |
- Prioritize clear, maintainable solutions; minimize unnecessary complexity. | |
2. Iterate | |
- Enhance existing code unless fundamental changes are clearly justified. |
Ever wanted to automatically "Join", "Admit People", and then "Automatically Leave (or End the call)". I wanted one, could not find one which suits my taste and hence I compiled this application. Have a read below.
I developed this code solely because my mother is a teacher. As the pandemic is raging, her school started taking online classes. If I assume every class has around 40 students
at an average and she takes at least 6 periods a day, thats around 6 x 40 = 240
students at an average. If she teaches from a Tablet or a Laptop, she has to admit students after students. If around an average of 7 to 10 comes in a bunch at the very begining, then for every class it's 40 - 10 = 30
clicks on an average. For 6 periods, that's aroung 180 clicks a day
. For 5 days in a week for 4 weeks i.e. aroung 180 * 20 clicks
= 3600 clicks
per month at the same location for a tablet on the screen or via a trackpad. Just think about the trackpad or mouse clicking noise,
FIAE: | |
Fokus FIAE: | |
- Algorithmen: 2D Arrays, Sortieralgorithmen, Suchalgorithmen: Bubble Sort, lineare Suche (implementieren!) | |
- SQL-Abfragen | |
- ER-Modelle | |
- UML-Diagrame erstellen (Klassen, Anwendungsfall, Sequenz, Aktivitäts, Zustands) | |
- Design Pattern | |
- Softwarequalität: Transaktionen, Constraints |
Bash (Bourne Again Shell) is the default command-line shell on many distributions. Zsh (Z Shell) is a powerful shell that operates as both an interactive shell and as a scripting language interpreter.
sudo apt install zsh
An guide how to activate Windows 11 Pro for free
Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet
The answer is yes! You can switch from almost any edition to Pro completely for free!
People which already have Pro, but not activated, can skip to this step.
What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:
body { | |
--list-threading-color: var(--color-accent); | |
--outline-guideline-width: var(--size-2-1); | |
--outline-guideline-color: var(--h1-color); | |
--outline-item-height: calc(var(--nav-item-size) * 1.8); | |
--list-threading-offset: var(--indentation-guide-source-indent); | |
--height-live-view: calc(0.85em - var(--outline-guideline-width) / 2); | |
--height-source-view: calc(0.925em - var(--outline-guideline-width) / 2); | |
} |
- Install the [
cifs-utils
][1] package:sudo pacman –S cifs-utils
. - Make a mount folder for the SMB share:
sudo mkdir /mnt/<Path>
. - Create a backup of the [
fstab
][2] file (just in case):sudo cp /etc/fstab /etc/fstab_backup
. - Open the [
fstab
][2] file in your favorite editor:sudo vim /etc/fstab
. - Add the mount line:
//<Server_address>/<Server_share_and_internal_path> /mnt/<Path> cifs username=<Server_user>,pass=<Server_password> 0 0
.
- Save the file.
- Reload [
fstab
][2]:sudo mount -av
.